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>2</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}-${pkgVersion}</name>
<version>1.6_1</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</connection>
<developerConnection>scm:svn:https://svn.apache.org/repos/asf/servicemix/smx4/bundles/tags/org.apache.servicemix.bundles.dom4j-1.6_1</developerConnection>
<url>http://svn.apache.org/viewvc/servicemix/smx4/bundles/tags/org.apache.servicemix.bundles.dom4j-1.6_1</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</pkgVersion>
<pkgArtifactId>dom4j</pkgArtifactId>
<servicemix.osgi.export.pkg>org.dom4j*</servicemix.osgi.export.pkg>
<servicemix.osgi.import.pkg>com.sun.msv.datatype;resolution:=optional,
com.sun.msv.datatype.xsd;resolution:=optional,
org.gjt.xpp;resolution:=optional,
org.jaxen;resolution:=optional,
org.jaxen.dom4j;resolution:=optional,
org.jaxen.pattern;resolution:=optional,
org.jaxen.saxpath;resolution:=optional,
org.relaxng.datatype;resolution:=optional,
*</servicemix.osgi.import.pkg>
<pkgGroupId>dom4j</pkgGroupId>
</properties>
</project>
|