Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
charphi committed Apr 23, 2021
2 parents 96dd943 + a380ff9 commit adf83b0
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 15 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/java8-maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ jobs:
restore-keys: ${{ runner.os }}-m2

- name: Deploy snapshot with Maven if settings defined
run: test -f ci.settings.xml && mvn -B -ntp deploy -DskipTests=true -s ci.settings.xml -P base-deploy,snapshot-deploy,!non-deployable-modules
run: test ! -f ci.settings.xml || mvn -B -ntp deploy -DskipTests=true -s ci.settings.xml -P base-deploy,snapshot-deploy,!non-deployable-modules
env:
OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }}
OSSRH_TOKEN: ${{ secrets.OSSRH_TOKEN }}
Expand Down Expand Up @@ -109,12 +109,14 @@ jobs:
restore-keys: ${{ runner.os }}-m2

- name: Deploy with Maven if settings defined
run: test -f ci.settings.xml && mvn -B -ntp deploy -DskipTests=true -s ci.settings.xml -P base-deploy,release-deploy,!non-deployable-modules
run: test ! -f ci.settings.xml || mvn -B -ntp deploy -DskipTests=true -s ci.settings.xml -P base-deploy,release-deploy,!non-deployable-modules
env:
OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }}
OSSRH_TOKEN: ${{ secrets.OSSRH_TOKEN }}
SIGN_KEY: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }}
SIGN_KEY_PASS: ${{ secrets.MAVEN_GPG_PASSPHRASE }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_ACTOR: ${{ secrets.GITHUB_ACTOR }}

- name: Build assets with Maven
run: mvn -B -ntp install -DskipTests=true -P base-deploy
Expand Down
6 changes: 3 additions & 3 deletions ci.settings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
<servers>
<server>
<id>ossrh</id>
<username>${env.OSSRH_USERNAME}</username>
<password>${env.OSSRH_TOKEN}</password>
<id>github</id>
<username>${env.GITHUB_ACTOR}</username>
<password>${env.GITHUB_TOKEN}</password>
</server>
</servers>
</settings>
9 changes: 5 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<groupId>com.github.nbbrd.sandbox</groupId>
<artifactId>sandbox-parent</artifactId>
<version>1.14.0</version>
<version>1.15.0</version>
<packaging>pom</packaging>

<name>sandbox</name>
Expand Down Expand Up @@ -165,7 +165,7 @@
<dependency>
<groupId>org.kordamp.maven</groupId>
<artifactId>pomchecker-enforcer-rules</artifactId>
<version>1.1.0</version>
<version>1.2.0</version>
</dependency>
</dependencies>
<executions>
Expand Down Expand Up @@ -294,8 +294,9 @@
<id>release-deploy</id>
<distributionManagement>
<repository>
<id>local-folder</id>
<url>file:${basedir}/../releases</url>
<id>github</id>
<name>GitHub Packages</name>
<url>https://maven.pkg.github.com/nbbrd/sandbox</url>
</repository>
</distributionManagement>
<build>
Expand Down
2 changes: 1 addition & 1 deletion sandbox-api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>sandbox-parent</artifactId>
<groupId>com.github.nbbrd.sandbox</groupId>
<version>1.14.0</version>
<version>1.15.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
6 changes: 3 additions & 3 deletions sandbox-cli/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>sandbox-parent</artifactId>
<groupId>com.github.nbbrd.sandbox</groupId>
<version>1.14.0</version>
<version>1.15.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand All @@ -25,12 +25,12 @@
<dependency>
<groupId>com.github.nbbrd.sandbox</groupId>
<artifactId>sandbox-api</artifactId>
<version>1.14.0</version>
<version>1.15.0</version>
</dependency>
<dependency>
<groupId>com.github.nbbrd.sandbox</groupId>
<artifactId>sandbox-impl</artifactId>
<version>1.14.0</version>
<version>1.15.0</version>
</dependency>
<dependency>
<groupId>info.picocli</groupId>
Expand Down
4 changes: 2 additions & 2 deletions sandbox-impl/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>sandbox-parent</artifactId>
<groupId>com.github.nbbrd.sandbox</groupId>
<version>1.14.0</version>
<version>1.15.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand All @@ -19,7 +19,7 @@
<dependency>
<groupId>com.github.nbbrd.sandbox</groupId>
<artifactId>sandbox-api</artifactId>
<version>1.14.0</version>
<version>1.15.0</version>
</dependency>
<dependency>
<groupId>com.github.lalyos</groupId>
Expand Down

0 comments on commit adf83b0

Please sign in to comment.