From dc4daa06f1eb4115679aeae9abd7fcba0462aeb0 Mon Sep 17 00:00:00 2001 From: Wayne Beaton Date: Mon, 13 Nov 2023 16:02:38 -0500 Subject: [PATCH] Separate the creation of the core JAR from the shaded JAR --- DEPENDENCIES | 2 +- core/pom.xml | 35 +---------------- maven-plugin/pom.xml | 2 +- pom.xml | 1 + shaded/pom.xml | 92 ++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 97 insertions(+), 35 deletions(-) create mode 100644 shaded/pom.xml diff --git a/DEPENDENCIES b/DEPENDENCIES index 05cec3cf..427f58ee 100644 --- a/DEPENDENCIES +++ b/DEPENDENCIES @@ -54,7 +54,7 @@ maven/mavencentral/org.codehaus.plexus/plexus-interpolation/1.26, Apache-2.0, ap maven/mavencentral/org.codehaus.plexus/plexus-sec-dispatcher/2.0, Apache-2.0, approved, clearlydefined maven/mavencentral/org.codehaus.plexus/plexus-utils/3.5.1, Apache-2.0 AND BSD-3-Clause AND BSD-2-Clause and LicenseRef-BSD-Style AND LicenseRef-Public-Domain, approved, #4119 maven/mavencentral/org.eclipse.dash/eclipse-api-for-java/1.0.0, EPL-2.0, approved, technology.dash -maven/mavencentral/org.eclipse.dash/org.eclipse.dash.licenses/1.0.3-SNAPSHOT, EPL-2.0, approved, technology.dash +maven/mavencentral/org.eclipse.dash/org.eclipse.dash.licenses.core/1.0.3-SNAPSHOT, EPL-2.0, approved, technology.dash maven/mavencentral/org.eclipse.sisu/org.eclipse.sisu.inject/0.3.5, EPL-1.0, approved, technology.sisu maven/mavencentral/org.eclipse.sisu/org.eclipse.sisu.plexus/0.3.5, EPL-1.0, approved, technology.sisu maven/mavencentral/org.gitlab4j/gitlab4j-api/5.3.0, MIT, approved, #10054 diff --git a/core/pom.xml b/core/pom.xml index 25be84ad..0264f9f7 100644 --- a/core/pom.xml +++ b/core/pom.xml @@ -19,7 +19,7 @@ 1.0.3-SNAPSHOT ../pom.xml - org.eclipse.dash.licenses + org.eclipse.dash.licenses.core @@ -128,34 +128,12 @@ - - org.apache.maven.plugins - maven-shade-plugin - 3.5.0 - - - package - - shade - - - - - org.eclipse.dash.licenses.cli.Main - - - - false - - - - - org.apache.maven.plugins maven-surefire-plugin 3.1.2 + org.eclipse.dash.licenses.tests.TestSuite ${basedir}/src/test/java @@ -176,13 +154,4 @@ - - - dash-licenses-snapshots - https://repo.eclipse.org/content/repositories/dash-licenses-snapshots/ - - true - - - \ No newline at end of file diff --git a/maven-plugin/pom.xml b/maven-plugin/pom.xml index 29d5173d..cf76c597 100644 --- a/maven-plugin/pom.xml +++ b/maven-plugin/pom.xml @@ -94,7 +94,7 @@ org.eclipse.dash - org.eclipse.dash.licenses + org.eclipse.dash.licenses.core ${project.version} diff --git a/pom.xml b/pom.xml index a29a48a0..1d5c12e0 100644 --- a/pom.xml +++ b/pom.xml @@ -60,6 +60,7 @@ core maven-plugin + shaded diff --git a/shaded/pom.xml b/shaded/pom.xml new file mode 100644 index 00000000..37cb58c6 --- /dev/null +++ b/shaded/pom.xml @@ -0,0 +1,92 @@ + + + + 4.0.0 + + org.eclipse.dash + dash-licenses-parent + 1.0.3-SNAPSHOT + ../pom.xml + + org.eclipse.dash.licenses + + + + Eclipse Public License 2.0 + https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.txt + + + + + + Wayne Beaton + The Eclipse Foundation + https://eclipse.org + + + + + The Eclipse Dash Project + https://eclipse.org/dash + + + Eclipse Dash License Tool Executable JAR + The Eclipse Dash License Tool bundled as an executable JAR. + https://github.com/eclipse/dash-licenses + + + https://github.com/eclipse/dash-licenses + HEAD + + + + GitHub + https://github.com/eclipse/dash-licenses/issues + + + + + org.eclipse.dash + org.eclipse.dash.licenses.core + ${project.version} + + + + + + org.apache.maven.plugins + maven-shade-plugin + 3.5.0 + + + package + + shade + + + + + org.eclipse.dash.licenses.cli.Main + + + + false + + + + + + + +