diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0d9a7a7..409931a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -122,4 +122,5 @@ jobs: gpg-passphrase: ${{ secrets.PGP_PASSPHRASE }} revision: ${{ github.event.release.tag_name }} java-version: ${{ env.JAVA_VERSION }} - maven-version: ${{ env.MAVEN_VERSION }} \ No newline at end of file + maven-version: ${{ env.MAVEN_VERSION }} + maven-extra-args: '-pl cds-feature-ord -am' \ No newline at end of file diff --git a/cds-feature-ord/pom.xml b/cds-feature-ord/pom.xml index 6011bf7..1cf54cb 100644 --- a/cds-feature-ord/pom.xml +++ b/cds-feature-ord/pom.xml @@ -14,6 +14,11 @@ SAP Cloud Application Programming Model, generation plugin for Open Resource Discovery Open Resource Discovery Java plugin feature for SAP Cloud Application Programming Model + + scm:git:https://github.com/cap-java/cds-feature-ord.git + https://github.com/cap-java/cds-feature-ord + + @@ -91,6 +96,23 @@ + + org.codehaus.mojo + flatten-maven-plugin + + ossrh> + + + + flatten + process-resources + + flatten + + + + + org.jacoco jacoco-maven-plugin @@ -143,4 +165,36 @@ + + + + deploy-release + + + + maven-gpg-plugin + + + sign-artifacts + + sign + + deploy + + + + + + org.sonatype.central + central-publishing-maven-plugin + + true + validated + central + + + + + + diff --git a/pom.xml b/pom.xml index f264ccf..33888ea 100644 --- a/pom.xml +++ b/pom.xml @@ -31,11 +31,6 @@ - - scm:git:https://github.com/cap-java/cds-feature-ord.git - https://github.com/cap-java/cds-feature-ord - - 6.0.0 17 @@ -184,7 +179,7 @@ org.codehaus.mojo flatten-maven-plugin - 1.7.3 + 1.8.0 org.jacoco @@ -245,32 +240,6 @@ - - - org.codehaus.mojo - flatten-maven-plugin - - true - resolveCiFriendliesOnly - - - - flatten - process-resources - - flatten - - - - flatten.clean - clean - - clean - - - - - maven-enforcer-plugin @@ -309,38 +278,5 @@ - - - - - deploy-release - - - - maven-gpg-plugin - - - sign-artifacts - - sign - - deploy - - - - - - org.sonatype.central - central-publishing-maven-plugin - - central - true - published - - - - - - \ No newline at end of file