| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| * Copyright 2001-2009 The Apache Software Foundation. |
| * |
| * Licensed under the Apache License, Version 2.0 (the "License"); |
| * you may not use this file except in compliance with the License. |
| * You may obtain a copy of the License at |
| * |
| * http://www.apache.org/licenses/LICENSE-2.0 |
| * |
| * Unless required by applicable law or agreed to in writing, software |
| * distributed under the License is distributed on an "AS IS" BASIS, |
| * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| * See the License for the specific language governing permissions and |
| * limitations under the License. |
| * |
| */ --> |
| <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> |
| <parent> |
| <groupId>org.apache.juddi</groupId> |
| <artifactId>juddi-parent</artifactId> |
| <version>3.1.2-SNAPSHOT</version> |
| </parent> |
| <artifactId>juddiv3-war</artifactId> |
| <packaging>war</packaging> |
| <name>jUDDI base-war Deployment</name> |
| <url>http://maven.apache.org</url> |
| <properties> |
| <cxf.version>2.3.1</cxf.version> |
| </properties> |
| <dependencies> |
| <dependency> |
| <artifactId>uddi-ws</artifactId> |
| <groupId>org.apache.juddi</groupId> |
| <version>3.1.2-SNAPSHOT</version> |
| <exclusions> |
| <exclusion> |
| <groupId>javax.xml.bind</groupId> |
| <artifactId>jaxb-api</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>com.sun.xml.ws</groupId> |
| <artifactId>jaxws-rt</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>com.sun.xml.bind</groupId> |
| <artifactId>jaxb-impl</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <artifactId>juddi-core</artifactId> |
| <groupId>org.apache.juddi</groupId> |
| <version>3.1.2-SNAPSHOT</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <artifactId>juddi-core-openjpa</artifactId> |
| <groupId>org.apache.juddi</groupId> |
| <version>3.1.2-SNAPSHOT</version> |
| <exclusions> |
| <exclusion> |
| <groupId>org.apache.juddi</groupId> |
| <artifactId>uddi-ws</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.apache.juddi</groupId> |
| <artifactId>uddi-tck</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>javax.persistence</groupId> |
| <artifactId>persistence-api</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>commons-codec</groupId> |
| <artifactId>commons-codec</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>commons-configuration</groupId> |
| <artifactId>commons-configuration</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>commons-lang</groupId> |
| <artifactId>commons-lang</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>commons-collections</groupId> |
| <artifactId>commons-collections</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>log4j</groupId> |
| <artifactId>log4j</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.apache.derby</groupId> |
| <artifactId>derby</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>mysql</groupId> |
| <artifactId>mysql-connector-java</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.hibernate</groupId> |
| <artifactId>hibernate</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.hibernate</groupId> |
| <artifactId>hibernate-entitymanager</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>cglib</groupId> |
| <artifactId>cglib-nodep</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.apache.openjpa</groupId> |
| <artifactId>openjpa</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>commons-logging</groupId> |
| <artifactId>commons-logging</artifactId> |
| <version>1.1.1</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>javax.servlet</groupId> |
| <artifactId>servlet-api</artifactId> |
| <version>2.5</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>commons-configuration</groupId> |
| <artifactId>commons-configuration</artifactId> |
| <version>1.6</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.cxf</groupId> |
| <artifactId>cxf-rt-frontend-jaxws</artifactId> |
| <version>${cxf.version}</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.cxf</groupId> |
| <artifactId>cxf-rt-transports-http</artifactId> |
| <version>${cxf.version}</version> |
| <scope>provided</scope> |
| <exclusions> |
| <exclusion> |
| <groupId>cglib</groupId> |
| <artifactId>cglib</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>cglib</groupId> |
| <artifactId>cglib-nodep</artifactId> |
| <version>2.1_3</version> |
| <scope>provided</scope> |
| </dependency> |
| </dependencies> |
| <build> |
| <finalName>juddi</finalName> |
| </build> |
| <profiles> |
| <profile> |
| <id>hibernate</id> |
| <activation> |
| <property> |
| <name>persistence</name> |
| <value>hibernate</value> |
| </property> |
| </activation> |
| <properties> |
| <persistence>hibernate</persistence> |
| </properties> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-antrun-plugin</artifactId> |
| <version>1.3</version> |
| <executions> |
| <execution> |
| <id>foo</id> |
| <phase>process-classes</phase> |
| <configuration> |
| <tasks> |
| <echo>persistence=${persistence}</echo> |
| <copy file="${basedir}/persistence/${persistence}-persistence.xml" tofile="${basedir}/target/classes/META-INF/persistence.xml" overwrite="true" /> |
| <copy file="${basedir}/persistence/juddi-orm.xml" tofile="${basedir}/src/main/webapp/WEB-INF/classes/orm.xml" overwrite="true" /> |
| </tasks> |
| </configuration> |
| <goals> |
| <goal>run</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| <profile> |
| <id>openjpa</id> |
| <activation> |
| <activeByDefault>true</activeByDefault> |
| <property> |
| <name>persistence</name> |
| <value>openjpa</value> |
| </property> |
| </activation> |
| <properties> |
| <persistence>openjpa</persistence> |
| </properties> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-antrun-plugin</artifactId> |
| <version>1.3</version> |
| <executions> |
| <execution> |
| <id>foo</id> |
| <phase>compile</phase> |
| <configuration> |
| <tasks> |
| <echo>persistence=${persistence}</echo> |
| <copy file="${basedir}/persistence/${persistence}-persistence.xml" tofile="${basedir}/target/classes/META-INF/persistence.xml" overwrite="true" /> |
| <delete file="${basedir}/src/main/webapp/WEB-INF/classes/orm.xml" /> |
| </tasks> |
| </configuration> |
| <goals> |
| <goal>run</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| </profiles> |
| </project> |