pom.xml 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182
  1. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  2. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  3. <modelVersion>4.0.0</modelVersion>
  4. <artifactId>adminTool</artifactId>
  5. <version>1.0.317-SNAPSHOT</version>
  6. <parent>
  7. <groupId>edu.kit.ipd.jplag</groupId>
  8. <artifactId>parent</artifactId>
  9. <version>0.3-SNAPSHOT</version>
  10. <relativePath>../jplag.parent/pom.xml</relativePath>
  11. </parent>
  12. <repositories>
  13. <repository>
  14. <id>ipdNexus</id>
  15. <name>Recaa Repository</name>
  16. <url>http://bob.ipd.kit.edu/nexus/content/repositories/public/</url>
  17. </repository>
  18. <repository>
  19. <id>projectLocal</id>
  20. <name>Local Repository</name>
  21. <url>file://${project.basedir}/../maven-libs</url>
  22. </repository>
  23. </repositories>
  24. <properties>
  25. <!-- Properties for keystore generation -->
  26. <webstart.keystore>overwrite_in_settings.xml</webstart.keystore>
  27. <webstart.keypass>overwrite_in_settings.xml</webstart.keypass>
  28. <webstart.storepass>overwrite_in_settins.xml</webstart.storepass>
  29. <webstart.alias>jplag</webstart.alias>
  30. <webstart.keystore.delete>false</webstart.keystore.delete>
  31. <webstart.keystore.gen>false</webstart.keystore.gen>
  32. <jnlpIcon64x64>admintool.icon.ico</jnlpIcon64x64>
  33. <jnlpSplash>admintool.splash.gif</jnlpSplash>
  34. </properties>
  35. <build>
  36. <resources>
  37. <resource>
  38. <directory>src/main/resources</directory>
  39. <filtering>true</filtering>
  40. <includes>
  41. <include>jplagAdminTool/version.properties</include>
  42. </includes>
  43. </resource>
  44. <resource>
  45. <directory>src/main/resources</directory>
  46. <filtering>false</filtering>
  47. <excludes>
  48. <exclude>jplagAdminTool/version.properties</exclude>
  49. </excludes>
  50. </resource>
  51. </resources>
  52. <plugins>
  53. <plugin>
  54. <groupId>org.apache.maven.plugins</groupId>
  55. <artifactId>maven-jar-plugin</artifactId>
  56. <configuration>
  57. <archive>
  58. <manifest>
  59. <mainClass>jplagAdminTool.AdminTool</mainClass>
  60. <packageName>jplagAdminTool</packageName>
  61. </manifest>
  62. </archive>
  63. </configuration>
  64. </plugin>
  65. <plugin>
  66. <artifactId>maven-assembly-plugin</artifactId>
  67. <version>2.4</version>
  68. <configuration>
  69. <descriptorRefs>
  70. <descriptorRef>jar-with-dependencies</descriptorRef>
  71. </descriptorRefs>
  72. <archive>
  73. <manifest>
  74. <mainClass>jplagAdminTool.AdminTool</mainClass>
  75. <packageName>jplagAdminTool</packageName>
  76. </manifest>
  77. </archive>
  78. </configuration>
  79. </plugin>
  80. <plugin>
  81. <groupId>org.codehaus.mojo</groupId>
  82. <artifactId>webstart-maven-plugin</artifactId>
  83. <version>1.0-beta-6</version>
  84. <executions>
  85. <execution>
  86. <phase>process-resources</phase>
  87. <goals>
  88. <goal>jnlp</goal>
  89. </goals>
  90. </execution>
  91. </executions>
  92. <!-- http://mojo.codehaus.org/webstart/webstart-maven-plugin/jnlp-mojos-overview.html -->
  93. <configuration>
  94. <verbose>true</verbose>
  95. <jnlp>
  96. <mainClass>jplagAdminTool.AdminTool</mainClass>
  97. </jnlp>
  98. <codebase>https://jplag.ipd.kit.edu/admintool</codebase>
  99. <j2seVersion>${project.build.target}+</j2seVersion>
  100. <updateManifestEntries>
  101. <Permissions>all-permissions</Permissions>
  102. <Codebase>*</Codebase>
  103. </updateManifestEntries>
  104. <!-- SIGNING -->
  105. <!-- defining this will automatically sign the jar and its dependencies,
  106. if necessary -->
  107. <sign>
  108. <keystore>${webstart.keystore}</keystore>
  109. <storetype>${webstart.storetype}</storetype>
  110. <keypass>${webstart.keypass}</keypass> <!-- we need to override passwords easily from the command line. ${keypass} -->
  111. <storepass>${webstart.storepass}</storepass> <!-- ${storepass} -->
  112. <alias>${webstart.alias}</alias>
  113. <validity>1095</validity>
  114. <!-- only required for generating the keystore -->
  115. <dnameCn>jplag.ipd.kit.edu</dnameCn>
  116. <dnameOu>IPD Tichy</dnameOu>
  117. <dnameO>Karlsruhe Institute of Technology</dnameO>
  118. <dnameL>Karlsruhe</dnameL>
  119. <dnameSt>Baden-Wuerttemberg</dnameSt>
  120. <dnameC>Germany</dnameC>
  121. <!-- verify that the signing operation succeeded -->
  122. <verify>true</verify>
  123. <!-- KEYSTORE MANAGEMENT -->
  124. <keystoreConfig>
  125. <delete>${webstart.keystore.delete}</delete> <!-- delete the keystore -->
  126. <gen>${webstart.keystore.generate}</gen> <!-- optional shortcut to generate the store. -->
  127. </keystoreConfig>
  128. </sign>
  129. </configuration>
  130. </plugin>
  131. </plugins>
  132. </build>
  133. <dependencies>
  134. <dependency>
  135. <groupId>com.sun</groupId>
  136. <artifactId>javaws</artifactId>
  137. <version>1.7.0_40</version>
  138. <optional>true</optional>
  139. <scope>provided</scope>
  140. </dependency>
  141. <dependency>
  142. <groupId>javax.xml</groupId>
  143. <artifactId>jaxrpc-api</artifactId>
  144. </dependency>
  145. <dependency>
  146. <groupId>com.sun.xml.rpc</groupId>
  147. <artifactId>jaxrpc-impl</artifactId>
  148. </dependency>
  149. <dependency>
  150. <groupId>edu.kit.ipd.jplag</groupId>
  151. <artifactId>wsClient</artifactId>
  152. </dependency>
  153. <dependency>
  154. <groupId>edu.kit.ipd.jplag</groupId>
  155. <artifactId>utils</artifactId>
  156. </dependency>
  157. </dependencies>
  158. <description>Tool to change, add or delete user accounts for the JPlag WebService.</description>
  159. <name>JPlag AdminTool</name>
  160. <url>http://www.jplag.de</url>
  161. </project>