Fix jar deploy, add osgi bundle metadata.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@1449206 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
27
pom.xml
27
pom.xml
@@ -189,11 +189,6 @@ under the License.
|
|||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-jar-plugin</artifactId>
|
<artifactId>maven-jar-plugin</artifactId>
|
||||||
<configuration>
|
|
||||||
<archive>
|
|
||||||
<manifestFile>src/conf/MANIFEST.MF</manifestFile>
|
|
||||||
</archive>
|
|
||||||
</configuration>
|
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<!--
|
<!--
|
||||||
@@ -253,6 +248,21 @@ under the License.
|
|||||||
</excludes>
|
</excludes>
|
||||||
</configuration>
|
</configuration>
|
||||||
</execution>
|
</execution>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
- Define the full jar last, the deploy/install plugin seems to be broken
|
||||||
|
- and takes the last definition from here.
|
||||||
|
-->
|
||||||
|
<execution>
|
||||||
|
<id>fulljar</id>
|
||||||
|
<phase>package</phase>
|
||||||
|
<goals>
|
||||||
|
<goal>jar</goal>
|
||||||
|
</goals>
|
||||||
|
<configuration>
|
||||||
|
<jarName>${project.artifactId}-${project.version}</jarName>
|
||||||
|
</configuration>
|
||||||
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
|
||||||
@@ -546,5 +556,12 @@ under the License.
|
|||||||
<commons.jira.pid>12310484</commons.jira.pid>
|
<commons.jira.pid>12310484</commons.jira.pid>
|
||||||
<commons.surefire.version>2.12</commons.surefire.version>
|
<commons.surefire.version>2.12</commons.surefire.version>
|
||||||
<skipSurefireReport>true</skipSurefireReport>
|
<skipSurefireReport>true</skipSurefireReport>
|
||||||
|
|
||||||
|
<commons.osgi.import>
|
||||||
|
javax.servlet;version="[2.1.0, 3.0.0)";resolution:=optional,
|
||||||
|
org.apache.avalon.framework.logger;version="[4.1.3, 4.1.5]";resolution:=optional,
|
||||||
|
org.apache.log;version="[1.0.1, 1.0.1]";resolution:=optional,
|
||||||
|
org.apache.log4j;version="[1.2.15, 2.0.0)";resolution:=optional
|
||||||
|
</commons.osgi.import>
|
||||||
</properties>
|
</properties>
|
||||||
</project>
|
</project>
|
||||||
|
|||||||
Reference in New Issue
Block a user