Updated existing wrapper POMs with ASL headers and new naming and versioning conventions.
git-svn-id: https://svn.apache.org/repos/asf/incubator/felix/trunk@517989 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/commons/jzlib/pom.xml b/commons/jzlib/pom.xml
index 6132c97..44cf8b8 100644
--- a/commons/jzlib/pom.xml
+++ b/commons/jzlib/pom.xml
@@ -1,38 +1,56 @@
-<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">
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS 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">
<modelVersion>4.0.0</modelVersion>
-
<parent>
<groupId>org.apache.felix.commons</groupId>
<artifactId>build</artifactId>
<version>0.9.0-incubator-SNAPSHOT</version>
</parent>
-
+ <properties>
+ <pkgArtifactId>jzlib</pkgArtifactId>
+ <pkgVersion>1.0.7</pkgVersion>
+ <pomVersion>0001</pomVersion>
+ <osgiVersion>${pkgVersion}</osgiVersion>
+ </properties>
<groupId>org.apache.felix.commons</groupId>
- <artifactId>jzlib-osgi</artifactId>
- <version>1.0.7</version>
+ <artifactId>${pom.groupId}.${pkgArtifactId}</artifactId>
+ <version>${osgiVersion}-${pomVersion}-SNAPSHOT</version>
<packaging>bundle</packaging>
-
- <name>${pom.artifactId} bundle</name>
+ <name>${pkgArtifactId} bundle</name>
<description>
- This bundle simply wraps jzlib-${pom.version}.jar.
+ This bundle simply wraps ${pkgArtifactId}-${pkgVersion}.jar.
</description>
-
- <organization>
- <name>Apache Felix Project</name>
- <url>http://incubator.apache.org/felix/</url>
+ <organization>
+ <name>Apache Felix Project</name>
+ <url>http://incubator.apache.org/felix/</url>
</organization>
-
<dependencies>
<dependency>
<groupId>com.jcraft</groupId>
- <artifactId>jzlib</artifactId>
- <version>${pom.version}</version>
+ <artifactId>${pkgArtifactId}</artifactId>
+ <version>${pkgVersion}</version>
</dependency>
</dependencies>
-
<build>
<plugins>
<plugin>
@@ -41,8 +59,10 @@
<extensions>true</extensions>
<configuration>
<instructions>
- <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>
- <Export-Package>!META-INF.*,*</Export-Package>
+ <Bundle-SymbolicName>
+ ${pom.artifactId}
+ </Bundle-SymbolicName>
+ <Export-Package>!META-INF.*,*;version=${pkgVersion}</Export-Package>
<Import-Package>!*</Import-Package>
</instructions>
</configuration>