httplite: fix versioning errors in pom, provided by patch from Yann Diorcet. See FELIX-3287
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1221759 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/httplite/complete/pom.xml b/httplite/complete/pom.xml
index e872732..e605e9a 100644
--- a/httplite/complete/pom.xml
+++ b/httplite/complete/pom.xml
@@ -33,7 +33,7 @@
<dependency>
<groupId>org.apache.felix</groupId>
<artifactId>org.apache.felix.httplite</artifactId>
- <version>${pom.version}</version>
+ <version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.osgi</groupId>
@@ -62,7 +62,7 @@
<instructions>
<Private-Package>org.apache.felix.httplite.osgi, org.apache.felix.httplite.server, org.apache.felix.httplite.servlet</Private-Package>
<Export-Service>org.osgi.service.http.HttpService</Export-Service>
- <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>
+ <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
<Bundle-Activator>org.apache.felix.httplite.osgi.Activator</Bundle-Activator>
<Bundle-Vendor>The Apache Software Foundation</Bundle-Vendor>
<Include-Resource>META-INF/LICENSE=LICENSE,META-INF/NOTICE=NOTICE,META-INF/DEPENDENCIES=DEPENDENCIES</Include-Resource>
diff --git a/httplite/minimum/pom.xml b/httplite/minimum/pom.xml
index c5d3702..1f4e8aa 100644
--- a/httplite/minimum/pom.xml
+++ b/httplite/minimum/pom.xml
@@ -9,7 +9,7 @@
OF ANY KIND, either express or implied. See the License for the specific
language governing permissions and limitations under the License. -->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<parent>
<groupId>org.apache.felix</groupId>
<artifactId>felix-parent</artifactId>
@@ -59,6 +59,17 @@
</dependency>
</dependencies>
<build>
+ <resources>
+ <resource>
+ <directory>${project.basedir}</directory>
+ <targetPath>META-INF/</targetPath>
+ <includes>
+ <include>LICENSE</include>
+ <include>NOTICE</include>
+ <include>DEPENDENCIES</include>
+ </includes>
+ </resource>
+ </resources>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
@@ -76,15 +87,15 @@
<extensions>true</extensions>
<configuration>
<instructions>
- <Export-Package />
+ <Export-Package/>
<Private-Package>org.apache.felix.httplite.osgi,
org.apache.felix.httplite.server,
- org.apache.felix.httplite.servlet</Private-Package>
+ org.apache.felix.httplite.servlet
+ </Private-Package>
<Export-Service>org.osgi.service.http.HttpService</Export-Service>
- <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>
- <Bundle-Activator>${pom.artifactId}.osgi.Activator</Bundle-Activator>
+ <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
+ <Bundle-Activator>${project.artifactId}.osgi.Activator</Bundle-Activator>
<Bundle-Vendor>The Apache Software Foundation</Bundle-Vendor>
- <Include-Resource>META-INF/LICENSE=LICENSE,META-INF/NOTICE=NOTICE,META-INF/DEPENDENCIES=DEPENDENCIES</Include-Resource>
<Import-Package>
javax.servlet;version="2.4",
javax.servlet.http;version="2.4",