1 | <?xml version="1.0" encoding="utf-8"?> |
---|
2 | <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"> |
---|
3 | <modelVersion>4.0.0</modelVersion> |
---|
4 | <groupId>eu.clarin.sru.fcs</groupId> |
---|
5 | <artifactId>fcs-ql</artifactId> |
---|
6 | <version>0.1-SNAPSHOT</version> |
---|
7 | <packaging>pom</packaging> |
---|
8 | <name>fcs-ql</name> |
---|
9 | <properties> |
---|
10 | <antlr.version>4.5.1-1</antlr.version> |
---|
11 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
---|
12 | <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
---|
13 | </properties> |
---|
14 | <description>FCS Core 2.0 Query Language grammar parser.</description> |
---|
15 | <organization> |
---|
16 | <name>CLARIN ERIC</name> |
---|
17 | <url>http://clarin.eu/</url> |
---|
18 | </organization> |
---|
19 | <licenses> |
---|
20 | <license> |
---|
21 | <name>GNU General Public License</name> |
---|
22 | <url>http://www.gnu.org/licenses/gpl.txt</url> |
---|
23 | <distribution>repo</distribution> |
---|
24 | </license> |
---|
25 | </licenses> |
---|
26 | <scm> |
---|
27 | <connection>scm:svn:https://svn.clarin.eu/browser/FCS-QL</connection> |
---|
28 | <developerConnection>scm:svn:https://svn.clarin.eu/FCS-QL</developerConnection> |
---|
29 | <url>https://svn.clarin.eu/FCS-QL</url> |
---|
30 | </scm> |
---|
31 | <developers> |
---|
32 | <developer> |
---|
33 | <id>ljo</id> |
---|
34 | <name>Leif-Jöran Olsson</name> |
---|
35 | <organization>Språkbanken</organization> |
---|
36 | <url>http://spraakbanken.gu.se/</url> |
---|
37 | </developer> |
---|
38 | </developers> |
---|
39 | <dependencies> |
---|
40 | <!--dependency> |
---|
41 | <groupId>org.antlr</groupId> |
---|
42 | <artifactId>antlr4-runtime</artifactId> |
---|
43 | <version>${antlr.version}</version> |
---|
44 | <type>jar</type> |
---|
45 | <scope>compile</scope> |
---|
46 | </dependency--> |
---|
47 | <dependency> |
---|
48 | <groupId>junit</groupId> |
---|
49 | <artifactId>junit</artifactId> |
---|
50 | <version>4.8.1</version> |
---|
51 | <scope>test</scope> |
---|
52 | </dependency> |
---|
53 | <dependency> |
---|
54 | <groupId>org.antlr</groupId> |
---|
55 | <artifactId>antlr4</artifactId> |
---|
56 | <version>${antlr.version}</version> |
---|
57 | </dependency> |
---|
58 | <dependency> |
---|
59 | <groupId>org.apache.maven.plugin-testing</groupId> |
---|
60 | <artifactId>maven-plugin-testing-harness</artifactId> |
---|
61 | <version>3.3.0</version> |
---|
62 | <scope>test</scope> |
---|
63 | </dependency> |
---|
64 | </dependencies> |
---|
65 | <build> |
---|
66 | <plugins> |
---|
67 | <plugin> |
---|
68 | <artifactId>maven-jar-plugin</artifactId> |
---|
69 | <version>2.4</version> |
---|
70 | </plugin> |
---|
71 | <plugin> |
---|
72 | <artifactId>maven-assembly-plugin</artifactId> |
---|
73 | <configuration> |
---|
74 | <descriptorRefs> |
---|
75 | <descriptorRef>jar-with-dependencies</descriptorRef> |
---|
76 | </descriptorRefs> |
---|
77 | <!-- outputDirectory>java/lib</outputDirectory --> |
---|
78 | </configuration> |
---|
79 | <executions> |
---|
80 | <execution> |
---|
81 | <id>make-fcs-ql-jar-with-dependencies</id> |
---|
82 | <phase>package</phase> |
---|
83 | <goals> |
---|
84 | <goal>single</goal> |
---|
85 | </goals> |
---|
86 | </execution> |
---|
87 | </executions> |
---|
88 | </plugin> |
---|
89 | <plugin> |
---|
90 | <groupId>org.antlr</groupId> |
---|
91 | <artifactId>antlr4-maven-plugin</artifactId> |
---|
92 | <version>${antlr.version}</version> |
---|
93 | <executions> |
---|
94 | <execution> |
---|
95 | <phase>compile</phase> |
---|
96 | <goals> |
---|
97 | <goal>antlr4</goal> |
---|
98 | </goals> |
---|
99 | </execution> |
---|
100 | </executions> |
---|
101 | </plugin> |
---|
102 | <plugin> |
---|
103 | <groupId>org.codehaus.mojo</groupId> |
---|
104 | <artifactId>build-helper-maven-plugin</artifactId> |
---|
105 | <version>1.9.1</version> |
---|
106 | <executions> |
---|
107 | <execution> |
---|
108 | <phase>generate-sources</phase> |
---|
109 | <goals> |
---|
110 | <goal>add-source</goal> |
---|
111 | </goals> |
---|
112 | <configuration> |
---|
113 | <sources> |
---|
114 | <source>${project.build.directory}/generated-sources/antlr4</source> |
---|
115 | <source>${project.build.sourceDirectory}</source> |
---|
116 | </sources> |
---|
117 | </configuration> |
---|
118 | </execution> |
---|
119 | <execution> |
---|
120 | <id>add-test-sources</id> |
---|
121 | <phase>generate-test-sources</phase> |
---|
122 | <goals> |
---|
123 | <goal>add-test-source</goal> |
---|
124 | </goals> |
---|
125 | <configuration> |
---|
126 | <sources> |
---|
127 | <source>${project.build.directory}/generated-resources/antlr4</source> |
---|
128 | </sources> |
---|
129 | </configuration> |
---|
130 | </execution> |
---|
131 | </executions> |
---|
132 | </plugin> |
---|
133 | <!--plugin> |
---|
134 | <groupId>org.apache.maven.plugins</groupId> |
---|
135 | <artifactId>maven-compiler-plugin</artifactId> |
---|
136 | <version>3.3</version> |
---|
137 | <configuration> |
---|
138 | <source>1.7</source> |
---|
139 | <target>1.7</target> |
---|
140 | <encoding>UTF-8</encoding> |
---|
141 | <includes> |
---|
142 | <include>${project.basedir}/target/generated-sources/antlr4/**</include> |
---|
143 | <include>${project.build.sourceDirectory}</include> |
---|
144 | </includes> |
---|
145 | <verbose>true</verbose> |
---|
146 | </configuration> |
---|
147 | </plugin--> |
---|
148 | <plugin> |
---|
149 | <groupId>org.apache.maven.plugins</groupId> |
---|
150 | <artifactId>maven-resources-plugin</artifactId> |
---|
151 | <version>2.5</version> |
---|
152 | <executions> |
---|
153 | <execution> |
---|
154 | <id>copy-fcs-ql-parser</id> |
---|
155 | <phase>prepare-package</phase> |
---|
156 | <goals> |
---|
157 | <goal>copy-resources</goal> |
---|
158 | </goals> |
---|
159 | <configuration> |
---|
160 | <resources> |
---|
161 | <resource> |
---|
162 | <directory>target/generated-sources/antlr4</directory> |
---|
163 | </resource> |
---|
164 | </resources> |
---|
165 | <outputDirectory>${project.build.outputDirectory}</outputDirectory> |
---|
166 | </configuration> |
---|
167 | </execution> |
---|
168 | </executions> |
---|
169 | </plugin> |
---|
170 | </plugins> |
---|
171 | </build> |
---|
172 | </project> |
---|