pom.xml 4.6 KB

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