Author: carlos Date: Fri Jun 1 16:38:41 2007 New Revision: 543666 URL: http://svn.apache.org/viewvc?view=rev&rev=543666 Log: [MNG-2943] Avoid using package names used in other artifacts, configure the bundle plugin to ignore deprecated packages
Modified: maven/components/trunk/maven-core/pom.xml maven/components/trunk/maven-settings/pom.xml maven/components/trunk/pom.xml Modified: maven/components/trunk/maven-core/pom.xml URL: http://svn.apache.org/viewvc/maven/components/trunk/maven-core/pom.xml?view=diff&rev=543666&r1=543665&r2=543666 ============================================================================== --- maven/components/trunk/maven-core/pom.xml (original) +++ maven/components/trunk/maven-core/pom.xml Fri Jun 1 16:38:41 2007 @@ -150,4 +150,17 @@ <scope>test</scope> </dependency> </dependencies> + <build> + <plugins> + <plugin> + <groupId>org.apache.felix</groupId> + <artifactId>maven-bundle-plugin</artifactId> + <configuration> + <instructions> + <Export-Package>!org.apache.maven.monitor.*,*</Export-Package> + </instructions> + </configuration> + </plugin> + </plugins> + </build> </project> Modified: maven/components/trunk/maven-settings/pom.xml URL: http://svn.apache.org/viewvc/maven/components/trunk/maven-settings/pom.xml?view=diff&rev=543666&r1=543665&r2=543666 ============================================================================== --- maven/components/trunk/maven-settings/pom.xml (original) +++ maven/components/trunk/maven-settings/pom.xml Fri Jun 1 16:38:41 2007 @@ -47,6 +47,15 @@ </execution> </executions> </plugin> + <plugin> + <groupId>org.apache.felix</groupId> + <artifactId>maven-bundle-plugin</artifactId> + <configuration> + <instructions> + <Export-Package>!org.apache.maven,*</Export-Package> + </instructions> + </configuration> + </plugin> </plugins> </build> <dependencies> Modified: maven/components/trunk/pom.xml URL: http://svn.apache.org/viewvc/maven/components/trunk/pom.xml?view=diff&rev=543666&r1=543665&r2=543666 ============================================================================== --- maven/components/trunk/pom.xml (original) +++ maven/components/trunk/pom.xml Fri Jun 1 16:38:41 2007 @@ -100,21 +100,25 @@ </execution> </executions> </plugin> + <plugin> + <groupId>org.apache.felix</groupId> + <artifactId>maven-bundle-plugin</artifactId> + <!-- if plugin not released at maven release time the manifests generated could be checked in by hand --> + <version>0.9.0-incubator-SNAPSHOT</version> + <executions> + <execution> + <goals> + <goal>manifest</goal> + </goals> + </execution> + </executions> + </plugin> </plugins> </pluginManagement> <plugins> - <!-- if plugin not released at maven release time the manifests generated could be checked in by hand --> <plugin> <groupId>org.apache.felix</groupId> <artifactId>maven-bundle-plugin</artifactId> - <version>0.9.0-incubator-SNAPSHOT</version> - <executions> - <execution> - <goals> - <goal>manifest</goal> - </goals> - </execution> - </executions> </plugin> <!-- Needed for including the manifest, see MJAR-71 --> <plugin>