pom.xml 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227
  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>de.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>de/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
  52. plugin 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
  58. from 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>de.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>de.jplag.CLI</mainClass>
  90. <packageName>jplag</packageName>
  91. </manifest>
  92. </archive>
  93. </configuration>
  94. <executions>
  95. <execution>
  96. <id>make-assembly</id>
  97. <phase>package</phase>
  98. <goals>
  99. <goal>single</goal>
  100. </goals>
  101. </execution>
  102. </executions>
  103. </plugin>
  104. </plugins>
  105. <pluginManagement>
  106. <plugins>
  107. <!--This plugin's configuration is used to store Eclipse m2e settings
  108. only. It has no influence on the Maven build itself. -->
  109. <plugin>
  110. <groupId>org.eclipse.m2e</groupId>
  111. <artifactId>lifecycle-mapping</artifactId>
  112. <version>1.0.0</version>
  113. <configuration>
  114. <lifecycleMappingMetadata>
  115. <pluginExecutions>
  116. <pluginExecution>
  117. <pluginExecutionFilter>
  118. <groupId>
  119. org.codehaus.mojo
  120. </groupId>
  121. <artifactId>
  122. javacc-maven-plugin
  123. </artifactId>
  124. <versionRange>
  125. [2.0],[2.6]
  126. </versionRange>
  127. <goals>
  128. <goal>javacc</goal>
  129. </goals>
  130. </pluginExecutionFilter>
  131. <action>
  132. <ignore />
  133. </action>
  134. </pluginExecution>
  135. </pluginExecutions>
  136. </lifecycleMappingMetadata>
  137. </configuration>
  138. </plugin>
  139. </plugins>
  140. </pluginManagement>
  141. </build>
  142. <dependencies>
  143. <dependency>
  144. <groupId>net.sourceforge.argparse4j</groupId>
  145. <artifactId>argparse4j</artifactId>
  146. <version>0.9.0</version>
  147. </dependency>
  148. <dependency>
  149. <groupId>de.jplag</groupId>
  150. <artifactId>frontend-utils</artifactId>
  151. </dependency>
  152. <dependency>
  153. <groupId>de.jplag</groupId>
  154. <artifactId>java-1.1exp</artifactId>
  155. </dependency>
  156. <dependency>
  157. <groupId>de.jplag</groupId>
  158. <artifactId>text</artifactId>
  159. </dependency>
  160. <dependency>
  161. <groupId>de.jplag</groupId>
  162. <artifactId>java-1.5</artifactId>
  163. </dependency>
  164. <dependency>
  165. <groupId>de.jplag</groupId>
  166. <artifactId>java-1.7</artifactId>
  167. </dependency>
  168. <dependency>
  169. <groupId>de.jplag</groupId>
  170. <artifactId>java-1.9</artifactId>
  171. </dependency>
  172. <dependency>
  173. <groupId>de.jplag</groupId>
  174. <artifactId>python-3</artifactId>
  175. </dependency>
  176. <dependency>
  177. <groupId>de.jplag</groupId>
  178. <artifactId>csharp-1.2</artifactId>
  179. </dependency>
  180. <dependency>
  181. <groupId>de.jplag</groupId>
  182. <artifactId>cpp</artifactId>
  183. </dependency>
  184. <dependency>
  185. <groupId>de.jplag</groupId>
  186. <artifactId>scheme</artifactId>
  187. </dependency>
  188. <dependency>
  189. <groupId>de.jplag</groupId>
  190. <artifactId>chars</artifactId>
  191. </dependency>
  192. <dependency>
  193. <groupId>com.github.stefanbirkner</groupId>
  194. <artifactId>system-rules</artifactId>
  195. <scope>test</scope>
  196. <version>1.19.0</version>
  197. </dependency>
  198. <dependency>
  199. <groupId>com.fasterxml.jackson.core</groupId>
  200. <artifactId>jackson-databind</artifactId>
  201. <version>2.13.0</version>
  202. </dependency>
  203. </dependencies>
  204. </project>