pom.xml 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166
  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>wsClient</artifactId>
  5. <version>0.3-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. </repositories>
  19. <build>
  20. <plugins>
  21. <plugin>
  22. <groupId>org.codehaus.mojo</groupId>
  23. <artifactId>build-helper-maven-plugin</artifactId>
  24. <version>1.7</version>
  25. <executions>
  26. <execution>
  27. <id>add-wscompile-source</id>
  28. <phase>generate-sources</phase>
  29. <goals>
  30. <goal>add-source</goal>
  31. </goals>
  32. <configuration>
  33. <sources>
  34. <source>target/generated-sources/wscompile</source>
  35. </sources>
  36. </configuration>
  37. </execution>
  38. </executions>
  39. </plugin>
  40. <plugin>
  41. <artifactId>maven-antrun-plugin</artifactId>
  42. <version>1.7</version>
  43. <executions>
  44. <execution>
  45. <phase>generate-sources</phase>
  46. <configuration>
  47. <target>
  48. <mkdir dir="${basedir}/target" />
  49. <javac destdir="${basedir}/target" srcdir="${basedir}/src/main/java/"
  50. includes="jplagWsClient/util/JPlagClientAccessHandler.java"
  51. debug="true" fork="true">
  52. <classpath>
  53. <path refid="maven.compile.classpath" />
  54. </classpath>
  55. </javac>
  56. <!-- Deactivated by lama: I don't understand what this is used for
  57. - I also removed the class and the ant-dependency <taskdef name="wscompile"
  58. classname="jplagWsClient.util.wscompileSSLLauncher"> -->
  59. <taskdef name="wscompile" classname="com.sun.xml.rpc.tools.ant.Wscompile">
  60. <classpath refid="maven.compile.classpath" />
  61. </taskdef>
  62. <mkdir dir="${basedir}/target/generated-sources/wscompile" />
  63. <wscompile base="${basedir}/target" features="wsi"
  64. config="${basedir}/config-client.xml" xPrintStackTrace="true"
  65. keep="true" sourcebase="${basedir}/target/generated-sources/wscompile"
  66. client="true" verbose="true" fork="true">
  67. <classpath>
  68. <path refid="maven.compile.classpath" />
  69. <pathelement path="${basedir}/target" />
  70. <pathelement location="${java.home}/../lib/tools.jar" />
  71. </classpath>
  72. </wscompile>
  73. </target>
  74. </configuration>
  75. <goals>
  76. <goal>run</goal>
  77. </goals>
  78. </execution>
  79. </executions>
  80. </plugin>
  81. <plugin>
  82. <groupId>org.apache.maven.plugins</groupId>
  83. <artifactId>maven-jar-plugin</artifactId>
  84. <configuration>
  85. <archive>
  86. <manifest>
  87. <mainClass>swingClient.JplagSwingClient</mainClass>
  88. <packageName>swingClient</packageName>
  89. </manifest>
  90. </archive>
  91. </configuration>
  92. </plugin>
  93. </plugins>
  94. <pluginManagement>
  95. <plugins>
  96. <!--This plugin's configuration is used to store Eclipse m2e settings
  97. only. It has no influence on the Maven build itself. -->
  98. <plugin>
  99. <groupId>org.eclipse.m2e</groupId>
  100. <artifactId>lifecycle-mapping</artifactId>
  101. <version>1.0.0</version>
  102. <configuration>
  103. <lifecycleMappingMetadata>
  104. <pluginExecutions>
  105. <pluginExecution>
  106. <pluginExecutionFilter>
  107. <groupId>
  108. org.apache.maven.plugins
  109. </groupId>
  110. <artifactId>
  111. maven-antrun-plugin
  112. </artifactId>
  113. <versionRange>
  114. [1.7,)
  115. </versionRange>
  116. <goals>
  117. <goal>run</goal>
  118. </goals>
  119. </pluginExecutionFilter>
  120. <action>
  121. <ignore></ignore>
  122. </action>
  123. </pluginExecution>
  124. </pluginExecutions>
  125. </lifecycleMappingMetadata>
  126. </configuration>
  127. </plugin>
  128. </plugins>
  129. </pluginManagement>
  130. </build>
  131. <dependencies>
  132. <dependency>
  133. <groupId>com.sun.xml.messaging.saaj</groupId>
  134. <artifactId>saaj-impl</artifactId>
  135. </dependency>
  136. <dependency>
  137. <groupId>javax.mail</groupId>
  138. <artifactId>mail</artifactId>
  139. </dependency>
  140. <dependency>
  141. <groupId>com.sun.xml.rpc</groupId>
  142. <artifactId>jaxrpc-impl</artifactId>
  143. </dependency>
  144. <dependency>
  145. <groupId>javax.xml</groupId>
  146. <artifactId>jaxrpc-api</artifactId>
  147. </dependency>
  148. <dependency>
  149. <groupId>com.sun.xml.rpc</groupId>
  150. <artifactId>jaxrpc-spi</artifactId>
  151. </dependency>
  152. </dependencies>
  153. </project>