pom.xml 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  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>java-1.7</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. <configuration>
  39. <!-- Comma separated list of grammar files or pattern grammar files
  40. By default, grammar file(s) is in ${basedir}/src/main/antlr -->
  41. <!-- <grammars>*.g</grammars> -->
  42. <grammars>Java7.g4</grammars>
  43. </configuration>
  44. <executions>
  45. <execution>
  46. <goals>
  47. <goal>antlr4</goal>
  48. </goals>
  49. </execution>
  50. </executions>
  51. </plugin>
  52. <plugin>
  53. <groupId>org.apache.maven.plugins</groupId>
  54. <artifactId>maven-jar-plugin</artifactId>
  55. <configuration>
  56. <archive>
  57. <manifest>
  58. <mainClass>jplag.java17.Parser</mainClass>
  59. <packageName>jplag.java17</packageName>
  60. </manifest>
  61. </archive>
  62. </configuration>
  63. </plugin>
  64. </plugins>
  65. </build>
  66. <dependencies>
  67. <dependency>
  68. <groupId>edu.kit.ipd.jplag</groupId>
  69. <artifactId>frontend-utils</artifactId>
  70. </dependency>
  71. <dependency>
  72. <groupId>org.antlr</groupId>
  73. <artifactId>antlr4-runtime</artifactId>
  74. </dependency>
  75. <dependency>
  76. <groupId>edu.kit.ipd.jplag</groupId>
  77. <artifactId>java-1.5</artifactId>
  78. <scope>test</scope>
  79. </dependency>
  80. </dependencies>
  81. <parent>
  82. <groupId>edu.kit.ipd.jplag</groupId>
  83. <artifactId>parent</artifactId>
  84. <version>0.3-SNAPSHOT</version>
  85. <relativePath>../jplag.parent/pom.xml</relativePath>
  86. </parent>
  87. </project>