pom.xml 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  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>csharp-1.2</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. <executions>
  14. <execution>
  15. <id>add-antlr-source</id>
  16. <phase>generate-sources</phase>
  17. <goals>
  18. <goal>add-source</goal>
  19. </goals>
  20. <configuration>
  21. <sources>
  22. <source>target/generated-sources/antlr</source>
  23. </sources>
  24. </configuration>
  25. </execution>
  26. </executions>
  27. </plugin>
  28. <plugin>
  29. <groupId>org.codehaus.mojo</groupId>
  30. <artifactId>antlr-maven-plugin</artifactId>
  31. <version>2.1</version>
  32. <configuration>
  33. <!-- Comma separated list of grammar files or pattern grammar files
  34. By default, grammar file(s) is in ${basedir}/src/main/antlr -->
  35. <grammars>csharp.g</grammars>
  36. <!-- <grammars>*.g</grammars> -->
  37. </configuration>
  38. <executions>
  39. <execution>
  40. <goals>
  41. <goal>generate</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.csharp.Parser</mainClass>
  53. <packageName>jplag.csharp</packageName>
  54. </manifest>
  55. </archive>
  56. </configuration>
  57. </plugin>
  58. </plugins>
  59. </build>
  60. <dependencies>
  61. <dependency>
  62. <groupId>antlr</groupId>
  63. <artifactId>antlr</artifactId>
  64. </dependency>
  65. <dependency>
  66. <groupId>de.jplag</groupId>
  67. <artifactId>frontend-utils</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>