From b856b7a8d73ef10e9e88c2bdf39543f6eb554c2f Mon Sep 17 00:00:00 2001 From: Sven Meyer Date: Sat, 16 Mar 2024 11:21:18 +0100 Subject: [PATCH] Add components for deployment to Maven Central --- README.md | 19 ++--------- SynchronizedPDS/pom.xml | 2 +- WPDS/pom.xml | 2 +- pom.xml | 76 +++++++++++++++++++++++++++++++---------- 4 files changed, 63 insertions(+), 36 deletions(-) diff --git a/README.md b/README.md index 71b6a660..22ee3a31 100644 --- a/README.md +++ b/README.md @@ -7,31 +7,18 @@ Additionally, it contains an implementation of [Boomerang](boomerangPDS) and [ID # Use as Maven dependency -All projects inside this repository are pushed to GitHub's Maven repository for every release. - -To include a dependency from this repository to your poject, you first have to add the repository to your pom file: - +The projects are released on [Maven Central](https://central.sonatype.com/artifact/de.fraunhofer.iem/SPDS) and can be included as a dependency in `.pom` files: ```.xml de.fraunhofer.iem - WPDS - 3.1.1 + SPDS + 3.1.2 - - - github - https://maven.pkg.github.com/CodeShield-Security/SPDS/ - - ``` -To access the GitHub packages repository, you also need to set up GitHub credentials in your Maven's `settings.xml` file. Therefore, you need to add a `server` block with the id `github`, your username and an access token that has `package:read` rights to your `setting.xml`. -An in-depth documentation on how to do this can be found [here](https://docs.github.com/en/packages/using-github-packages-with-your-projects-ecosystem/configuring-apache-maven-for-use-with-github-packages#authenticating-to-github-packages). - - # Checkout, Build and Install To build and install SPDS into your local repository, run diff --git a/SynchronizedPDS/pom.xml b/SynchronizedPDS/pom.xml index d5574f8c..5029190e 100644 --- a/SynchronizedPDS/pom.xml +++ b/SynchronizedPDS/pom.xml @@ -30,7 +30,7 @@ de.fraunhofer.iem - PathExpression + pathexpression junit diff --git a/WPDS/pom.xml b/WPDS/pom.xml index 6561d056..94f89601 100644 --- a/WPDS/pom.xml +++ b/WPDS/pom.xml @@ -18,7 +18,7 @@ de.fraunhofer.iem - PathExpression + pathexpression org.slf4j diff --git a/pom.xml b/pom.xml index e1c9195e..79604b3c 100644 --- a/pom.xml +++ b/pom.xml @@ -6,6 +6,8 @@ 3.1.2 pom SPDS + Synchronized Pushdown Systems for Pointer and Data-Flow Analysis + https://github.com/CodeShield-Security/SPDS @@ -165,8 +167,8 @@ de.fraunhofer.iem - PathExpression - 1.0.0 + pathexpression + 1.0.2 org.soot-oss @@ -207,26 +209,16 @@ + + ossrh + https://s01.oss.sonatype.org/content/repositories/snapshots/ + - github - GitHub CodeShield-Security Apache Maven Packages - https://maven.pkg.github.com/CodeShield-Security/SPDS/ + ossrh + https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/ - - - sonatype-snapshots - https://oss.sonatype.org/content/repositories/snapshots - - false - - - - swt - https://soot-build.cs.uni-paderborn.de/nexus/repository/swt-upb/ - - ci @@ -244,5 +236,53 @@ + + + deployment + + + + org.apache.maven.plugins + maven-gpg-plugin + 3.0.1 + + + sign-artifacts + verify + + sign + + + + --pinentry-mode + loopback + + + + + + + maven-release-plugin + 3.0.1 + + @{project.version} + + + + org.sonatype.plugins + nexus-staging-maven-plugin + 1.6.13 + true + + ossrh + https://s01.oss.sonatype.org + true + + + + +