pom.xml 7.5 KB

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