Skip to content

Commit 73cfd59

Browse files
ci: update Maven and Docker configuration
1 parent d2176a4 commit 73cfd59

File tree

2 files changed

+10
-27
lines changed

2 files changed

+10
-27
lines changed

docker-resources/extract.sh

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,16 +29,18 @@ else
2929
PROPS=without_linux.properties
3030
fi
3131

32+
JAR=Extraction-jar-with-dependencies.jar
33+
3234
if [ "$1" == 'fast' ] || [ "$2" == 'fast' ]
3335
then
34-
JAR=FastExtraction-jar-with-dependencies.jar
36+
EX_TYPE=org.variantsync.vevos.extraction.FastGroundTruthExtraction
3537
elif [ "$1" == 'full' ] || [ "$2" == 'full' ]
3638
then
37-
JAR=FullExtraction-jar-with-dependencies.jar
39+
EX_TYPE=org.variantsync.vevos.extraction.FullGroundTruthExtraction
3840
else
3941
echo "You either have to select the 'fast' or the 'full' extraction. See --help for more information"
4042
exit 1
4143
fi
4244

43-
java -Xmx128g -jar -Dtinylog.configuration=/home/user/tinylog.properties $JAR $PROPS
44-
#java -jar -Dtinylog.configuration=/home/user/tinylog.properties $JAR $PROPS
45+
java -Xmx128g -jar -Dtinylog.configuration=/home/user/tinylog.properties $JAR $PROPS $EX_TYPE
46+
#java -jar -Dtinylog.configuration=/home/user/tinylog.properties $JAR $PROPS $EX_TYPE

pom.xml

Lines changed: 4 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@
1414
<!-- Adjust your java version here -->
1515
<java.version>19</java.version>
1616
<!-- Adjust the path to the class that contains the main-method, that is to be executed, here -->
17-
<path.to.fast>${project.groupId}.FastGroundTruthExtraction</path.to.fast>
18-
<path.to.full>${project.groupId}.FullGroundTruthExtraction</path.to.full>
17+
<path.to.main>${project.groupId}.GroundTruthExtraction</path.to.main>
1918
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
2019
<maven.compiler.source>${java.version}</maven.compiler.source>
2120
<maven.compiler.target>${java.version}</maven.compiler.target>
@@ -45,39 +44,21 @@
4544
<artifactId>maven-assembly-plugin</artifactId>
4645
<executions>
4746
<execution>
48-
<id>FastExtraction</id>
47+
<id>Extraction</id>
4948
<phase>package</phase>
5049
<goals>
5150
<goal>single</goal>
5251
</goals>
5352
<configuration>
5453
<archive>
5554
<manifest>
56-
<mainClass>${path.to.fast}</mainClass>
55+
<mainClass>${path.to.main}</mainClass>
5756
</manifest>
5857
</archive>
5958
<descriptorRefs>
6059
<descriptorRef>jar-with-dependencies</descriptorRef>
6160
</descriptorRefs>
62-
<finalName>FastExtraction</finalName>
63-
</configuration>
64-
</execution>
65-
<execution>
66-
<id>FullExtraction</id>
67-
<phase>package</phase>
68-
<goals>
69-
<goal>single</goal>
70-
</goals>
71-
<configuration>
72-
<archive>
73-
<manifest>
74-
<mainClass>${path.to.full}</mainClass>
75-
</manifest>
76-
</archive>
77-
<descriptorRefs>
78-
<descriptorRef>jar-with-dependencies</descriptorRef>
79-
</descriptorRefs>
80-
<finalName>FullExtraction</finalName>
61+
<finalName>Extraction</finalName>
8162
</configuration>
8263
</execution>
8364
</executions>

0 commit comments

Comments
 (0)