Skip to content

Commit

Permalink
mark dom4j as provided in openshift builds for JBossAS702
Browse files Browse the repository at this point in the history
  • Loading branch information
simbo1905 committed Dec 23, 2011
1 parent 24a357b commit a9da77e
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
<jetty.version>7.4.5.v20110725</jetty.version>
<postgresql.version>8.4-702.jdbc3</postgresql.version>
<commons-logging.version>1.0.4</commons-logging.version>
<dom4j.version>1.6.1</dom4j.version>
</properties>
<dependencies>
<dependency>
Expand Down Expand Up @@ -294,8 +295,19 @@
<groupId>javax.transaction</groupId>
<artifactId>jta</artifactId>
</exclusion>
<exclusion>
<artifactId>dom4j</artifactId>
<groupId>dom4j</groupId>
</exclusion>
</exclusions>
</dependency>
<!-- manage dom4j explicity for JBossAS702 -->
<dependency>
<artifactId>dom4j</artifactId>
<groupId>dom4j</groupId>
<scope>runtime</scope>
<version>${dom4j.version}</version>
</dependency>
<!-- below are optional runtime database pool and drivers -->
<dependency>
<groupId>hsqldb</groupId>
Expand Down Expand Up @@ -386,6 +398,15 @@
</plugin>
</plugins>
</build>
<dependencies>
<!-- classloader issues on JBossAS702 to mark dom4j as provided -->
<dependency>
<artifactId>dom4j</artifactId>
<groupId>dom4j</groupId>
<scope>provided</scope>
<version>${dom4j.version}</version>
</dependency>
</dependencies>
</profile>
</profiles>
</project>

0 comments on commit a9da77e

Please sign in to comment.