pom.xml 2.4 KB
Newer Older
1
2
<project xmlns="http://maven.apache.org/POM/4.0.0"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3
	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
Stefan E. Funk's avatar
mc.    
Stefan E. Funk committed
4
	<modelVersion>4.0.0</modelVersion>
5
	<parent>
Stefan E. Funk's avatar
Stefan E. Funk committed
6
		<groupId>de.langzeitarchivierung.kolibri</groupId>
7
		<artifactId>kolibri</artifactId>
group_2006_bot's avatar
10.3.0    
group_2006_bot committed
8
		<version>10.3.0</version>
9
10
	</parent>
	<artifactId>kolibri-cli</artifactId>
11
	<name>koLibRI :: Command Line Interface</name>
12
	<packaging>jar</packaging>
Stefan Funk's avatar
mc    
Stefan Funk committed
13
14
15
	<properties>
		<!-- Using kolibri-addon-textgrid-import -->
		<kolibri-artifact>kolibri-addon-textgrid-import</kolibri-artifact>
16
		<!-- kolibri-artifact>kolibri-base</kolibri-artifact -->
17
		<kolibri-artifact.version>${project.version}</kolibri-artifact.version>
Stefan Funk's avatar
mc    
Stefan Funk committed
18
	</properties>
19
20
	<dependencies>
		<dependency>
21
			<groupId>de.langzeitarchivierung.kolibri</groupId>
Stefan Funk's avatar
mc    
Stefan Funk committed
22
23
			<artifactId>${kolibri-artifact}</artifactId>
			<version>${kolibri-artifact.version}</version>
24
25
26
27
		</dependency>
		<dependency>
			<groupId>junit</groupId>
			<artifactId>junit</artifactId>
Stefan E. Funk's avatar
Stefan E. Funk committed
28
			<version>${junit.version}</version>
29
30
31
32
33
34
35
36
37
			<scope>test</scope>
		</dependency>
	</dependencies>
	<build>
		<defaultGoal>package</defaultGoal>
		<plugins>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-shade-plugin</artifactId>
38
				<version>${maven-shade-plugin.version}</version>
39
40
41
42
43
44
45
				<executions>
					<execution>
						<phase>package</phase>
						<goals>
							<goal>shade</goal>
						</goals>
						<configuration>
46
47
							<filters>
								<filter>
48
									<artifact>*:*</artifact>
49
									<excludes>
50
51
52
										<exclude>META-INF/*.DSA</exclude>
										<exclude>META-INF/*.RSA</exclude>
										<exclude>META-INF/*.SF</exclude>
53
54
55
									</excludes>
								</filter>
							</filters>
56
57
58
							<transformers>
								<transformer
									implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
Stefan E. Funk's avatar
mc.    
Stefan E. Funk committed
59
									<mainClass>de.langzeitarchivierung.kolibri.WorkflowTool</mainClass>
60
								</transformer>
61
62
63
64
								<transformer
									implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
									<resource>META-INF/cxf/bus-extensions.txt</resource>
								</transformer>
65
66
67
68
69
70
71
72
73
74
75
76
							</transformers>
							<artifactSet>
								<excludes>
									<exclude>junit:junit</exclude>
								</excludes>
							</artifactSet>
						</configuration>
					</execution>
				</executions>
			</plugin>
		</plugins>
	</build>
77
</project>