From a118f29eda9f8baf604eab06616e226a7b75ca0f Mon Sep 17 00:00:00 2001 From: Stuart McCulloch Date: Sun, 26 Mar 2023 23:01:44 +0100 Subject: [PATCH] Remove tycho packaging --- .../.settings/org.eclipse.jdt.core.prefs | 4 - .../build.properties | 16 -- org.eclipse.sisu.plexus.extender/pom.xml | 34 +-- .../.settings/org.eclipse.jdt.core.prefs | 4 - org.eclipse.sisu.plexus.tests/pom.xml | 12 + .../.settings/org.eclipse.jdt.core.prefs | 4 - org.eclipse.sisu.plexus/build.properties | 19 -- org.eclipse.sisu.plexus/build.target | 138 ------------ org.eclipse.sisu.plexus/pom.xml | 88 +++----- pom.xml | 205 ++++-------------- 10 files changed, 101 insertions(+), 423 deletions(-) delete mode 100644 org.eclipse.sisu.plexus.extender/.settings/org.eclipse.jdt.core.prefs delete mode 100644 org.eclipse.sisu.plexus.extender/build.properties delete mode 100644 org.eclipse.sisu.plexus.tests/.settings/org.eclipse.jdt.core.prefs delete mode 100644 org.eclipse.sisu.plexus/.settings/org.eclipse.jdt.core.prefs delete mode 100644 org.eclipse.sisu.plexus/build.properties delete mode 100644 org.eclipse.sisu.plexus/build.target diff --git a/org.eclipse.sisu.plexus.extender/.settings/org.eclipse.jdt.core.prefs b/org.eclipse.sisu.plexus.extender/.settings/org.eclipse.jdt.core.prefs deleted file mode 100644 index 64cef50..0000000 --- a/org.eclipse.sisu.plexus.extender/.settings/org.eclipse.jdt.core.prefs +++ /dev/null @@ -1,4 +0,0 @@ -eclipse.preferences.version=1 -org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7 -org.eclipse.jdt.core.compiler.compliance=1.7 -org.eclipse.jdt.core.compiler.source=1.7 diff --git a/org.eclipse.sisu.plexus.extender/build.properties b/org.eclipse.sisu.plexus.extender/build.properties deleted file mode 100644 index 9775300..0000000 --- a/org.eclipse.sisu.plexus.extender/build.properties +++ /dev/null @@ -1,16 +0,0 @@ -############################################################################### -# Copyright (c) 2010-present Sonatype, Inc. -# All rights reserved. This program and the accompanying materials -# are made available under the terms of the Eclipse Public License v1.0 -# which accompanies this distribution, and is available at -# http://www.eclipse.org/legal/epl-v10.html -# -# Contributors: -# Stuart McCulloch (Sonatype, Inc.) - initial API and implementation -############################################################################### -source.. = src/ -output.. = target/classes/ -src.includes = about.html -bin.includes = META-INF/,\ - about.html,\ - . diff --git a/org.eclipse.sisu.plexus.extender/pom.xml b/org.eclipse.sisu.plexus.extender/pom.xml index cc3916c..63639f1 100644 --- a/org.eclipse.sisu.plexus.extender/pom.xml +++ b/org.eclipse.sisu.plexus.extender/pom.xml @@ -21,27 +21,33 @@ org.eclipse.sisu.plexus.extender - eclipse-plugin + jar src + + + . + + META-INF/** + about.html + overview.html + + + - org.eclipse.tycho - target-platform-configuration - - - org.eclipse.tycho - tycho-maven-plugin - true - - - org.eclipse.tycho - tycho-source-plugin - - + org.apache.maven.plugins maven-jar-plugin + + default-jar + + + ${project.build.outputDirectory}/META-INF/MANIFEST.MF + + + empty-javadoc package diff --git a/org.eclipse.sisu.plexus.tests/.settings/org.eclipse.jdt.core.prefs b/org.eclipse.sisu.plexus.tests/.settings/org.eclipse.jdt.core.prefs deleted file mode 100644 index 64cef50..0000000 --- a/org.eclipse.sisu.plexus.tests/.settings/org.eclipse.jdt.core.prefs +++ /dev/null @@ -1,4 +0,0 @@ -eclipse.preferences.version=1 -org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7 -org.eclipse.jdt.core.compiler.compliance=1.7 -org.eclipse.jdt.core.compiler.source=1.7 diff --git a/org.eclipse.sisu.plexus.tests/pom.xml b/org.eclipse.sisu.plexus.tests/pom.xml index 73d417c..a1f1495 100644 --- a/org.eclipse.sisu.plexus.tests/pom.xml +++ b/org.eclipse.sisu.plexus.tests/pom.xml @@ -64,6 +64,7 @@ + org.apache.maven.plugins maven-dependency-plugin true @@ -182,6 +183,7 @@ + org.apache.maven.plugins maven-surefire-plugin ${project.build.sourceDirectory} @@ -275,6 +277,7 @@ + org.apache.maven.plugins maven-clean-plugin @@ -324,12 +327,21 @@ + org.apache.maven.plugins + maven-source-plugin + + true + + + + org.apache.maven.plugins maven-javadoc-plugin true + org.apache.maven.plugins maven-deploy-plugin true diff --git a/org.eclipse.sisu.plexus/.settings/org.eclipse.jdt.core.prefs b/org.eclipse.sisu.plexus/.settings/org.eclipse.jdt.core.prefs deleted file mode 100644 index 64cef50..0000000 --- a/org.eclipse.sisu.plexus/.settings/org.eclipse.jdt.core.prefs +++ /dev/null @@ -1,4 +0,0 @@ -eclipse.preferences.version=1 -org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7 -org.eclipse.jdt.core.compiler.compliance=1.7 -org.eclipse.jdt.core.compiler.source=1.7 diff --git a/org.eclipse.sisu.plexus/build.properties b/org.eclipse.sisu.plexus/build.properties deleted file mode 100644 index 2627692..0000000 --- a/org.eclipse.sisu.plexus/build.properties +++ /dev/null @@ -1,19 +0,0 @@ -############################################################################### -# Copyright (c) 2010-present Sonatype, Inc. -# All rights reserved. This program and the accompanying materials -# are made available under the terms of the Eclipse Public License v1.0 -# which accompanies this distribution, and is available at -# http://www.eclipse.org/legal/epl-v10.html -# -# Contributors: -# Stuart McCulloch (Sonatype, Inc.) - initial API and implementation -############################################################################### -source.. = src/ -output.. = target/classes/ -src.includes = about.html -bin.includes = META-INF/,\ - about.html,\ - . - -extra.. = platform:/plugin/javax.annotation-api -additional.bundles = javax.annotation-api diff --git a/org.eclipse.sisu.plexus/build.target b/org.eclipse.sisu.plexus/build.target deleted file mode 100644 index 9e6ccd7..0000000 --- a/org.eclipse.sisu.plexus/build.target +++ /dev/null @@ -1,138 +0,0 @@ - - - - - - org.osgi - org.eclipse.osgi - 3.10.100.v20150529-1857 - jar - - - org.eclipse.jdt - org.eclipse.jdt.apt.core - 3.4.100 - jar - - - org.slf4j - slf4j-api - 1.6.4 - jar - - - ch.qos.logback - logback-core - 1.0.0 - jar - - - ch.qos.logback - logback-classic - 1.0.0 - jar - - - javax.annotation - javax.annotation-api - 1.2 - jar - - - org.apache.servicemix.bundles - org.apache.servicemix.bundles.javax-inject - 1_3 - jar - - - org.apache.servicemix.bundles - org.apache.servicemix.bundles.aopalliance - 1.0_1 - jar - - - javax.el - javax.el-api - 3.0.0 - jar - - - javax.interceptor - javax.interceptor-api - 1.2 - jar - - - javax.enterprise - cdi-api - 1.2 - jar - - - com.google.guava - guava - 16.0 - jar - - - com.google.inject - guice - 4.0 - jar - - - javax.servlet - servlet-api - 2.5 - jar - - - com.google.inject.extensions - guice-servlet - 4.0 - jar - - - junit - junit - 4.11 - jar - - - org.testng - testng - 6.7 - jar - - - org.eclipse.sisu - org.eclipse.sisu.inject - 0.9.0-SNAPSHOT - jar - - - org.eclipse.sisu - org.eclipse.sisu.inject.extender - 0.9.0-SNAPSHOT - jar - - - org.codehaus.plexus - plexus-classworlds - 2.5.2 - jar - - - org.codehaus.plexus - plexus-utils - 3.0.17 - jar - - - org.codehaus.plexus - plexus-component-annotations - 1.5.5 - jar - - - diff --git a/org.eclipse.sisu.plexus/pom.xml b/org.eclipse.sisu.plexus/pom.xml index 0bff4ff..db3f14c 100644 --- a/org.eclipse.sisu.plexus/pom.xml +++ b/org.eclipse.sisu.plexus/pom.xml @@ -21,7 +21,7 @@ org.eclipse.sisu.plexus - eclipse-plugin + jar - - false - - - - - tycho.extensions - - - src - - - - true - - - - diff --git a/pom.xml b/pom.xml index 04d2f9d..19a27de 100644 --- a/pom.xml +++ b/pom.xml @@ -86,131 +86,41 @@ 3.6.3 11 - - scm:git:https://github.com/eclipse/sisu.plexus.git - 2.7.5 - org.eclipse.tycho - target-platform-configuration - ${tycho-version} - - JavaSE-1.8 - - - org.eclipse.sisu - org.eclipse.sisu.plexus - ${project.version} - build - - - - - win32 - win32 - x86 - - - linux - gtk - x86_64 - - - macosx - cocoa - x86_64 - - - - - - org.eclipse.tycho - tycho-compiler-plugin - ${tycho-version} - - - org.eclipse.tycho - tycho-maven-plugin - ${tycho-version} - - - org.eclipse.tycho - tycho-p2-plugin - ${tycho-version} - - - org.eclipse.tycho - tycho-p2-publisher-plugin - ${tycho-version} - - - org.eclipse.tycho - tycho-p2-repository-plugin - ${tycho-version} - - - org.eclipse.tycho - tycho-packaging-plugin - ${tycho-version} - - - false - - - true - - - - - org.eclipse.tycho.extras - tycho-sourceref-jgit - ${tycho-version} - - - - - org.eclipse.tycho - tycho-source-plugin - ${tycho-version} - - - plugin-source - - plugin-source - - - - - - org.eclipse.tycho - tycho-surefire-plugin - ${tycho-version} - - + org.apache.maven.plugins maven-antrun-plugin 3.1.0 + org.apache.maven.plugins maven-clean-plugin 3.2.0 + org.apache.maven.plugins maven-resources-plugin 3.3.0 + org.apache.maven.plugins maven-compiler-plugin 3.11.0 + + none + + org.apache.maven.plugins maven-dependency-plugin 3.5.0 + org.apache.maven.plugins maven-surefire-plugin 3.0.0 @@ -222,6 +132,7 @@ + org.apache.maven.plugins maven-failsafe-plugin 3.0.0 @@ -233,14 +144,17 @@ + org.apache.maven.plugins maven-jar-plugin 3.3.0 + org.apache.maven.plugins maven-install-plugin 3.1.0 + org.apache.maven.plugins maven-deploy-plugin 3.1.0 @@ -255,6 +169,7 @@ 1.6.13 + org.apache.maven.plugins maven-release-plugin 3.0.0 @@ -262,6 +177,12 @@ + org.apache.maven.plugins + maven-source-plugin + 3.2.1 + + + org.apache.maven.plugins maven-javadoc-plugin 3.5.0 @@ -273,6 +194,7 @@ + org.apache.maven.plugins maven-site-plugin 3.12.1 @@ -281,11 +203,6 @@ spotless-maven-plugin 2.35.0 - - org.codehaus.mojo - build-helper-maven-plugin - 3.3.0 - @@ -306,7 +223,8 @@ ${maven.compiler.target} - p2.eclipse.plugin:wrapped.org.junit.jupiter.junit-jupiter-api + org.junit.jupiter:junit-jupiter-api + org.junit.platform:junit-platform-commons org.apache.felix:org.apache.felix.framework:jar:7.0.5 @@ -328,12 +246,26 @@ + + org.apache.maven.plugins + maven-source-plugin + + + attach-sources + verify + + jar-no-fork + + + + + org.apache.maven.plugins maven-project-info-reports-plugin 3.4.2 @@ -367,73 +299,12 @@ - - m2e - - - m2e.version - - - - - - - - org.eclipse.m2e - lifecycle-mapping - 1.0.0 - - - - - - org.codehaus.mojo - build-helper-maven-plugin - [1.0,) - attach-artifact - - - - - - org.eclipse.tycho - target-platform-configuration - [1.0,) - target-platform - - - - - - org.apache.maven.plugins - maven-clean-plugin - [2.4.1,) - clean - - - - - - org.apache.maven.plugins - maven-dependency-plugin - [2.1,) - copy - - - - - - - - - - - sonatype-oss-release + org.apache.maven.plugins maven-gpg-plugin 3.0.1