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