From 0e71f443b7decff9eaf27cc9695c244f447fb12e Mon Sep 17 00:00:00 2001 From: Andrew Pielage Date: Wed, 13 Sep 2023 16:35:51 +0100 Subject: [PATCH 1/2] FISH-7809 Remove deploy-internals profile and fix deployment of Core With the introduction of Core, the deploy-internals profile becomes redundant. Signed-off-by: Andrew Pielage --- appserver/distributions/pom.xml | 9 ----- appserver/extras/embedded/all/pom.xml | 6 --- appserver/extras/embedded/pom.xml | 8 ---- appserver/extras/embedded/web/pom.xml | 6 --- .../payara-micro-distribution/pom.xml | 6 --- core/core-parent/pom.xml | 22 ----------- core/pom.xml | 22 ++++++++++- pom.xml | 37 +++++-------------- 8 files changed, 30 insertions(+), 86 deletions(-) diff --git a/appserver/distributions/pom.xml b/appserver/distributions/pom.xml index 65b58ec1bc7..81d828b0949 100644 --- a/appserver/distributions/pom.xml +++ b/appserver/distributions/pom.xml @@ -189,15 +189,6 @@ - - - - deploy-internals - - true - - - DefaultBuild diff --git a/appserver/extras/embedded/all/pom.xml b/appserver/extras/embedded/all/pom.xml index b6db59898cd..6bd6fbe3b8b 100644 --- a/appserver/extras/embedded/all/pom.xml +++ b/appserver/extras/embedded/all/pom.xml @@ -481,11 +481,5 @@ - - deploy-internals - - true - - diff --git a/appserver/extras/embedded/pom.xml b/appserver/extras/embedded/pom.xml index ca9ef9e7b0d..a51af65cad9 100644 --- a/appserver/extras/embedded/pom.xml +++ b/appserver/extras/embedded/pom.xml @@ -60,12 +60,4 @@ tests - - - deploy-internals - - true - - - diff --git a/appserver/extras/embedded/web/pom.xml b/appserver/extras/embedded/web/pom.xml index 3552c9ee16f..c73e49c0733 100644 --- a/appserver/extras/embedded/web/pom.xml +++ b/appserver/extras/embedded/web/pom.xml @@ -419,11 +419,5 @@ - - deploy-internals - - true - - diff --git a/appserver/extras/payara-micro/payara-micro-distribution/pom.xml b/appserver/extras/payara-micro/payara-micro-distribution/pom.xml index 35f10cebdec..7876f654ffa 100644 --- a/appserver/extras/payara-micro/payara-micro-distribution/pom.xml +++ b/appserver/extras/payara-micro/payara-micro-distribution/pom.xml @@ -528,11 +528,5 @@ Payara Micro Enterprise - - deploy-internals - - true - - diff --git a/core/core-parent/pom.xml b/core/core-parent/pom.xml index 1e9fa1abb86..3f52e47c751 100644 --- a/core/core-parent/pom.xml +++ b/core/core-parent/pom.xml @@ -54,20 +54,7 @@ Payara Core Parent - - - payara-nexus-artifacts - https://nexus.payara.fish/repository/payara-artifacts/ - - - payara-nexus-snapshots - https://nexus.payara.fish/repository/payara-snapshots/ - - - - - false ${project.build.outputDirectory}/META-INF/MANIFEST.MF @@ -403,15 +390,6 @@ - - org.apache.maven.plugins - maven-deploy-plugin - ${maven.deploy.plugin.version} - - 10 - ${deploy.skip} - - org.apache.felix diff --git a/core/pom.xml b/core/pom.xml index 9f2770d0534..6b18561ecca 100644 --- a/core/pom.xml +++ b/core/pom.xml @@ -185,7 +185,7 @@ UTF-8 UTF-8 - true + false true 1.3 @@ -215,6 +215,17 @@ + + + payara-nexus-artifacts + https://nexus.payara.fish/repository/payara-artifacts/ + + + payara-nexus-snapshots + https://nexus.payara.fish/repository/payara-snapshots/ + + + @@ -448,6 +459,15 @@ + + org.apache.maven.plugins + maven-deploy-plugin + ${maven.deploy.plugin.version} + + 10 + ${deploy.skip} + + diff --git a/pom.xml b/pom.xml index 0cdae68c48d..73758ad095d 100644 --- a/pom.xml +++ b/pom.xml @@ -117,6 +117,13 @@ + + + payara-nexus-distributions + https://nexus.payara.fish/repository/payara-community/ + + + 0.0.1.a2 @@ -150,6 +157,8 @@ 2.0.1 2.0.1 ${project.build.outputDirectory} + + true @@ -278,25 +287,6 @@ - - - deploy-internals - - false - - - - - payara-nexus-artifacts - https://nexus.payara.fish/repository/payara-artifacts/ - - - payara-nexus-snapshots - https://nexus.payara.fish/repository/payara-snapshots/ - - - - BuildCore @@ -390,15 +380,6 @@ - - org.apache.maven.plugins - maven-deploy-plugin - ${maven.deploy.plugin.version} - - 10 - ${deploy.skip} - - org.apache.felix From 1c907ef6cb99a491fdada450240ba251d99a90bf Mon Sep 17 00:00:00 2001 From: Andrew Pielage Date: Thu, 14 Sep 2023 09:34:18 +0100 Subject: [PATCH 2/2] FISH-7809 Don't unnecessarily deploy repackaged externals Signed-off-by: Andrew Pielage --- appserver/packager/external/pom.xml | 1 - appserver/packager/pom.xml | 1 - nucleus/packager/external/pom.xml | 1 - nucleus/packager/pom.xml | 1 - 4 files changed, 4 deletions(-) diff --git a/appserver/packager/external/pom.xml b/appserver/packager/external/pom.xml index 7c550755783..e861bf10362 100644 --- a/appserver/packager/external/pom.xml +++ b/appserver/packager/external/pom.xml @@ -63,7 +63,6 @@ true - false diff --git a/appserver/packager/pom.xml b/appserver/packager/pom.xml index 78326b15a72..a693fa093ad 100644 --- a/appserver/packager/pom.xml +++ b/appserver/packager/pom.xml @@ -175,7 +175,6 @@ true **\/META-INF,META-INF\/* src/main/resources/pkg_proto.py - true diff --git a/nucleus/packager/external/pom.xml b/nucleus/packager/external/pom.xml index 13272c74821..364be98df1e 100644 --- a/nucleus/packager/external/pom.xml +++ b/nucleus/packager/external/pom.xml @@ -63,7 +63,6 @@ true - false diff --git a/nucleus/packager/pom.xml b/nucleus/packager/pom.xml index 3286ed6d613..935a43e0372 100644 --- a/nucleus/packager/pom.xml +++ b/nucleus/packager/pom.xml @@ -86,7 +86,6 @@ ${temp.dir}/modules true **\/META-INF,META-INF\/* - true