Thanks a lot for your replies. This solved my problem.
This is what we did.
We've added JAXP 1.3.2 to our internal repo using the following POM (by
executing 'mvn deploy'):

<?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";>
>   <modelVersion>4.0.0</modelVersion>
>
>   <groupId>javax.xml</groupId>
>   <artifactId>jaxp</artifactId>
>   <version>1.3.2</version>
>   <name>jaxp bundle</name>
>   <description>placeholder for software bundle JAXP</description>
>
>   <packaging>pom</packaging>
>
>   <dependencies>
>     <dependency>
>       <groupId>org.w3c.dom</groupId>
>       <artifactId>dom</artifactId>
>       <version>2.5.2</version>
>     </dependency>
>     <dependency>
>       <groupId>javax.xml.parsers</groupId>
>       <artifactId>jaxp-api</artifactId>
>       <version>1.3.2</version>
>     </dependency>
>     <dependency>
>       <groupId>sax</groupId>
>       <artifactId>sax</artifactId>
>       <version>2.0.1</version>
>     </dependency>
>     <dependency>
>       <groupId>xalan</groupId>
>       <artifactId>xalan</artifactId>
>       <version>2.5.2</version>
>     </dependency>
>     <dependency>
>       <groupId>xerces</groupId>
>       <artifactId>xercesImpl</artifactId>
>       <version>2.5.2</version>
>     </dependency>
>   </dependencies>
>
>   <distributionManagement>
>     <repository>
>       <id>central</id>
>       <name>our internal company repository</name>
>       <url>file:///\\ourRepoServer</url>
>     </repository>
>   </distributionManagement>
>
> </project>
>

This seems to work fine when using it in other projects, don't forget the to
mention the dependency type:
   <dependency>
     <groupId>javax.xml</groupId>
     <artifactId>jaxp</artifactId>
     <version>1.3.2</version>
     <type>pom</type>
   </dependency>

Reply via email to