You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@felix.apache.org by da...@apache.org on 2019/10/23 14:29:37 UTC
svn commit: r1868805 - /felix/trunk/converter/converter/pom.xml
Author: davidb
Date: Wed Oct 23 14:29:37 2019
New Revision: 1868805
URL: http://svn.apache.org/viewvc?rev=1868805&view=rev
Log:
FELIX-6150 Converter bundle should not embed osgi functions
The embedded org.osgi.util.function has been removed from the artifact.
A new artifact with the 'all' qualifier is now also built which still contains the org.osgi.util.function API for backward compatibility.
Modified:
felix/trunk/converter/converter/pom.xml
Modified: felix/trunk/converter/converter/pom.xml
URL: http://svn.apache.org/viewvc/felix/trunk/converter/converter/pom.xml?rev=1868805&r1=1868804&r2=1868805&view=diff
==============================================================================
--- felix/trunk/converter/converter/pom.xml (original)
+++ felix/trunk/converter/converter/pom.xml Wed Oct 23 14:29:37 2019
@@ -23,13 +23,13 @@
<groupId>org.apache.felix</groupId>
<artifactId>felix-parent</artifactId>
<version>6</version>
- <relativePath>../pom/pom.xml</relativePath>
+ <relativePath>../../pom/pom.xml</relativePath>
</parent>
<name>Apache Felix Converter</name>
<artifactId>org.apache.felix.converter</artifactId>
<version>1.0.11-SNAPSHOT</version>
- <packaging>jar</packaging>
+ <packaging>bundle</packaging>
<scm>
<connection>scm:svn:http://svn.apache.org/repos/asf/felix/trunk/converter/converter</connection>
@@ -57,35 +57,59 @@
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
- <version>4.2.0</version>
+ <version>4.2.1</version>
+ <extensions>true</extensions>
<executions>
<execution>
<id>bundle</id>
- <phase>package</phase>
<goals>
<goal>bundle</goal>
</goals>
+ <configuration>
+ <instructions>
+ <Export-Package>
+ org.osgi.util.converter;-split-package:=merge-first
+ </Export-Package>
+ <Import-Package>
+ org.osgi.util.converter,
+ *
+ </Import-Package>
+ </instructions>
+ </configuration>
</execution>
<execution>
- <id>baseline</id>
+ <id>allbundle</id>
<goals>
- <goal>baseline</goal>
+ <goal>bundle</goal>
</goals>
+ <configuration>
+ <classifier>all</classifier>
+ <instructions>
+ <Bundle-Name>
+ ${project.name} (All In One)
+ </Bundle-Name>
+ <Bundle-Version>
+ ${project.version}-all
+ </Bundle-Version>
+ <Export-Package>
+ org.osgi.util.converter,
+ org.osgi.util.function
+ </Export-Package>
+ <Import-Package>
+ org.osgi.util.converter,
+ org.osgi.util.function,
+ *
+ </Import-Package>
+ <Embed-Dependency>
+ org.osgi.util.function;inline=true
+ </Embed-Dependency>
+ <_removeheaders>
+ Embed-Dependency
+ </_removeheaders>
+ </instructions>
+ </configuration>
</execution>
</executions>
- <configuration>
- <instructions>
- <Export-Package>
- org.osgi.util.function,
- org.osgi.util.converter;-split-package:=merge-first
- </Export-Package>
- <Import-Package>
- org.osgi.util.function,
- org.osgi.util.converter,
- *
- </Import-Package>
- </instructions>
- </configuration>
</plugin>
<plugin>
<groupId>org.apache.rat</groupId>
@@ -107,6 +131,7 @@
<groupId>org.osgi</groupId>
<artifactId>org.osgi.util.function</artifactId>
<version>1.0.0</version>
+ <scope>provided</scope>
</dependency>
<dependency>