-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpom.xml
108 lines (106 loc) · 3.19 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.bitplan.pom</groupId>
<artifactId>com.bitplan.pom</artifactId>
<version>0.0.22</version>
<relativePath>../com.bitplan.pom/pom.xml</relativePath>
</parent>
<groupId>com.bitplan.antlr</groupId>
<artifactId>com.bitplan.antlr</artifactId>
<version>0.0.8</version>
<name>com.bitplan.antlr</name>
<description> Library with helpers for ANTLR Language development </description>
<properties>
<!-- to make parent pom work -->
<github.project>com.bitplan.antlr</github.project>
<documentation.wiki>http://www.bitplan.com/index.php/Antlr</documentation.wiki>
<antlr.version>4.7.1</antlr.version>
</properties>
<dependencies>
<!-- antlr runtime + tools -->
<dependency>
<groupId>org.antlr</groupId>
<artifactId>antlr4</artifactId>
<version>${antlr.version}</version>
</dependency>
<!-- JUnit testing -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
</dependency>
<!-- https://mvnrepository.com/artifact/org.hamcrest/hamcrest-all -->
<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-all</artifactId>
</dependency>
<!-- railroad diagrammer https://github.com/bkiers/rrd-antlr4 -->
<dependency>
<groupId>nl.big-o</groupId>
<artifactId>rrd-antlr4</artifactId>
<version>0.1.2</version>
<optional>true</optional> <!-- make this non transitive -->
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>${maven-jar-plugin.version}</version>
<executions>
<execution>
<goals>
<goal>test-jar</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- automate antlr grammar handling -->
<plugin>
<groupId>org.antlr</groupId>
<artifactId>antlr4-maven-plugin</artifactId>
<version>4.7.1</version>
<configuration>
<!-- basically this is the default setting -->
<sourceDirectory>src/main/antlr4</sourceDirectory>
<libDirectory>target/generated-sources/antlr4</libDirectory>
</configuration>
<executions>
<execution>
<id>antlr</id>
<goals>
<goal>antlr4</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- http://stackoverflow.com/questions/1192596/how-do-i-get-eclipse-to-resolve-classes-generated-with-maven-2 -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>1.10</version>
<executions>
<execution>
<id>add-source</id>
<phase>generate-sources</phase>
<goals>
<goal>add-source</goal>
</goals>
<configuration>
<sources>
<source>${basedir}/target/generated-sources/antlr4</source>
</sources>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>