Skip to content

Commit

Permalink
1.3.26-1 release
Browse files Browse the repository at this point in the history
  • Loading branch information
nightowlengineer committed Oct 25, 2020
1 parent 880998d commit 67fa9dd
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 6 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/maven-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# This workflow will build a package using Maven and then publish it to GitHub packages when a release is created
# For more information see: https://github.com/actions/setup-java#apache-maven-with-a-settings-path

name: Publish package to the Maven Central Repository
on:
release:
types: [created]
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Maven Central Repository
uses: actions/setup-java@v1
with:
java-version: 14
server-id: ossrh
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD
gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }}
gpg-passphrase: MAVEN_GPG_PASSPHRASE
- name: Publish package
run: mvn -B deploy
env:
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}
MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }}
7 changes: 6 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,9 @@ hs_err_pid*
*.iml

# Maven
target/
target/
.classpath
.project

.settings/
.vscode/
17 changes: 12 additions & 5 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<groupId>engineer.nightowl</groupId>
<artifactId>dw-header-auth-bundle</artifactId>
<version>1.3.5-3-SNAPSHOT</version>
<version>1.3.26-1</version>
<packaging>jar</packaging>

<name>${project.groupId}-${project.artifactId}</name>
Expand All @@ -15,7 +15,7 @@
<connection>scm:git:git://github.com/nightowlengineer/dw-header-auth-bundle.git</connection>
<developerConnection>scm:git:ssh://git@github.com/nightowlengineer/dw-header-auth-bundle.git</developerConnection>
<url>https://github.com/nightowlengineer/dw-header-auth-bundle/tree/master</url>
<tag>HEAD</tag>
<tag>1.3.26-1</tag>
</scm>

<developers>
Expand Down Expand Up @@ -49,7 +49,7 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<dropwizard.version>1.3.5</dropwizard.version>
<dropwizard.version>1.3.26</dropwizard.version>
</properties>

<dependencies>
Expand All @@ -71,7 +71,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.0.1</version>
<version>3.2.1</version>
<executions>
<execution>
<id>attach-sources</id>
Expand All @@ -84,7 +84,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.0.1</version>
<version>3.2.0</version>
<executions>
<execution>
<id>attach-javadocs</id>
Expand All @@ -105,6 +105,13 @@
<goals>
<goal>sign</goal>
</goals>
<configuration>
<!-- Prevent `gpg` from using pinentry programs -->
<gpgArguments>
<arg>--pinentry-mode</arg>
<arg>loopback</arg>
</gpgArguments>
</configuration>
</execution>
</executions>
</plugin>
Expand Down

0 comments on commit 67fa9dd

Please sign in to comment.