-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from adorsys/release-pom
ci: update pom file for deployment to central maven repository
- Loading branch information
Showing
2 changed files
with
72 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
name: Publish package to the Maven Central Repository | ||
on: | ||
release: | ||
types: [created] | ||
jobs: | ||
publish: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Set up Maven Central Repository | ||
uses: actions/setup-java@v4 | ||
with: | ||
java-version: '11' | ||
distribution: 'temurin' | ||
server-id: sonatype | ||
server-username: MAVEN_USERNAME | ||
server-password: MAVEN_PASSWORD | ||
- name: Publish package | ||
run: mvn --batch-mode deploy | ||
env: | ||
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }} | ||
MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,62 @@ | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
<groupId>com.adorsys.ssi</groupId> | ||
<groupId>de.adorsys.ssi</groupId> | ||
<artifactId>sd-jwt</artifactId> | ||
<packaging>jar</packaging> | ||
<version>1.0-SNAPSHOT</version> | ||
<name>sd-jwt</name> | ||
<url>http://maven.apache.org</url> | ||
<name>${project.artifactId}</name> | ||
<description>Library for the production, verification and consumption of SD-JWT documents</description> | ||
<url>https://github.com/adorsys/sd-jwt</url> | ||
<licenses> | ||
<license> | ||
<name>LGPL 2.1 - GNU Lesser General Public License, version 2.1</name> | ||
<url>http://www.gnu.org/licenses/old-licenses/lgpl-2.1</url> | ||
</license> | ||
</licenses> | ||
|
||
<developers> | ||
<developer> | ||
<name>Francis Pouatcha</name> | ||
<email>[email protected]</email> | ||
</developer> | ||
<developer> | ||
<name>Marco Kuidja</name> | ||
<email>[email protected]</email> | ||
</developer> | ||
<developer> | ||
<name>Dylane Bengono</name> | ||
<email>[email protected]</email> | ||
</developer> | ||
<developer> | ||
<name>Armand Meppa</name> | ||
<email>[email protected]</email> | ||
</developer> | ||
</developers> | ||
|
||
<scm> | ||
<url>scm:git:[email protected]:adorsys/sd-jwt.git</url> | ||
<connection>scm:git:[email protected]:adorsys/sd-jwt.git</connection> | ||
<developerConnection>scm:git:[email protected]:adorsys/sd-jwt.git</developerConnection> | ||
<tag>HEAD</tag> | ||
</scm> | ||
|
||
<properties> | ||
<maven.compiler.source>11</maven.compiler.source> | ||
<maven.compiler.target>11</maven.compiler.target> | ||
</properties> | ||
|
||
<distributionManagement> | ||
<repository> | ||
<id>sonatype</id> | ||
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url> | ||
</repository> | ||
<snapshotRepository> | ||
<id>sonatype</id> | ||
<url>https://oss.sonatype.org/content/repositories/snapshots</url> | ||
</snapshotRepository> | ||
</distributionManagement> | ||
|
||
<dependencies> | ||
<dependency> | ||
<groupId>com.fasterxml.jackson.core</groupId> | ||
|
@@ -30,4 +76,5 @@ | |
<scope>test</scope> | ||
</dependency> | ||
</dependencies> | ||
|
||
</project> |