pom.xml 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  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>python-3</artifactId>
  5. <version>0.0.1-SNAPSHOT</version>
  6. <build>
  7. <plugins>
  8. <plugin>
  9. <groupId>org.codehaus.mojo</groupId>
  10. <artifactId>build-helper-maven-plugin</artifactId>
  11. <version>3.2.0</version>
  12. <configuration>
  13. <sources>
  14. <source>target/generated-sources/antlr4</source>
  15. </sources>
  16. </configuration>
  17. <executions>
  18. <execution>
  19. <id>generate-antlr-sources</id>
  20. <phase>generate-sources</phase>
  21. <goals>
  22. <goal>add-source</goal>
  23. </goals>
  24. </execution>
  25. <execution>
  26. <id>compile-with-antlr-sources</id>
  27. <phase>compile</phase>
  28. <goals>
  29. <goal>add-source</goal>
  30. </goals>
  31. </execution>
  32. </executions>
  33. </plugin>
  34. <plugin>
  35. <groupId>org.antlr</groupId>
  36. <artifactId>antlr4-maven-plugin</artifactId>
  37. <version>4.2</version>
  38. <executions>
  39. <execution>
  40. <goals>
  41. <goal>antlr4</goal>
  42. </goals>
  43. </execution>
  44. </executions>
  45. </plugin>
  46. <plugin>
  47. <groupId>org.apache.maven.plugins</groupId>
  48. <artifactId>maven-jar-plugin</artifactId>
  49. <configuration>
  50. <archive>
  51. <manifest>
  52. <mainClass>de.jplag.python3.Parser</mainClass>
  53. <packageName>jplag.python3</packageName>
  54. </manifest>
  55. </archive>
  56. </configuration>
  57. </plugin>
  58. </plugins>
  59. </build>
  60. <dependencies>
  61. <dependency>
  62. <groupId>de.jplag</groupId>
  63. <artifactId>frontend-utils</artifactId>
  64. </dependency>
  65. <dependency>
  66. <groupId>org.antlr</groupId>
  67. <artifactId>antlr4-runtime</artifactId>
  68. </dependency>
  69. </dependencies>
  70. <parent>
  71. <groupId>de.jplag</groupId>
  72. <artifactId>parent</artifactId>
  73. <version>0.3-SNAPSHOT</version>
  74. <relativePath>../jplag.parent/pom.xml</relativePath>
  75. </parent>
  76. </project>