From 4ee0a78a66023e7f49609dbb8848ebcd713fa641 Mon Sep 17 00:00:00 2001 From: dev930018 <56113485+dev930018@users.noreply.github.com> Date: Thu, 13 May 2021 11:23:02 +0100 Subject: [PATCH 1/5] PAL-1040-push-to-public-nexus initial commit From 4693fda29453d5e75b932e391f9ffe6f71077b3d Mon Sep 17 00:00:00 2001 From: dev930018 <56113485+dev930018@users.noreply.github.com> Date: Thu, 13 May 2021 11:59:50 +0100 Subject: [PATCH 2/5] PAL-1040 allow pushing artefacts to public nexus --- NOTICES.md | 2 +- pom.xml | 98 ++++++++++++++++++++++++++++++++++++++++++++++++++---- 2 files changed, 92 insertions(+), 8 deletions(-) diff --git a/NOTICES.md b/NOTICES.md index 77fcda2f..99b8a6b4 100644 --- a/NOTICES.md +++ b/NOTICES.md @@ -18,7 +18,7 @@ List of third-party dependencies grouped by their license type * spring-boot-starter-test ([org.springframework.boot:spring-boot-starter-test:2.3.1.RELEASE](https://spring.io/projects/spring-boot)) * Spring Shell Starter ([org.springframework.shell:spring-shell-starter:2.0.0.RELEASE](http://projects.spring.io/spring-boot/spring-shell-parent/spring-shell-starter/)) * client-java ([uk.gov.gchq.palisade:client-java:0.5.0-SNAPSHOT](https://github.com/gchq/Palisade-clients/tree/develop/client-java)) -* common ([uk.gov.gchq.palisade:common:0.5.0-SNAPSHOT](https://github.com/gchq/Palisade-common)) +* GCHQ Palisade Common Library ([uk.gov.gchq.palisade:common:0.5.0-SNAPSHOT](https://github.com/gchq/Palisade-common)) ### [Eclipse Public License 1.0](./licenses/eclipse_public_license_1.0.html): * Logback Classic Module ([ch.qos.logback:logback-classic:1.2.3](http://logback.qos.ch/logback-classic)) diff --git a/pom.xml b/pom.xml index 77494e3e..09766886 100644 --- a/pom.xml +++ b/pom.xml @@ -14,7 +14,8 @@ ~ See the License for the specific language governing permissions and ~ limitations under the License. --> - 4.0.0 @@ -53,6 +54,13 @@ 2.22.1 2.22.1 + + 1.5 + 1.6.8 + 2.5.3 + 1.1 + 3.2.1 + false false @@ -67,6 +75,11 @@ reuseReports ${project.basedir}/../target/site/jacoco/jacoco.xml java + + + https://github.com/gchq/Palisade-common + scm:git:https://github.com/gchq/Palisade-common.git + scm:git:https://github.com/gchq/Palisade-common.git @@ -88,23 +101,94 @@ true + + release + + + ossrh + Sonatype Nexus release repository + https://oss.sonatype.org/service/local/staging/deploy/maven2/ + ossrh + Sonatype Nexus snapshot repository + https://oss.sonatype.org/content/repositories/snapshots + + + + + org.sonatype.plugins + nexus-staging-maven-plugin + ${nexus.plugin.version} + true + + ${releases.repository.id} + https://oss.sonatype.org/ + false + true + + 10 + + + + org.apache.maven.plugins + maven-source-plugin + ${source.plugin.version} + + + attach-sources + + jar-no-fork + + + + + + org.apache.maven.plugins + maven-javadoc-plugin + ${javadoc.plugin.version} + + + attach-javadocs + + jar + + + + + + org.apache.maven.plugins + maven-gpg-plugin + ${gpg.plugin.version} + + + sign-artifacts + verify + + sign + + + + + + + - nexus - releases + ${releases.repository.id} + ${releases.repository.name} - ${release.url} + ${releases.repository.url} - nexus - snapshots + ${snapshots.repository.id} + false + ${snapshots.repository.name} - ${snapshot.url} + ${snapshots.repository.url} From 5fa3128bc1c00a2545a5c282f8fbfe066bf8be6d Mon Sep 17 00:00:00 2001 From: dev930018 <56113485+dev930018@users.noreply.github.com> Date: Fri, 14 May 2021 16:52:19 +0100 Subject: [PATCH 3/5] PAL-1040 push clients artifacts to public nexus --- client-akka/pom.xml | 97 +++++++++++++++++++++++++++++++++++++++ client-fuse/pom.xml | 98 +++++++++++++++++++++++++++++++++++++++ client-java/pom.xml | 107 +++++++++++++++++++++++++++++++++++++++---- client-shell/pom.xml | 97 +++++++++++++++++++++++++++++++++++++++ pom.xml | 71 +--------------------------- 5 files changed, 390 insertions(+), 80 deletions(-) diff --git a/client-akka/pom.xml b/client-akka/pom.xml index ac88a2a4..e2085873 100644 --- a/client-akka/pom.xml +++ b/client-akka/pom.xml @@ -27,11 +27,30 @@ 4.0.0 + + + PalisadeDevelopers + GCHQ + https://github.com/gchq + + + client-akka https://github.com/gchq/Palisade-clients/tree/develop/client-akka + GCHQ Palisade - Akka Client + + The Akka Palisade Client API provides access to a Palisade cluster and exposes an interface using both Java standard-lib types and Akka types. + + + ${scm.url} + ${scm.connection} + ${scm.developer.connection} + HEAD + + 2.13 @@ -72,6 +91,84 @@ + + + release + + + ossrh + Sonatype Nexus release repository + https://oss.sonatype.org/service/local/staging/deploy/maven2/ + ossrh + Sonatype Nexus snapshot repository + https://oss.sonatype.org/content/repositories/snapshots + + gchq/palisade- + RELEASE + true + true + + + + + org.sonatype.plugins + nexus-staging-maven-plugin + ${nexus.plugin.version} + true + + ${releases.repository.id} + https://oss.sonatype.org/ + false + true + + 10 + + + + org.apache.maven.plugins + maven-source-plugin + ${source.plugin.version} + + + attach-sources + + jar-no-fork + + + + + + org.apache.maven.plugins + maven-javadoc-plugin + ${javadoc.plugin.version} + + + attach-javadocs + + jar + + + + + + org.apache.maven.plugins + maven-gpg-plugin + ${gpg.plugin.version} + + + sign-artifacts + verify + + sign + + + + + + + + + diff --git a/client-fuse/pom.xml b/client-fuse/pom.xml index a1534dbd..7a46640f 100644 --- a/client-fuse/pom.xml +++ b/client-fuse/pom.xml @@ -27,11 +27,31 @@ 4.0.0 + + + PalisadeDevelopers + GCHQ + https://github.com/gchq + + + client-fuse https://github.com/gchq/Palisade-clients/tree/develop/client-fuse + GCHQ Palisade - Attribute-Masking Service + + The Fuse Palisade Client creates a software-controlled filesystem mount to represent the returned resources and data from a query. + Returned resources, data and metadata are all presented as a FUSE mounted local directory. + + + ${scm.url} + ${scm.connection} + ${scm.developer.connection} + HEAD + + 11 11 @@ -75,6 +95,84 @@ + + + release + + + ossrh + Sonatype Nexus release repository + https://oss.sonatype.org/service/local/staging/deploy/maven2/ + ossrh + Sonatype Nexus snapshot repository + https://oss.sonatype.org/content/repositories/snapshots + + gchq/palisade- + RELEASE + true + true + + + + + org.sonatype.plugins + nexus-staging-maven-plugin + ${nexus.plugin.version} + true + + ${releases.repository.id} + https://oss.sonatype.org/ + false + true + + 10 + + + + org.apache.maven.plugins + maven-source-plugin + ${source.plugin.version} + + + attach-sources + + jar-no-fork + + + + + + org.apache.maven.plugins + maven-javadoc-plugin + ${javadoc.plugin.version} + + + attach-javadocs + + jar + + + + + + org.apache.maven.plugins + maven-gpg-plugin + ${gpg.plugin.version} + + + sign-artifacts + verify + + sign + + + + + + + + + diff --git a/client-java/pom.xml b/client-java/pom.xml index e3feeaf0..73ed8e20 100644 --- a/client-java/pom.xml +++ b/client-java/pom.xml @@ -27,42 +27,53 @@ ../pom.xml + + + PalisadeDevelopers + GCHQ + https://github.com/gchq + + + client-java - client-java - Java standalone client https://github.com/gchq/Palisade-clients/tree/develop/client-java + GCHQ Palisade - Java Client + + The Java Palisade Client API provides access to a Palisade deployment, allowing querying and reading of resources. + + + ${scm.url} + ${scm.connection} + ${scm.developer.connection} + HEAD + + 11 11 - 2.11.0 3.0.8 1.7.26 - 2.8.2 - 2.3.2 5.7.0 1.7.0 3.19.0 1.2.3 3.7.7 - - - uk.gov.gchq.palisade @@ -91,7 +102,6 @@ - org.immutables value @@ -100,7 +110,6 @@ - org.junit.jupiter junit-jupiter-api @@ -197,6 +206,84 @@ + + + release + + + ossrh + Sonatype Nexus release repository + https://oss.sonatype.org/service/local/staging/deploy/maven2/ + ossrh + Sonatype Nexus snapshot repository + https://oss.sonatype.org/content/repositories/snapshots + + gchq/palisade- + RELEASE + true + true + + + + + org.sonatype.plugins + nexus-staging-maven-plugin + ${nexus.plugin.version} + true + + ${releases.repository.id} + https://oss.sonatype.org/ + false + true + + 10 + + + + org.apache.maven.plugins + maven-source-plugin + ${source.plugin.version} + + + attach-sources + + jar-no-fork + + + + + + org.apache.maven.plugins + maven-javadoc-plugin + ${javadoc.plugin.version} + + + attach-javadocs + + jar + + + + + + org.apache.maven.plugins + maven-gpg-plugin + ${gpg.plugin.version} + + + sign-artifacts + verify + + sign + + + + + + + + + diff --git a/client-shell/pom.xml b/client-shell/pom.xml index e10ffa8c..5e41bdbe 100644 --- a/client-shell/pom.xml +++ b/client-shell/pom.xml @@ -27,11 +27,30 @@ 4.0.0 + + + PalisadeDevelopers + GCHQ + https://github.com/gchq + + + client-shell https://github.com/gchq/Palisade-clients/tree/develop/client-shell + GCHQ Palisade - Spring Shell Client + + The Palisade Shell provides a interactive CLI REPL for access to a cluster and its resources. + + + ${scm.url} + ${scm.connection} + ${scm.developer.connection} + HEAD + + 2.0.0.RELEASE @@ -65,6 +84,84 @@ + + + release + + + ossrh + Sonatype Nexus release repository + https://oss.sonatype.org/service/local/staging/deploy/maven2/ + ossrh + Sonatype Nexus snapshot repository + https://oss.sonatype.org/content/repositories/snapshots + + gchq/palisade- + RELEASE + true + true + + + + + org.sonatype.plugins + nexus-staging-maven-plugin + ${nexus.plugin.version} + true + + ${releases.repository.id} + https://oss.sonatype.org/ + false + true + + 10 + + + + org.apache.maven.plugins + maven-source-plugin + ${source.plugin.version} + + + attach-sources + + jar-no-fork + + + + + + org.apache.maven.plugins + maven-javadoc-plugin + ${javadoc.plugin.version} + + + attach-javadocs + + jar + + + + + + org.apache.maven.plugins + maven-gpg-plugin + ${gpg.plugin.version} + + + sign-artifacts + verify + + sign + + + + + + + + + diff --git a/pom.xml b/pom.xml index 09766886..c59466b5 100644 --- a/pom.xml +++ b/pom.xml @@ -44,6 +44,7 @@ UTF-8 ${encoding} ${encoding} + 3.8.0 @@ -101,76 +102,6 @@ true - - release - - - ossrh - Sonatype Nexus release repository - https://oss.sonatype.org/service/local/staging/deploy/maven2/ - ossrh - Sonatype Nexus snapshot repository - https://oss.sonatype.org/content/repositories/snapshots - - - - - org.sonatype.plugins - nexus-staging-maven-plugin - ${nexus.plugin.version} - true - - ${releases.repository.id} - https://oss.sonatype.org/ - false - true - - 10 - - - - org.apache.maven.plugins - maven-source-plugin - ${source.plugin.version} - - - attach-sources - - jar-no-fork - - - - - - org.apache.maven.plugins - maven-javadoc-plugin - ${javadoc.plugin.version} - - - attach-javadocs - - jar - - - - - - org.apache.maven.plugins - maven-gpg-plugin - ${gpg.plugin.version} - - - sign-artifacts - verify - - sign - - - - - - - From 8d4795219eecd658d99708e12ec4f973755d5b13 Mon Sep 17 00:00:00 2001 From: ac74475 Date: Mon, 17 May 2021 15:50:06 +0100 Subject: [PATCH 4/5] PAL-1040 - Simplified the module poms by moving the release profile to the repo root pom --- client-akka/pom.xml | 78 --------------------------------- client-fuse/pom.xml | 78 --------------------------------- client-java/pom.xml | 78 --------------------------------- client-shell/pom.xml | 78 --------------------------------- pom.xml | 102 +++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 102 insertions(+), 312 deletions(-) diff --git a/client-akka/pom.xml b/client-akka/pom.xml index e2085873..953c27d0 100644 --- a/client-akka/pom.xml +++ b/client-akka/pom.xml @@ -91,84 +91,6 @@ - - - release - - - ossrh - Sonatype Nexus release repository - https://oss.sonatype.org/service/local/staging/deploy/maven2/ - ossrh - Sonatype Nexus snapshot repository - https://oss.sonatype.org/content/repositories/snapshots - - gchq/palisade- - RELEASE - true - true - - - - - org.sonatype.plugins - nexus-staging-maven-plugin - ${nexus.plugin.version} - true - - ${releases.repository.id} - https://oss.sonatype.org/ - false - true - - 10 - - - - org.apache.maven.plugins - maven-source-plugin - ${source.plugin.version} - - - attach-sources - - jar-no-fork - - - - - - org.apache.maven.plugins - maven-javadoc-plugin - ${javadoc.plugin.version} - - - attach-javadocs - - jar - - - - - - org.apache.maven.plugins - maven-gpg-plugin - ${gpg.plugin.version} - - - sign-artifacts - verify - - sign - - - - - - - - - diff --git a/client-fuse/pom.xml b/client-fuse/pom.xml index 7a46640f..958ed653 100644 --- a/client-fuse/pom.xml +++ b/client-fuse/pom.xml @@ -95,84 +95,6 @@ - - - release - - - ossrh - Sonatype Nexus release repository - https://oss.sonatype.org/service/local/staging/deploy/maven2/ - ossrh - Sonatype Nexus snapshot repository - https://oss.sonatype.org/content/repositories/snapshots - - gchq/palisade- - RELEASE - true - true - - - - - org.sonatype.plugins - nexus-staging-maven-plugin - ${nexus.plugin.version} - true - - ${releases.repository.id} - https://oss.sonatype.org/ - false - true - - 10 - - - - org.apache.maven.plugins - maven-source-plugin - ${source.plugin.version} - - - attach-sources - - jar-no-fork - - - - - - org.apache.maven.plugins - maven-javadoc-plugin - ${javadoc.plugin.version} - - - attach-javadocs - - jar - - - - - - org.apache.maven.plugins - maven-gpg-plugin - ${gpg.plugin.version} - - - sign-artifacts - verify - - sign - - - - - - - - - diff --git a/client-java/pom.xml b/client-java/pom.xml index 73ed8e20..046f2f57 100644 --- a/client-java/pom.xml +++ b/client-java/pom.xml @@ -206,84 +206,6 @@ - - - release - - - ossrh - Sonatype Nexus release repository - https://oss.sonatype.org/service/local/staging/deploy/maven2/ - ossrh - Sonatype Nexus snapshot repository - https://oss.sonatype.org/content/repositories/snapshots - - gchq/palisade- - RELEASE - true - true - - - - - org.sonatype.plugins - nexus-staging-maven-plugin - ${nexus.plugin.version} - true - - ${releases.repository.id} - https://oss.sonatype.org/ - false - true - - 10 - - - - org.apache.maven.plugins - maven-source-plugin - ${source.plugin.version} - - - attach-sources - - jar-no-fork - - - - - - org.apache.maven.plugins - maven-javadoc-plugin - ${javadoc.plugin.version} - - - attach-javadocs - - jar - - - - - - org.apache.maven.plugins - maven-gpg-plugin - ${gpg.plugin.version} - - - sign-artifacts - verify - - sign - - - - - - - - - diff --git a/client-shell/pom.xml b/client-shell/pom.xml index 5e41bdbe..5e16314c 100644 --- a/client-shell/pom.xml +++ b/client-shell/pom.xml @@ -84,84 +84,6 @@ - - - release - - - ossrh - Sonatype Nexus release repository - https://oss.sonatype.org/service/local/staging/deploy/maven2/ - ossrh - Sonatype Nexus snapshot repository - https://oss.sonatype.org/content/repositories/snapshots - - gchq/palisade- - RELEASE - true - true - - - - - org.sonatype.plugins - nexus-staging-maven-plugin - ${nexus.plugin.version} - true - - ${releases.repository.id} - https://oss.sonatype.org/ - false - true - - 10 - - - - org.apache.maven.plugins - maven-source-plugin - ${source.plugin.version} - - - attach-sources - - jar-no-fork - - - - - - org.apache.maven.plugins - maven-javadoc-plugin - ${javadoc.plugin.version} - - - attach-javadocs - - jar - - - - - - org.apache.maven.plugins - maven-gpg-plugin - ${gpg.plugin.version} - - - sign-artifacts - verify - - sign - - - - - - - - - diff --git a/pom.xml b/pom.xml index c59466b5..e0646d9e 100644 --- a/pom.xml +++ b/pom.xml @@ -102,6 +102,83 @@ true + + release + + + ossrh + Sonatype Nexus release repository + https://oss.sonatype.org/service/local/staging/deploy/maven2/ + ossrh + Sonatype Nexus snapshot repository + https://oss.sonatype.org/content/repositories/snapshots + + gchq/palisade- + RELEASE + RELEASE + true + true + ${project.version} + + + + + org.sonatype.plugins + nexus-staging-maven-plugin + ${nexus.plugin.version} + true + + ${releases.repository.id} + https://oss.sonatype.org/ + false + true + + 10 + + + + org.apache.maven.plugins + maven-source-plugin + ${source.plugin.version} + + + attach-sources + + jar-no-fork + + + + + + org.apache.maven.plugins + maven-javadoc-plugin + ${javadoc.plugin.version} + + + attach-javadocs + + jar + + + + + + org.apache.maven.plugins + maven-gpg-plugin + ${gpg.plugin.version} + + + sign-artifacts + verify + + sign + + + + + + + @@ -387,6 +464,31 @@ + + org.codehaus.mojo + flatten-maven-plugin + 1.1.0 + + true + ossrh + + + + flatten + process-resources + + flatten + + + + flatten.clean + clean + + clean + + + + From df8527fc21a52a55c8c30b99969616ab66a5a2d5 Mon Sep 17 00:00:00 2001 From: ac74475 Date: Mon, 17 May 2021 15:52:48 +0100 Subject: [PATCH 5/5] PAL-1040 - removed docker file properties from release profile --- pom.xml | 3 --- 1 file changed, 3 deletions(-) diff --git a/pom.xml b/pom.xml index e0646d9e..6d6b5a68 100644 --- a/pom.xml +++ b/pom.xml @@ -113,12 +113,9 @@ Sonatype Nexus snapshot repository https://oss.sonatype.org/content/repositories/snapshots - gchq/palisade- RELEASE RELEASE true - true - ${project.version}