pom.xml 2.1 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>text</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/antlr</source>
  15. </sources>
  16. </configuration>
  17. <executions>
  18. <execution>
  19. <id>add-antlr-source</id>
  20. <phase>generate-sources</phase>
  21. <goals>
  22. <goal>add-source</goal>
  23. </goals>
  24. </execution>
  25. </executions>
  26. </plugin>
  27. <plugin>
  28. <groupId>org.codehaus.mojo</groupId>
  29. <artifactId>antlr-maven-plugin</artifactId>
  30. <version>2.2</version>
  31. <configuration>
  32. <!-- Comma separated list of grammar files or pattern grammar files
  33. By default, grammar file(s) is in ${basedir}/src/main/antlr -->
  34. <!-- <grammars>*.g</grammars> -->
  35. <grammars>text.g</grammars>
  36. </configuration>
  37. <executions>
  38. <execution>
  39. <goals>
  40. <goal>generate</goal>
  41. </goals>
  42. </execution>
  43. </executions>
  44. </plugin>
  45. <plugin>
  46. <groupId>org.apache.maven.plugins</groupId>
  47. <artifactId>maven-jar-plugin</artifactId>
  48. <configuration>
  49. <archive>
  50. <manifest>
  51. <mainClass>jplag.text.Parser</mainClass>
  52. <packageName>jplag.text</packageName>
  53. </manifest>
  54. </archive>
  55. </configuration>
  56. </plugin>
  57. </plugins>
  58. </build>
  59. <dependencies>
  60. <dependency>
  61. <groupId>antlr</groupId>
  62. <artifactId>antlr</artifactId>
  63. </dependency>
  64. <dependency>
  65. <groupId>edu.kit.ipd.jplag</groupId>
  66. <artifactId>frontend-utils</artifactId>
  67. </dependency>
  68. </dependencies>
  69. <parent>
  70. <groupId>edu.kit.ipd.jplag</groupId>
  71. <artifactId>parent</artifactId>
  72. <version>0.3-SNAPSHOT</version>
  73. <relativePath>../jplag.parent/pom.xml</relativePath>
  74. </parent>
  75. </project>