Skip to content

Commit c4da71f

Browse files
author
Stephan
committed
creating test-jar to make track generator reusable
1 parent 095f4b8 commit c4da71f

File tree

1 file changed

+20
-4
lines changed

1 file changed

+20
-4
lines changed

wafs.datakeeper/pom.xml

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<modelVersion>4.0.0</modelVersion>
44
<artifactId>datakeeper</artifactId>
55
<packaging>jar</packaging>
6-
6+
77
<parent>
88
<relativePath>../wafs.parent</relativePath>
99
<groupId>de.uni_koeln.spinfo.wafs</groupId>
@@ -68,8 +68,8 @@
6868
<version>${lucene.version}</version>
6969
</dependency>
7070
</dependencies>
71-
72-
<build>
71+
72+
<build>
7373
<plugins>
7474
<plugin>
7575
<groupId>org.apache.maven.plugins</groupId>
@@ -85,9 +85,25 @@
8585
</execution>
8686
</executions>
8787
</plugin>
88+
89+
<plugin>
90+
<!-- Create a jar of the test classes and resources, to make them
91+
reusable in other modules. Helpful as it contains the code to
92+
generate dummy tracks for testing purpose. -->
93+
<groupId>org.apache.maven.plugins</groupId>
94+
<artifactId>maven-jar-plugin</artifactId>
95+
<version>2.4</version>
96+
<executions>
97+
<execution>
98+
<goals>
99+
<goal>test-jar</goal>
100+
</goals>
101+
</execution>
102+
</executions>
103+
</plugin>
88104
</plugins>
89105
</build>
90-
106+
91107

92108
</project>
93109

0 commit comments

Comments
 (0)