Author: djencks
Date: Sat May 9 00:01:45 2009
New Revision: 773138
URL: http://svn.apache.org/viewvc?rev=773138&view=rev
Log:
Read the instructions for the bundle plugin and update usage slightly
Modified:
portals/portlet-spec/trunk/portlet-api-1.0/pom.xml
portals/portlet-spec/trunk/portlet-api-2.0/pom.xml
Modified: portals/portlet-spec/trunk/portlet-api-1.0/pom.xml
URL:
http://svn.apache.org/viewvc/portals/portlet-spec/trunk/portlet-api-1.0/pom.xml?rev=773138&r1=773137&r2=773138&view=diff
==============================================================================
--- portals/portlet-spec/trunk/portlet-api-1.0/pom.xml (original)
+++ portals/portlet-spec/trunk/portlet-api-1.0/pom.xml Sat May 9 00:01:45 2009
@@ -37,7 +37,7 @@
<modelVersion>4.0.0</modelVersion>
<artifactId>portlet-api_1.0_spec</artifactId>
<version>1.0-SNAPSHOT</version>
- <packaging>jar</packaging>
+ <packaging>bundle</packaging>
<name>Java Portlet Specification V1.0</name>
<description>The Java Portlet API version 1.0 developed by the Java
Community Process JSR-168 Expert Group.
</description>
@@ -86,25 +86,16 @@
<Implementation-Version>${project.version}</Implementation-Version>
</instructions>
</configuration>
- <executions>
- <execution>
- <id>bundle-manifest</id>
- <phase>process-classes</phase>
- <goals>
- <goal>manifest</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- <configuration>
- <archive>
-
<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
- </archive>
- </configuration>
</plugin>
+ <!--<plugin>-->
+ <!--<groupId>org.apache.maven.plugins</groupId>-->
+ <!--<artifactId>maven-jar-plugin</artifactId>-->
+ <!--<configuration>-->
+ <!--<archive>-->
+
<!--<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>-->
+ <!--</archive>-->
+ <!--</configuration>-->
+ <!--</plugin>-->
</plugins>
</pluginManagement>
Modified: portals/portlet-spec/trunk/portlet-api-2.0/pom.xml
URL:
http://svn.apache.org/viewvc/portals/portlet-spec/trunk/portlet-api-2.0/pom.xml?rev=773138&r1=773137&r2=773138&view=diff
==============================================================================
--- portals/portlet-spec/trunk/portlet-api-2.0/pom.xml (original)
+++ portals/portlet-spec/trunk/portlet-api-2.0/pom.xml Sat May 9 00:01:45 2009
@@ -37,7 +37,7 @@
<modelVersion>4.0.0</modelVersion>
<artifactId>portlet-api_2.0_spec</artifactId>
<version>1.0-SNAPSHOT</version>
- <packaging>jar</packaging>
+ <packaging>bundle</packaging>
<name>Java Portlet Specification V2.0</name>
<description>The Java Portlet API version 2.0 developed by the Java
Community Process JSR-286 Expert Group.
</description>
@@ -102,26 +102,17 @@
<Implementation-Version>${project.version}</Implementation-Version>
</instructions>
</configuration>
- <executions>
- <execution>
- <id>bundle-manifest</id>
- <phase>process-classes</phase>
- <goals>
- <goal>manifest</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- <version>2.1</version>
- <configuration>
- <archive>
-
<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
- </archive>
- </configuration>
</plugin>
+ <!--<plugin>-->
+ <!--<groupId>org.apache.maven.plugins</groupId>-->
+ <!--<artifactId>maven-jar-plugin</artifactId>-->
+ <!--<version>2.1</version>-->
+ <!--<configuration>-->
+ <!--<archive>-->
+
<!--<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>-->
+ <!--</archive>-->
+ <!--</configuration>-->
+ <!--</plugin>-->
<!-- previous code to install bundle manifest entries by hand -->
<!--<plugin>-->
<!--<groupId>org.apache.maven.plugins</groupId>-->