Update CI config
This commit is contained in:
1 parent
598ca5217c
commit
a3eb2d4400
2 files changed
+7
-3
No files matched your search
+5
-2
@@ -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
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in new issue
Block a user