pom.xml 9.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230
  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>jplag</artifactId>
  5. <version>2.11.9-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. <resources>
  21. <resource>
  22. <directory>src/main/resources</directory>
  23. <filtering>true</filtering>
  24. <includes>
  25. <include>jplag/version.properties</include>
  26. </includes>
  27. </resource>
  28. <resource>
  29. <directory>src/main/resources</directory>
  30. <filtering>false</filtering>
  31. <excludes>
  32. <exclude>jplag/version.properties</exclude>
  33. </excludes>
  34. </resource>
  35. </resources>
  36. <plugins>
  37. <plugin>
  38. <groupId>org.codehaus.mojo</groupId>
  39. <artifactId>build-helper-maven-plugin</artifactId>
  40. <version>1.7</version>
  41. <executions>
  42. <execution>
  43. <id>add-antlr-source</id>
  44. <phase>generate-sources</phase>
  45. <goals>
  46. <goal>add-source</goal>
  47. </goals>
  48. <configuration>
  49. <sources>
  50. <source>target/generated-sources/antlr</source>
  51. <source>target/generated-sources/javacc</source>
  52. </sources>
  53. </configuration>
  54. </execution>
  55. </executions>
  56. </plugin>
  57. <plugin>
  58. <groupId>org.codehaus.mojo</groupId>
  59. <artifactId>javacc-maven-plugin</artifactId>
  60. <!-- If you need javacc version 3.2 (as did the original jplag) use plugin
  61. version 2.0; plugin version 2.6 uses javacc version 5.0 -->
  62. <version>2.6</version>
  63. <configuration>
  64. <debugParser>false</debugParser>
  65. <isStatic>false</isStatic>
  66. <!-- we need this since the old plugin does not read the package from
  67. the grammar; as of 2.4 the plugin does that on its own <packageName>jplag.filter</packageName> -->
  68. </configuration>
  69. <executions>
  70. <execution>
  71. <id>javacc</id>
  72. <goals>
  73. <goal>javacc</goal>
  74. </goals>
  75. </execution>
  76. </executions>
  77. </plugin>
  78. <plugin>
  79. <artifactId>maven-jar-plugin</artifactId>
  80. <configuration>
  81. <archive>
  82. <manifest>
  83. <mainClass>jplag.JPlag</mainClass>
  84. <packageName>jplag</packageName>
  85. </manifest>
  86. </archive>
  87. </configuration>
  88. </plugin>
  89. <plugin>
  90. <artifactId>maven-assembly-plugin</artifactId>
  91. <version>2.4</version>
  92. <configuration>
  93. <descriptorRefs>
  94. <descriptorRef>jar-with-dependencies</descriptorRef>
  95. </descriptorRefs>
  96. <archive>
  97. <manifest>
  98. <mainClass>jplag.JPlag</mainClass>
  99. <packageName>jplag</packageName>
  100. </manifest>
  101. </archive>
  102. </configuration>
  103. </plugin>
  104. <plugin>
  105. <groupId>com.github.wvengen</groupId>
  106. <artifactId>proguard-maven-plugin</artifactId>
  107. <version>2.0.11</version>
  108. <!-- executions>
  109. <execution>
  110. <phase>package</phase>
  111. <goals>
  112. <goal>proguard</goal>
  113. </goals>
  114. </execution>
  115. </executions-->
  116. <configuration>
  117. <proguardVersion>4.8</proguardVersion>
  118. <options>
  119. <option>-allowaccessmodification</option>
  120. <option>-keep public class * extends java.applet.Applet { *; }</option>
  121. </options>
  122. <libs>
  123. <lib>${java.home}/lib/rt.jar</lib>
  124. </libs>
  125. </configuration>
  126. <dependencies>
  127. <dependency>
  128. <groupId>net.sf.proguard</groupId>
  129. <artifactId>proguard-base</artifactId>
  130. <version>4.9</version>
  131. <scope>runtime</scope>
  132. </dependency>
  133. </dependencies>
  134. </plugin>
  135. </plugins>
  136. <pluginManagement>
  137. <plugins>
  138. <!--This plugin's configuration is used to store Eclipse m2e settings
  139. only. It has no influence on the Maven build itself. -->
  140. <plugin>
  141. <groupId>org.eclipse.m2e</groupId>
  142. <artifactId>lifecycle-mapping</artifactId>
  143. <version>1.0.0</version>
  144. <configuration>
  145. <lifecycleMappingMetadata>
  146. <pluginExecutions>
  147. <pluginExecution>
  148. <pluginExecutionFilter>
  149. <groupId>
  150. org.codehaus.mojo
  151. </groupId>
  152. <artifactId>
  153. javacc-maven-plugin
  154. </artifactId>
  155. <versionRange>
  156. [2.0],[2.6]
  157. </versionRange>
  158. <goals>
  159. <goal>javacc</goal>
  160. </goals>
  161. </pluginExecutionFilter>
  162. <action>
  163. <ignore></ignore>
  164. </action>
  165. </pluginExecution>
  166. </pluginExecutions>
  167. </lifecycleMappingMetadata>
  168. </configuration>
  169. </plugin>
  170. </plugins>
  171. </pluginManagement>
  172. </build>
  173. <dependencies>
  174. <dependency>
  175. <groupId>edu.kit.ipd.jplag</groupId>
  176. <artifactId>frontend-utils</artifactId>
  177. </dependency>
  178. <dependency>
  179. <groupId>edu.kit.ipd.jplag</groupId>
  180. <artifactId>java-1.1exp</artifactId>
  181. </dependency>
  182. <dependency>
  183. <groupId>edu.kit.ipd.jplag</groupId>
  184. <artifactId>utils</artifactId>
  185. </dependency>
  186. <dependency>
  187. <groupId>edu.kit.ipd.jplag</groupId>
  188. <artifactId>text</artifactId>
  189. </dependency>
  190. <dependency>
  191. <groupId>edu.kit.ipd.jplag</groupId>
  192. <artifactId>java-1.5</artifactId>
  193. </dependency>
  194. <dependency>
  195. <groupId>edu.kit.ipd.jplag</groupId>
  196. <artifactId>java-1.7</artifactId>
  197. </dependency>
  198. <dependency>
  199. <groupId>edu.kit.ipd.jplag</groupId>
  200. <artifactId>python-3</artifactId>
  201. </dependency>
  202. <dependency>
  203. <groupId>edu.kit.ipd.jplag</groupId>
  204. <artifactId>csharp-1.2</artifactId>
  205. </dependency>
  206. <dependency>
  207. <groupId>edu.kit.ipd.jplag</groupId>
  208. <artifactId>cpp</artifactId>
  209. </dependency>
  210. <dependency>
  211. <groupId>edu.kit.ipd.jplag</groupId>
  212. <artifactId>scheme</artifactId>
  213. </dependency>
  214. <dependency>
  215. <groupId>edu.kit.ipd.jplag</groupId>
  216. <artifactId>chars</artifactId>
  217. </dependency>
  218. </dependencies>
  219. </project>