Update CI config

This commit is contained in:
anthorob committed 2021-09-19 15:23:34 -04:00
1 parent 598ca5217c
commit a3eb2d4400
2 files changed
+7 -3

No files matched your search

+5 -2
View File
@@ -1,4 +1,4 @@
image: maven:latest
image: maven:3-jdk-11
variables:
MAVEN_CLI_OPTS: "-s .m2/settings.xml --batch-mode"
@@ -12,7 +12,10 @@ cache:
build:
stage: build
script:
- "mvn --batch-mode compile"
- "mvn --batch-mode package"
artifacts:
paths:
- target/netneutrality-jar-with-dependencies.jar
test:
stage: test
+2 -1
View File
@@ -39,7 +39,7 @@
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<version>3.0.0</version>
<version>3.3.0</version>
<configuration>
<archive>
<manifest>
@@ -51,6 +51,7 @@
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
<finalName>netneutrality</finalName>
</configuration>
<executions>
<execution>