pom.xml 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  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>csharp-1.2</artifactId>
  5. <version>0.0.1-SNAPSHOT</version>
  6. <repositories>
  7. <repository>
  8. <id>ipdNexus</id>
  9. <name>Recaa Repository</name>
  10. <url>http://bob.ipd.kit.edu/nexus/content/repositories/public/</url>
  11. </repository>
  12. </repositories>
  13. <build>
  14. <plugins>
  15. <plugin>
  16. <groupId>org.codehaus.mojo</groupId>
  17. <artifactId>build-helper-maven-plugin</artifactId>
  18. <version>1.7</version>
  19. <executions>
  20. <execution>
  21. <id>add-antlr-source</id>
  22. <phase>generate-sources</phase>
  23. <goals>
  24. <goal>add-source</goal>
  25. </goals>
  26. <configuration>
  27. <sources>
  28. <source>target/generated-sources/antlr</source>
  29. </sources>
  30. </configuration>
  31. </execution>
  32. </executions>
  33. </plugin>
  34. <plugin>
  35. <groupId>org.codehaus.mojo</groupId>
  36. <artifactId>antlr-maven-plugin</artifactId>
  37. <version>2.1</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>csharp.g</grammars>
  42. <!-- <grammars>*.g</grammars> -->
  43. </configuration>
  44. <executions>
  45. <execution>
  46. <goals>
  47. <goal>generate</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.csharp.Parser</mainClass>
  59. <packageName>jplag.csharp</packageName>
  60. </manifest>
  61. </archive>
  62. </configuration>
  63. </plugin>
  64. </plugins>
  65. </build>
  66. <dependencies>
  67. <dependency>
  68. <groupId>antlr</groupId>
  69. <artifactId>antlr</artifactId>
  70. </dependency>
  71. <dependency>
  72. <groupId>edu.kit.ipd.jplag</groupId>
  73. <artifactId>frontend-utils</artifactId>
  74. </dependency>
  75. </dependencies>
  76. <parent>
  77. <groupId>edu.kit.ipd.jplag</groupId>
  78. <artifactId>parent</artifactId>
  79. <version>0.3-SNAPSHOT</version>
  80. <relativePath>../jplag.parent/pom.xml</relativePath>
  81. </parent>
  82. </project>