|
1 | 1 | <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"> |
2 | 2 | <modelVersion>4.0.0</modelVersion> |
3 | 3 | <groupId>org.culturegraph</groupId> |
4 | | - <artifactId>metafacture-core</artifactId> |
5 | | - <version>2.0.0-SNAPSHOT</version> |
6 | | - <name>metafacture.core</name> |
7 | | - <description>Core package of the metafacture tool suite</description> |
| 4 | + <artifactId>metafacture-runner</artifactId> |
| 5 | + <version>0.0.0-SNAPSHOT</version> |
| 6 | + <name>metafacture.runner</name> |
| 7 | + <description>Standalone applications for working with Flux and Metamorph scripts</description> |
8 | 8 | <licenses> |
9 | 9 | <license> |
10 | 10 | <name>Apache License, Version 2.0</name> |
11 | 11 | <url>https://www.apache.org/licenses/LICENSE-2.0</url> |
12 | 12 | </license> |
13 | 13 | </licenses> |
14 | | - <url>http://github.com/culturegraph/metafacture-core</url> |
| 14 | + <url>http://github.com/culturegraph/metafacture-runner</url> |
15 | 15 | <distributionManagement> |
16 | 16 | <repository> |
17 | 17 | <id>sonatype-nexus-staging</id> |
|
61 | 61 | <properties> |
62 | 62 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
63 | 63 | <targetJdk>1.6</targetJdk> |
64 | | - <junit.version>4.11</junit.version> |
65 | | - <antlr.version>3.4</antlr.version> |
66 | 64 | </properties> |
67 | 65 |
|
68 | 66 | <scm> |
69 | | - <connection>scm:git:git://github.com/culturegraph/metafacture-core.git</connection> |
70 | | - < developerConnection>scm:git: [email protected]:culturegraph/metafacture- core.git</ developerConnection> |
71 | | - <url>http://github.com/culturegraph/metafacture-core</url> |
| 67 | + <connection>scm:git:git://github.com/culturegraph/metafacture-runner.git</connection> |
| 68 | + < developerConnection>scm:git: [email protected]:culturegraph/metafacture- runner.git</ developerConnection> |
| 69 | + <url>http://github.com/culturegraph/metafacture-runner</url> |
72 | 70 | <tag>HEAD</tag> |
73 | 71 | </scm> |
74 | 72 |
|
75 | 73 | <build> |
76 | | - <testResources> |
77 | | - <testResource> |
78 | | - <directory>${basedir}/src/test/java</directory> |
79 | | - <excludes> |
80 | | - <exclude>**/*.java</exclude> |
81 | | - </excludes> |
82 | | - </testResource> |
83 | | - <testResource> |
84 | | - <directory>${basedir}/src/test/resources</directory> |
85 | | - </testResource> |
86 | | - </testResources> |
87 | | - |
88 | 74 | <resources> |
89 | 75 | <resource> |
90 | | - <directory>${basedir}/src/main/resources</directory> |
| 76 | + <directory>src/main/resources</directory> |
91 | 77 | <filtering>true</filtering> |
| 78 | + <excludes> |
| 79 | + <exclude>assembly-resources/**/*</exclude> |
| 80 | + </excludes> |
92 | 81 | </resource> |
93 | 82 | </resources> |
94 | 83 |
|
|
116 | 105 | used to specify that all needed libraries are found under lib/ directory. --> |
117 | 106 | <classpathPrefix>lib/</classpathPrefix> |
118 | 107 | <!-- Specifies the main class of the application --> |
119 | | - <mainClass>org.culturegraph.mf.Flux</mainClass> |
| 108 | + <mainClass>org.culturegraph.mf.cmdline.Flux</mainClass> |
120 | 109 | </manifest> |
121 | 110 | <manifestEntries> |
122 | 111 | <git-commit>${buildNumber}</git-commit> |
|
145 | 134 | </executions> |
146 | 135 | </plugin> |
147 | 136 |
|
| 137 | + <plugin> |
| 138 | + <artifactId>maven-dependency-plugin</artifactId> |
| 139 | + <version>2.8</version> |
| 140 | + <executions> |
| 141 | + <execution> |
| 142 | + <id>unpack-metafacture-core-resources</id> |
| 143 | + <phase>generate-resources</phase> |
| 144 | + <goals> |
| 145 | + <goal>unpack</goal> |
| 146 | + </goals> |
| 147 | + <configuration> |
| 148 | + <artifactItems> |
| 149 | + <artifactItem> |
| 150 | + <groupId>org.culturegraph</groupId> |
| 151 | + <artifactId>metafacture-core</artifactId> |
| 152 | + </artifactItem> |
| 153 | + </artifactItems> |
| 154 | + <includes>schemata/**/*</includes> |
| 155 | + </configuration> |
| 156 | + </execution> |
| 157 | + </executions> |
| 158 | + </plugin> |
148 | 159 |
|
149 | 160 | <plugin> |
150 | 161 | <artifactId>maven-assembly-plugin</artifactId> |
|
162 | 173 | </descriptors> |
163 | 174 | <archive> |
164 | 175 | <manifest> |
165 | | - <mainClass>org.culturegraph.mf.Flux</mainClass> |
| 176 | + <mainClass>org.culturegraph.mf.cmdline.Flux</mainClass> |
166 | 177 | <addClasspath>true</addClasspath> |
167 | 178 | <classpathPrefix>lib/</classpathPrefix> |
168 | 179 | </manifest> |
|
175 | 186 | </executions> |
176 | 187 | </plugin> |
177 | 188 |
|
178 | | - <plugin> |
179 | | - <groupId>org.codehaus.mojo</groupId> |
180 | | - <artifactId>build-helper-maven-plugin</artifactId> |
181 | | - <version>1.4</version> |
182 | | - <executions> |
183 | | - <execution> |
184 | | - <id>add-source</id> |
185 | | - <phase>generate-sources</phase> |
186 | | - <goals> |
187 | | - <goal>add-source</goal> |
188 | | - </goals> |
189 | | - <configuration> |
190 | | - <sources> |
191 | | - <source>src/main/antlr3</source> |
192 | | - </sources> |
193 | | - </configuration> |
194 | | - </execution> |
195 | | - </executions> |
196 | | - </plugin> |
197 | | - |
198 | | - |
199 | 189 | <plugin> |
200 | 190 | <groupId>org.apache.maven.plugins</groupId> |
201 | 191 | <artifactId>maven-release-plugin</artifactId> |
|
209 | 199 | </build> |
210 | 200 |
|
211 | 201 | <dependencies> |
212 | | - |
213 | | - <dependency> |
214 | | - <groupId>junit</groupId> |
215 | | - <artifactId>junit</artifactId> |
216 | | - <version>${junit.version}</version> |
217 | | - </dependency> |
218 | | - |
219 | | - <dependency> |
220 | | - <groupId>commons-lang</groupId> |
221 | | - <artifactId>commons-lang</artifactId> |
222 | | - <version>2.6</version> |
223 | | - </dependency> |
224 | | - |
| 202 | + |
225 | 203 | <dependency> |
226 | | - <groupId>org.apache.commons</groupId> |
227 | | - <artifactId>commons-compress</artifactId> |
228 | | - <version>1.4</version> |
| 204 | + <groupId>org.culturegraph</groupId> |
| 205 | + <artifactId>metafacture-core</artifactId> |
| 206 | + <version>2.0.0-SNAPSHOT</version> |
229 | 207 | </dependency> |
230 | 208 |
|
231 | 209 | <dependency> |
|
235 | 213 | <scope>runtime</scope> |
236 | 214 | </dependency> |
237 | 215 |
|
238 | | - <dependency> |
239 | | - <groupId>org.slf4j</groupId> |
240 | | - <artifactId>slf4j-api</artifactId> |
241 | | - <version>1.7.2</version> |
242 | | - </dependency> |
243 | | - |
244 | | - <dependency> |
245 | | - <groupId>mysql</groupId> |
246 | | - <artifactId>mysql-connector-java</artifactId> |
247 | | - <version>5.1.6</version> |
248 | | - </dependency> |
249 | | - |
250 | | - <dependency> |
251 | | - <groupId>org.antlr</groupId> |
252 | | - <artifactId>antlr-runtime</artifactId> |
253 | | - <version>${antlr.version}</version> |
254 | | - </dependency> |
255 | 216 |
|
256 | 217 | <dependency> |
257 | | - <groupId>simple-jndi</groupId> |
258 | | - <artifactId>simple-jndi</artifactId> |
259 | | - <version>0.11.4.1</version> |
260 | | - <scope>test</scope> |
261 | | - </dependency> |
262 | | - <dependency> |
263 | | - <groupId>commons-io</groupId> |
264 | | - <artifactId>commons-io</artifactId> |
265 | | - <version>2.1</version> |
266 | | - </dependency> |
267 | | - <dependency> |
268 | | - <groupId>org.jdom</groupId> |
269 | | - <artifactId>jdom</artifactId> |
270 | | - <version>1.1</version> |
271 | | - </dependency> |
272 | | - <dependency> |
273 | | - <groupId>com.fasterxml.jackson.core</groupId> |
274 | | - <artifactId>jackson-core</artifactId> |
275 | | - <version>2.1.4</version> |
276 | | - </dependency> |
277 | | - <dependency> |
278 | | - <groupId>org.mockito</groupId> |
279 | | - <artifactId>mockito-core</artifactId> |
280 | | - <version>1.9.5</version> |
| 218 | + <groupId>junit</groupId> |
| 219 | + <artifactId>junit</artifactId> |
| 220 | + <version>4.11</version> |
281 | 221 | <scope>test</scope> |
282 | | - <exclusions> |
283 | | - <exclusion> |
284 | | - <!-- Conflicts with the newer hamcrest version |
285 | | - pulled in by junit --> |
286 | | - <artifactId>hamcrest-core</artifactId> |
287 | | - <groupId>org.hamcrest</groupId> |
288 | | - </exclusion> |
289 | | - </exclusions> |
290 | 222 | </dependency> |
291 | | - </dependencies> |
292 | | - |
293 | | - |
294 | 223 |
|
| 224 | + |
| 225 | + </dependencies> |
295 | 226 |
|
296 | 227 | <profiles> |
297 | 228 | <profile> |
|
0 commit comments