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