Commit 09ecefe3 authored by Matija Obreza's avatar Matija Obreza

Merge branch '4-release-1-1' into 'master'

Resolve "Release 1.1"

Closes #4

See merge request !4
parents 9a419f9a a3669ca8
Pipeline #2725 passed with stage
in 28 seconds
......@@ -3,17 +3,17 @@ stages:
- deploy
run tests in branches:
stage: compile
image: maven:3-jdk-8
stage: compile
image: maven:3-jdk-8
script:
- MAVEN_OPTS="${MAVEN_OPTS} -Dorg.slf4j.simpleLogger.defaultLogLevel=warn" mvn test -B
except:
- master
- tags
- /^genesys\-client\-api\-/
publish artifacts:
stage: deploy
image: maven:3-jdk-8
publish snapshot artifacts:
stage: deploy
image: maven:3-jdk-8
before_script:
- echo "${GPG_KEY_SECRET}" | gpg --batch --import
- gpg --list-keys
......@@ -21,4 +21,14 @@ publish artifacts:
- mvn clean deploy --settings .ci-maven-settings.xml -B -U
only:
- master
- tags
publish artifacts on central:
stage: deploy
image: maven:3-jdk-8
before_script:
- echo "${GPG_KEY_SECRET}" | gpg --batch --import
- gpg --list-keys
script:
- mvn -P release clean deploy --settings .ci-maven-settings.xml -B -U
only:
- /^genesys\-client\-api\-/
......@@ -50,13 +50,11 @@ try {
## How to reference `genesys-client-api`
The genesys-client-api snapshots are published on [OSSRH](https://oss.sonatype.org/content/groups/public). Add the dependency to your Java project:
```xml
<dependency>
<groupId>org.genesys-pgr</groupId>
<artifactId>genesys-client-api</artifactId>
<version>1.0</version>
<version>1.1</version>
</dependency>
```
......@@ -66,7 +64,7 @@ Or for the development version:
<dependency>
<groupId>org.genesys-pgr</groupId>
<artifactId>genesys-client-api</artifactId>
<version>1.1-SNAPSHOT</version>
<version>1.2-SNAPSHOT</version>
</dependency>
```
......
......@@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.genesys-pgr</groupId>
<artifactId>genesys-client-api</artifactId>
<version>1.1-SNAPSHOT</version>
<version>1.2-SNAPSHOT</version>
<name>Genesys API client library</name>
<packaging>jar</packaging>
<url>https://bitbucket.org/genesys2/genesys-client-api</url>
......@@ -20,8 +20,8 @@
<connection>https://bitbucket.org/genesys2/genesys-client-api.git</connection>
<developerConnection>scm:git:git@bitbucket.org:genesys2/genesys-client-api.git</developerConnection>
<url>git@bitbucket.org:genesys2/genesys-client-api.git</url>
<tag>HEAD</tag>
</scm>
<tag>HEAD</tag>
</scm>
<developers>
<developer>
......@@ -183,6 +183,13 @@
<goals>
<goal>sign</goal>
</goals>
<!-- gpg: signing failed: No such file or directory -->
<configuration>
<gpgArguments>
<arg>--pinentry-mode</arg>
<arg>loopback</arg>
</gpgArguments>
</configuration>
</execution>
</executions>
</plugin>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment