POM文件内容: |
<?xml version="1.0" encoding="UTF-8"?>
<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">
<parent>
<artifactId>bundles-pom</artifactId>
<groupId>org.apache.servicemix.bundles</groupId>
<version>4</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.apache.servicemix.bundles</groupId>
<artifactId>org.apache.servicemix.bundles.dom4j</artifactId>
<packaging>bundle</packaging>
<name>Apache ServiceMix :: Bundles :: ${pkgArtifactId}</name>
<version>1.6.1_3</version>
<description>This bundle simply wraps ${pkgArtifactId}-${pkgVersion}.jar.</description>
<scm>
<connection>scm:svn:http://svn.apache.org/repos/asf/servicemix/smx4/bundles/tags/org.apache.servicemix.bundles.dom4j-1.6.1_3</connection>
<developerConnection>scm:svn:https://svn.apache.org/repos/asf/servicemix/smx4/bundles/tags/org.apache.servicemix.bundles.dom4j-1.6.1_3</developerConnection>
<url>http://svn.apache.org/viewvc/servicemix/smx4/bundles/tags/org.apache.servicemix.bundles.dom4j-1.6.1_3</url>
</scm>
<build>
<plugins>
<plugin>
<artifactId>maven-shade-plugin</artifactId>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<artifactSet>
<includes>
<include>${pkgGroupId}:${pkgArtifactId}</include>
</includes>
</artifactSet>
<filters>
<filter>
<artifact>${pkgGroupId}:${pkgArtifactId}</artifact>
<excludes>
<exclude>**</exclude>
</excludes>
</filter>
</filters>
<promoteTransitiveDependencies>true</promoteTransitiveDependencies>
<createDependencyReducedPom>true</createDependencyReducedPom>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>xml-apis</groupId>
<artifactId>xml-apis</artifactId>
<version>1.0.b2</version>
<scope>compile</scope>
</dependency>
</dependencies>
<properties>
<pkgVersion>1.6.1</pkgVersion>
<servicemix.osgi.import.pkg>!org.dom4j*,
com.sun.msv.datatype*;resolution:=optional,
javax.swing*;resolution:=optional,
javax.xml.bind*;resolution:=optional;version="[2.0,3)",
javax.xml.stream*;version="[1.0,2)",
org.gjt.xpp;resolution:=optional;version="[2,3)",
org.jaxen*;resolution:=optional;version="[1.1.1,2)",
org.relaxng.datatype;resolution:=optional;version="[1,2)",
org.xmlpull.v1;resolution:=optional;version="[1.1.3,2)",
org.xmlpull.mxp1;resolution:=optional;version="[1.1.3,2)",
*</servicemix.osgi.import.pkg>
<servicemix.osgi.export.pkg>org.dom4j</servicemix.osgi.export.pkg>
<pkgArtifactId>dom4j</pkgArtifactId>
<pkgGroupId>dom4j</pkgGroupId>
</properties>
</project>
|