From 363b2b093ccecfc75fd28f49ca2aa139bbc6d1ce Mon Sep 17 00:00:00 2001 From: Decebal Suiu Date: Mon, 5 Nov 2012 13:58:18 +0200 Subject: [PATCH] it seems to me that properties-maven-plugin doesn't work with maven 3 --- demo/plugin1/pom.xml | 118 ++++++++++++++++++++++++------------------- demo/plugin2/pom.xml | 56 ++++++++++---------- demo/pom.xml | 13 ----- pom.xml | 62 ++++++++++++----------- 4 files changed, 126 insertions(+), 123 deletions(-) diff --git a/demo/plugin1/pom.xml b/demo/plugin1/pom.xml index 074aeca..c36948e 100644 --- a/demo/plugin1/pom.xml +++ b/demo/plugin1/pom.xml @@ -21,47 +21,58 @@ + + + welcome-plugin + ro.fortsoft.pf4j.demo.welcome.WelcomePlugin + 0.0.1 + Decebal Suiu + + + + + + + org.apache.maven.plugins + maven-antrun-plugin + 1.6 + + + unzip jar file + package + + + + + + + run + + + + + maven-assembly-plugin 2.3 @@ -84,21 +95,22 @@ - - org.apache.maven.plugins - maven-jar-plugin - - - - ${plugin.id} - ${plugin.class} - ${plugin.version} - ${plugin.provider} - ${plugin.dependencies} - - - - + + org.apache.maven.plugins + maven-jar-plugin + 2.4 + + + + ${plugin.id} + ${plugin.class} + ${plugin.version} + ${plugin.provider} + ${plugin.dependencies} + + + + maven-deploy-plugin diff --git a/demo/plugin2/pom.xml b/demo/plugin2/pom.xml index 1b393a6..3b65ea6 100644 --- a/demo/plugin2/pom.xml +++ b/demo/plugin2/pom.xml @@ -20,27 +20,37 @@ repo + + + hello-plugin + ro.fortsoft.pf4j.demo.hello.HelloPlugin + 0.0.1 + Decebal Suiu + + + org.apache.maven.plugins @@ -66,28 +76,19 @@ maven-assembly-plugin 2.3 - false src/main/assembly/assembly.xml - - - ${plugin.id} - ${plugin.class} - ${plugin.version} - ${plugin.provider} - ${plugin.dependencies} - - + false make-assembly package - single + attached @@ -96,6 +97,7 @@ org.apache.maven.plugins maven-jar-plugin + 2.4 diff --git a/demo/pom.xml b/demo/pom.xml index 6171fad..fa8bb3a 100644 --- a/demo/pom.xml +++ b/demo/pom.xml @@ -35,19 +35,6 @@ src/main/resources - - - - org.apache.maven.plugins - maven-compiler-plugin - 2.3.2 - - 1.6 - 1.6 - true - - - diff --git a/pom.xml b/pom.xml index dec1ef3..1656b31 100644 --- a/pom.xml +++ b/pom.xml @@ -2,10 +2,10 @@ - org.sonatype.oss - oss-parent - 7 - + org.sonatype.oss + oss-parent + 7 + 4.0.0 ro.fortsoft.pf4j @@ -48,28 +48,30 @@ - org.apache.maven.plugins - maven-javadoc-plugin - - - - jar - - - - + org.apache.maven.plugins + maven-javadoc-plugin + 2.8 + + + + jar + + + + - - org.apache.maven.plugins - maven-source-plugin - - - - jar - - - - + + org.apache.maven.plugins + maven-source-plugin + 2.2 + + + + jar + + + + org.apache.maven.plugins @@ -89,15 +91,15 @@ maven-jar-plugin - 2.3.1 - + 2.4 + - pf4j - demo - + pf4j + demo +