POM文件内容: |
<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>spring-ws-parent</artifactId>
<groupId>org.springframework.ws</groupId>
<version>1.5.1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>spring-xml</artifactId>
<packaging>bundle</packaging>
<name>Spring XML</name>
<description>Various XML support classes for Spring Web Services</description>
<profiles>
<profile>
<id>jdk14-jdk15</id>
<activation>
<jdk>!1.6</jdk>
</activation>
<dependencies>
<dependency>
<groupId>stax</groupId>
<artifactId>stax-api</artifactId>
</dependency>
</dependencies>
</profile>
</profiles>
<build>
<plugins>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<version>1.2.0</version>
<extensions>true</extensions>
<configuration>
<instructions>
<Bundle-SymbolicName>org.springframework.bundle.ws.xml</Bundle-SymbolicName>
<Export-Package>org.springframework.xml*</Export-Package>
<Import-Package>
org.apache.commons.logging*,
javax.xml.namespace*,
javax.xml.parsers*,
javax.xml.transform.stax;resolution:=optional,
javax.xml.transform*,
org.xml.sax*,
org.w3c.dom*,
org.springframework.xml*,
org.springframework*;version="2.0",
*;resolution:=optional
</Import-Package>
<Implementation-Title>${pom.name}</Implementation-Title>
<Implementation-Version>${pom.version}</Implementation-Version>
<Spring-WS-Version>${pom.version}</Spring-WS-Version>
</instructions>
</configuration>
</plugin>
</plugins>
</build>
<dependencies>
<!-- XML handling dependencies -->
<dependency>
<groupId>jaxen</groupId>
<artifactId>jaxen</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.codehaus.woodstox</groupId>
<artifactId>wstx-asl</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.ws.commons.schema</groupId>
<artifactId>XmlSchema</artifactId>
</dependency>
<!-- Test dependencies -->
<dependency>
<groupId>easymock</groupId>
<artifactId>easymock</artifactId>
<version>1.2_Java1.3</version>
<scope>test</scope>
</dependency>
</dependencies>
</project>
|