pom.xml 7.4 KB

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