pom.xml 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211
  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. <build>
  14. <resources>
  15. <resource>
  16. <directory>src/main/resources</directory>
  17. <filtering>true</filtering>
  18. </resource>
  19. <resource>
  20. <directory>src/main/resources</directory>
  21. <filtering>false</filtering>
  22. <excludes>
  23. <exclude>jplag/version.properties</exclude>
  24. </excludes>
  25. </resource>
  26. </resources>
  27. <plugins>
  28. <plugin>
  29. <groupId>org.codehaus.mojo</groupId>
  30. <artifactId>build-helper-maven-plugin</artifactId>
  31. <version>3.2.0</version>
  32. <executions>
  33. <execution>
  34. <id>add-antlr-source</id>
  35. <phase>generate-sources</phase>
  36. <goals>
  37. <goal>add-source</goal>
  38. </goals>
  39. <configuration>
  40. <sources>
  41. <source>target/generated-sources/antlr</source>
  42. <source>target/generated-sources/javacc</source>
  43. </sources>
  44. </configuration>
  45. </execution>
  46. </executions>
  47. </plugin>
  48. <plugin>
  49. <groupId>org.codehaus.mojo</groupId>
  50. <artifactId>javacc-maven-plugin</artifactId>
  51. <!-- If you need javacc version 3.2 (as did the original jplag) use plugin
  52. version 2.0; plugin version 2.6 uses javacc version 5.0 -->
  53. <version>2.6</version>
  54. <configuration>
  55. <debugParser>false</debugParser>
  56. <isStatic>false</isStatic>
  57. <!-- we need this since the old plugin does not read the package from
  58. the grammar; as of 2.4 the plugin does that on its own <packageName>jplag.filter</packageName> -->
  59. </configuration>
  60. <executions>
  61. <execution>
  62. <id>javacc</id>
  63. <goals>
  64. <goal>javacc</goal>
  65. </goals>
  66. </execution>
  67. </executions>
  68. </plugin>
  69. <plugin>
  70. <artifactId>maven-jar-plugin</artifactId>
  71. <configuration>
  72. <archive>
  73. <manifest>
  74. <mainClass>jplag.CLI</mainClass>
  75. <packageName>jplag</packageName>
  76. </manifest>
  77. </archive>
  78. </configuration>
  79. </plugin>
  80. <plugin>
  81. <artifactId>maven-assembly-plugin</artifactId>
  82. <version>3.3.0</version>
  83. <configuration>
  84. <descriptorRefs>
  85. <descriptorRef>jar-with-dependencies</descriptorRef>
  86. </descriptorRefs>
  87. <archive>
  88. <manifest>
  89. <mainClass>jplag.CLI</mainClass>
  90. <packageName>jplag</packageName>
  91. </manifest>
  92. </archive>
  93. </configuration>
  94. </plugin>
  95. </plugins>
  96. <pluginManagement>
  97. <plugins>
  98. <!--This plugin's configuration is used to store Eclipse m2e settings
  99. only. It has no influence on the Maven build itself. -->
  100. <plugin>
  101. <groupId>org.eclipse.m2e</groupId>
  102. <artifactId>lifecycle-mapping</artifactId>
  103. <version>1.0.0</version>
  104. <configuration>
  105. <lifecycleMappingMetadata>
  106. <pluginExecutions>
  107. <pluginExecution>
  108. <pluginExecutionFilter>
  109. <groupId>
  110. org.codehaus.mojo
  111. </groupId>
  112. <artifactId>
  113. javacc-maven-plugin
  114. </artifactId>
  115. <versionRange>
  116. [2.0],[2.6]
  117. </versionRange>
  118. <goals>
  119. <goal>javacc</goal>
  120. </goals>
  121. </pluginExecutionFilter>
  122. <action>
  123. <ignore/>
  124. </action>
  125. </pluginExecution>
  126. </pluginExecutions>
  127. </lifecycleMappingMetadata>
  128. </configuration>
  129. </plugin>
  130. </plugins>
  131. </pluginManagement>
  132. </build>
  133. <dependencies>
  134. <dependency>
  135. <groupId>net.sourceforge.argparse4j</groupId>
  136. <artifactId>argparse4j</artifactId>
  137. <version>0.9.0</version>
  138. </dependency>
  139. <dependency>
  140. <groupId>edu.kit.ipd.jplag</groupId>
  141. <artifactId>frontend-utils</artifactId>
  142. </dependency>
  143. <dependency>
  144. <groupId>edu.kit.ipd.jplag</groupId>
  145. <artifactId>java-1.1exp</artifactId>
  146. </dependency>
  147. <dependency>
  148. <groupId>edu.kit.ipd.jplag</groupId>
  149. <artifactId>utils</artifactId>
  150. </dependency>
  151. <dependency>
  152. <groupId>edu.kit.ipd.jplag</groupId>
  153. <artifactId>text</artifactId>
  154. </dependency>
  155. <dependency>
  156. <groupId>edu.kit.ipd.jplag</groupId>
  157. <artifactId>java-1.5</artifactId>
  158. </dependency>
  159. <dependency>
  160. <groupId>edu.kit.ipd.jplag</groupId>
  161. <artifactId>java-1.7</artifactId>
  162. </dependency>
  163. <dependency>
  164. <groupId>edu.kit.ipd.jplag</groupId>
  165. <artifactId>java-1.9</artifactId>
  166. </dependency>
  167. <dependency>
  168. <groupId>edu.kit.ipd.jplag</groupId>
  169. <artifactId>python-3</artifactId>
  170. </dependency>
  171. <dependency>
  172. <groupId>edu.kit.ipd.jplag</groupId>
  173. <artifactId>csharp-1.2</artifactId>
  174. </dependency>
  175. <dependency>
  176. <groupId>edu.kit.ipd.jplag</groupId>
  177. <artifactId>cpp</artifactId>
  178. </dependency>
  179. <dependency>
  180. <groupId>edu.kit.ipd.jplag</groupId>
  181. <artifactId>scheme</artifactId>
  182. </dependency>
  183. <dependency>
  184. <groupId>edu.kit.ipd.jplag</groupId>
  185. <artifactId>chars</artifactId>
  186. </dependency>
  187. </dependencies>
  188. </project>