Author: gseitz Date: Sat May 17 05:35:32 2008 New Revision: 657346 URL: http://svn.apache.org/viewvc?rev=657346&view=rev Log: WICKET-1641: provide OSGi metadata
Modified:
wicket/trunk/pom.xml
wicket/trunk/wicket/pom.xml
Modified: wicket/trunk/pom.xml
URL:
http://svn.apache.org/viewvc/wicket/trunk/pom.xml?rev=657346&r1=657345&r2=657346&view=diff
==============================================================================
--- wicket/trunk/pom.xml (original)
+++ wicket/trunk/pom.xml Sat May 17 05:35:32 2008
@@ -83,6 +83,11 @@
<artifactId>maven-surefire-plugin</artifactId>
<inherited>true</inherited>
</plugin>
+ <plugin>
+
<groupId>org.apache.felix</groupId>
+
<artifactId>maven-bundle-plugin</artifactId>
+ <inherited>true</inherited>
+ </plugin>
</plugins>
</build>
</profile>
@@ -142,6 +147,11 @@
<artifactId>maven-surefire-plugin</artifactId>
<inherited>true</inherited>
</plugin>
+ <plugin>
+
<groupId>org.apache.felix</groupId>
+
<artifactId>maven-bundle-plugin</artifactId>
+ <inherited>true</inherited>
+ </plugin>
</plugins>
</build>
<distributionManagement>
@@ -545,14 +555,14 @@
<inherited>true</inherited>
</plugin>
<plugin>
- <artifactId>maven-jar-plugin</artifactId>
- <executions>
- <execution>
- <goals>
- <goal>test-jar</goal>
- </goals>
- </execution>
- </executions>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jar-plugin</artifactId>
+ <inherited>true</inherited>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>maven-bundle-plugin</artifactId>
+ <inherited>true</inherited>
</plugin>
</plugins>
@@ -616,8 +626,9 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
- <version>2.1</version>
+ <version>2.2</version>
<configuration>
+
<useDefaultManifestFile>true</useDefaultManifestFile>
<archive>
<index>true</index>
<manifest>
@@ -628,6 +639,16 @@
</manifestEntries>
</archive>
</configuration>
+ <executions>
+ <execution>
+ <goals>
+ <goal>test-jar</goal>
+ </goals>
+ <configuration>
+
<useDefaultManifestFile>false</useDefaultManifestFile>
+ </configuration>
+ </execution>
+ </executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
@@ -703,6 +724,27 @@
</executions>
<inherited>true</inherited>
</plugin>
+ <plugin>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>maven-bundle-plugin</artifactId>
+ <version>1.4.1</version>
+ <executions>
+ <execution>
+ <id>bundle-manifest</id>
+ <phase>process-classes</phase>
+ <goals>
+ <goal>manifest</goal>
+ </goals>
+ <configuration>
+ <instructions>
+
<Import-Package>org.apache.wicket*</Import-Package>
+
<Dynamic-ImportPackage>*</Dynamic-ImportPackage>
+ <_nouses>true</_nouses>
+ </instructions>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</pluginManagement>
</build>
Modified: wicket/trunk/wicket/pom.xml
URL:
http://svn.apache.org/viewvc/wicket/trunk/wicket/pom.xml?rev=657346&r1=657345&r2=657346&view=diff
==============================================================================
--- wicket/trunk/wicket/pom.xml (original)
+++ wicket/trunk/wicket/pom.xml Sat May 17 05:35:32 2008
@@ -61,17 +61,7 @@
<configuration>
<licenseLocation>${basedir}/../../../common/lib/clover.license</licenseLocation>
</configuration>
- </plugin>
- <plugin>
- <artifactId>maven-jar-plugin</artifactId>
- <executions>
- <execution>
- <goals>
- <goal>test-jar</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
+ </plugin>
</plugins>
</build>
</project>
