diff --git a/.github/workflows/build_deploy_java_language_bindings.yml b/.github/workflows/build_deploy_java_language_bindings.yml index 63a56a42..86bc2e6f 100644 --- a/.github/workflows/build_deploy_java_language_bindings.yml +++ b/.github/workflows/build_deploy_java_language_bindings.yml @@ -47,5 +47,5 @@ jobs: mvn install -pl rule-factory - name: Deploy with Maven - run: mvn -B clean deploy -pl gbfs-java-model + run: mvn -B clean deploy -pl gbfs-java-model -Pci-cd diff --git a/models/java/README.md b/models/java/README.md index 19b882a1..f42a4776 100644 --- a/models/java/README.md +++ b/models/java/README.md @@ -10,7 +10,7 @@ classes are prefixed with "GBFS". Packages include GBFS versions to accommodate for future releases which may include older versions, since some consumers may need to handle multiple non-compatible versions in the same application (i.e. you should be able to parse v2.1 feeds with the v2.2 package, but v3.0 package would not -be able to parse v2.2 feeds) +be able to parse v2.2 feeds). ## Add the Dependency diff --git a/models/java/gbfs-java-model/pom.xml b/models/java/gbfs-java-model/pom.xml index 49270d19..115cc7b3 100644 --- a/models/java/gbfs-java-model/pom.xml +++ b/models/java/gbfs-java-model/pom.xml @@ -1,5 +1,7 @@ - + 4.0.0 org.mobilitydata gbfs-java-model @@ -396,6 +398,36 @@ + + ci-cd + + + + org.apache.maven.plugins + maven-gpg-plugin + 1.6 + + + sign-artifacts + verify + + sign + + + + + --pinentry-mode + loopback + + + + + + + + release @@ -438,7 +470,8 @@ ossrh https://oss.sonatype.org/ - + true @@ -446,4 +479,4 @@ - + \ No newline at end of file