Author: iocanel
Date: Tue Dec 6 14:04:37 2011
New Revision: 1210922
URL: http://svn.apache.org/viewvc?rev=1210922&view=rev
Log:
[SMX4-1000] Added an antrun target on bcprov bundles that echo simple
instruction required for building those bundles. Updated bundles-pom with
plugin management for jarsigner and antrun plugin.
Modified:
servicemix/smx4/bundles/trunk/bcprov-jdk15-1.46/pom.xml
servicemix/smx4/bundles/trunk/bcprov-jdk16-1.46/pom.xml
servicemix/smx4/bundles/trunk/bundles-pom/pom.xml
servicemix/smx4/bundles/trunk/pom.xml
Modified: servicemix/smx4/bundles/trunk/bcprov-jdk15-1.46/pom.xml
URL:
http://svn.apache.org/viewvc/servicemix/smx4/bundles/trunk/bcprov-jdk15-1.46/pom.xml?rev=1210922&r1=1210921&r2=1210922&view=diff
==============================================================================
--- servicemix/smx4/bundles/trunk/bcprov-jdk15-1.46/pom.xml (original)
+++ servicemix/smx4/bundles/trunk/bcprov-jdk15-1.46/pom.xml Tue Dec 6 14:04:37
2011
@@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.servicemix.bundles</groupId>
<artifactId>bundles-pom</artifactId>
- <version>6</version>
+ <version>7-SNAPSHOT</version>
<relativePath>../bundles-pom/pom.xml</relativePath>
</parent>
@@ -65,6 +65,28 @@
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <executions>
+ <execution>
+ <phase>validate</phase>
+ <configuration>
+ <target>
+ <echo>
+ This bundle requires jar signing. In order to
properly jar sign this bundle, you will need the following:
+ 1. Create a keystore using the keytool that
ships with your jdk.
+ keytool -genkeypair -alias [alias]
-keyalg RSA -keystore [path].
+ 2. Add the required keystore properties
[keystore,alias,keypass,storepass] inside your maven profile [settings.xml]
+ </echo>
+ </target>
+ </configuration>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<executions>
<execution>
Modified: servicemix/smx4/bundles/trunk/bcprov-jdk16-1.46/pom.xml
URL:
http://svn.apache.org/viewvc/servicemix/smx4/bundles/trunk/bcprov-jdk16-1.46/pom.xml?rev=1210922&r1=1210921&r2=1210922&view=diff
==============================================================================
--- servicemix/smx4/bundles/trunk/bcprov-jdk16-1.46/pom.xml (original)
+++ servicemix/smx4/bundles/trunk/bcprov-jdk16-1.46/pom.xml Tue Dec 6 14:04:37
2011
@@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.servicemix.bundles</groupId>
<artifactId>bundles-pom</artifactId>
- <version>6</version>
+ <version>7-SNAPSHOT</version>
<relativePath>../bundles-pom/pom.xml</relativePath>
</parent>
@@ -65,6 +65,30 @@
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <executions>
+ <execution>
+ <phase>validate</phase>
+ <configuration>
+ <target>
+ <echo>
+ This bundle requires jar signing. In order
to properly jar sign this bundle, you
+ will need the following:
+ 1. Create a keystore using the keytool
that ships with your jdk.
+ keytool -genkeypair -alias [alias] -keyalg
RSA -keystore [path].
+ 2. Add the required keystore properties
[keystore,alias,keypass,storepass] inside
+ your maven profile [settings.xml]
+ </echo>
+ </target>
+ </configuration>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<executions>
<execution>
@@ -98,6 +122,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jarsigner-plugin</artifactId>
+ <version>1.2</version>
<executions>
<execution>
<id>package</id>
Modified: servicemix/smx4/bundles/trunk/bundles-pom/pom.xml
URL:
http://svn.apache.org/viewvc/servicemix/smx4/bundles/trunk/bundles-pom/pom.xml?rev=1210922&r1=1210921&r2=1210922&view=diff
==============================================================================
--- servicemix/smx4/bundles/trunk/bundles-pom/pom.xml (original)
+++ servicemix/smx4/bundles/trunk/bundles-pom/pom.xml Tue Dec 6 14:04:37 2011
@@ -93,7 +93,18 @@
<artifactId>maven-shade-plugin</artifactId>
<version>1.1</version>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <version>1.7</version>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jarsigner-plugin</artifactId>
+ <version>1.2</version>
+ </plugin>
</plugins>
+
</pluginManagement>
<plugins>
Modified: servicemix/smx4/bundles/trunk/pom.xml
URL:
http://svn.apache.org/viewvc/servicemix/smx4/bundles/trunk/pom.xml?rev=1210922&r1=1210921&r2=1210922&view=diff
==============================================================================
--- servicemix/smx4/bundles/trunk/pom.xml (original)
+++ servicemix/smx4/bundles/trunk/pom.xml Tue Dec 6 14:04:37 2011
@@ -41,6 +41,7 @@
<name>Apache ServiceMix :: Bundles</name>
<modules>
+ <module>bundles-pom</module>
<module>xstream-1.4.2</module>
<module>quartz-2.1.0</module>
<module>commons-validator-1.3.1</module>