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:
|
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
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
Reference in new issue
Block a user