...
 
Commits (3)
image: maven:latest
variables:
MAVEN_CLI_OPTS: "-s .m2/settings.xml --batch-mode"
MAVEN_OPTS: "-Dmaven.repo.local=.m2/repository"
cache:
paths:
- .m2/repository/
- target/
build:
stage: build
script:
- mvn $MAVEN_CLI_OPTS compile
test:
stage: test
script:
- mvn $MAVEN_CLI_OPTS test
deploy:
stage: deploy
script:
- mvn $MAVEN_CLI_OPTS deploy
only:
- master
\ No newline at end of file
<settings xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.1.0 http://maven.apache.org/xsd/settings-1.1.0.xsd"
xmlns="http://maven.apache.org/SETTINGS/1.1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<servers>
<server>
<id>central</id>
<username>${env.MAVEN_REPO_USER}</username>
<password>${env.MAVEN_REPO_PASS}</password>
</server>
</servers>
</settings>
\ No newline at end of file
......@@ -6,7 +6,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>de.codecentric.mule.modules</groupId>
<artifactId>assert-object-equals-module</artifactId>
<version>1.0.180-SNAPSHOT</version>
<version>1.0.181-SNAPSHOT</version>
<packaging>mule-extension</packaging>
<name>Assert Object Equals Extension</name>
......@@ -16,6 +16,22 @@
<version>1.1.3</version>
</parent>
<developers>
<developer>
<name>Danijel Dragicevic</name>
<organization>codecentric AG</organization>
<organizationUrl>https://www.codecentric.de</organizationUrl>
</developer>
</developers>
<licenses>
<license>
<name>Apache License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
<distribution>repo</distribution>
</license>
</licenses>
<dependencies>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
......@@ -38,4 +54,17 @@
<version>2.3.0</version>
</dependency>
</dependencies>
<distributionManagement>
<repository>
<id>central</id>
<name>artifactory.codecentric.de-releases</name>
<url>${env.MAVEN_REPO_URL}/public</url>
</repository>
<snapshotRepository>
<id>snapshots</id>
<name>artifactory.codecentric.de-snapshots</name>
<url>${env.MAVEN_REPO_URL}/public</url>
</snapshotRepository>
</distributionManagement>
</project>