pom.xml 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  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>scheme</artifactId>
  6. <version>0.0.1-SNAPSHOT</version>
  7. <build>
  8. <plugins>
  9. <plugin>
  10. <groupId>org.codehaus.mojo</groupId>
  11. <artifactId>build-helper-maven-plugin</artifactId>
  12. <version>3.2.0</version>
  13. <configuration>
  14. <sources>
  15. <source>target/generated-sources/javacc</source>
  16. </sources>
  17. </configuration>
  18. <executions>
  19. <execution>
  20. <id>add-javacc-source</id>
  21. <phase>generate-sources</phase>
  22. <goals>
  23. <goal>add-source</goal>
  24. </goals>
  25. </execution>
  26. </executions>
  27. </plugin>
  28. <plugin>
  29. <groupId>org.codehaus.mojo</groupId>
  30. <artifactId>javacc-maven-plugin</artifactId>
  31. <version>2.6</version>
  32. <configuration>
  33. <grammarEncoding>${project.build.sourceEncoding}</grammarEncoding>
  34. <isStatic>false</isStatic>
  35. <debugparser>false</debugparser>
  36. </configuration>
  37. <executions>
  38. <execution>
  39. <id>javacc</id>
  40. <goals>
  41. <goal>javacc</goal>
  42. </goals>
  43. </execution>
  44. </executions>
  45. <dependencies>
  46. <dependency>
  47. <groupId>net.java.dev.javacc</groupId>
  48. <artifactId>javacc</artifactId>
  49. <version>7.0.10</version>
  50. </dependency>
  51. </dependencies>
  52. </plugin>
  53. <plugin>
  54. <groupId>org.apache.maven.plugins</groupId>
  55. <artifactId>maven-jar-plugin</artifactId>
  56. <configuration>
  57. <archive>
  58. <manifest>
  59. <mainClass>de.jplag.scheme.Parser</mainClass>
  60. <packageName>jplag.scheme</packageName>
  61. </manifest>
  62. </archive>
  63. </configuration>
  64. </plugin>
  65. </plugins>
  66. <pluginManagement>
  67. <plugins>
  68. <!--This plugin's configuration is used to store Eclipse m2e settings
  69. only. It has no influence on the Maven build itself. -->
  70. <plugin>
  71. <groupId>org.eclipse.m2e</groupId>
  72. <artifactId>lifecycle-mapping</artifactId>
  73. <version>1.0.0</version>
  74. <configuration>
  75. <lifecycleMappingMetadata>
  76. <pluginExecutions>
  77. <pluginExecution>
  78. <pluginExecutionFilter>
  79. <groupId>
  80. org.codehaus.mojo
  81. </groupId>
  82. <artifactId>
  83. javacc-maven-plugin
  84. </artifactId>
  85. <versionRange>
  86. [2.6]
  87. </versionRange>
  88. <goals>
  89. <goal>javacc</goal>
  90. </goals>
  91. </pluginExecutionFilter>
  92. <action>
  93. <ignore></ignore>
  94. </action>
  95. </pluginExecution>
  96. </pluginExecutions>
  97. </lifecycleMappingMetadata>
  98. </configuration>
  99. </plugin>
  100. </plugins>
  101. </pluginManagement>
  102. </build>
  103. <dependencies>
  104. <dependency>
  105. <groupId>de.jplag</groupId>
  106. <artifactId>frontend-utils</artifactId>
  107. </dependency>
  108. </dependencies>
  109. <parent>
  110. <groupId>de.jplag</groupId>
  111. <artifactId>parent</artifactId>
  112. <version>0.3-SNAPSHOT</version>
  113. <relativePath>../jplag.parent/pom.xml</relativePath>
  114. </parent>
  115. </project>