errai-persistence
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>org.jboss.errai</groupId> <artifactId>errai-persistence</artifactId> <version>2.0.pre0</version> </dependency>
<!-- ~ Copyright 2009 JBoss, a divison Red Hat, Inc ~ ~ 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> <name>Errai::Persistence</name> <groupId>org.jboss.errai</groupId> <artifactId>errai-persistence</artifactId> <version>2.0.pre0</version> <packaging>jar</packaging> <!-- Parent --> <parent> <groupId>org.jboss.errai</groupId> <artifactId>errai-parent</artifactId> <version>2.0.pre0</version> <relativePath>../pom.xml</relativePath> </parent> <properties> <japexVersion>1.0.25</japexVersion> <japexConfig>src/conf/japex-config.xml</japexConfig> </properties> <dependencies> <dependency> <groupId>org.jboss.errai</groupId> <artifactId>errai-bus</artifactId> <version>${version}</version> </dependency> <!-- hibernate --> <dependency> <groupId>org.hibernate</groupId> <artifactId>hibernate</artifactId> <version>3.2.4.ga</version> <!-- For Glassfish, cglib-nodep included below --> <exclusions> <exclusion> <groupId>cglib</groupId> <artifactId>cglib</artifactId> </exclusion> </exclusions> <scope>provided</scope> </dependency> <dependency> <groupId>org.hibernate</groupId> <artifactId>hibernate-entitymanager</artifactId> <version>3.3.1.ga</version> <exclusions> <exclusion> <groupId>org.hibernate</groupId> <artifactId>hibernate</artifactId> </exclusion> </exclusions> <scope>provided</scope> </dependency> <dependency> <groupId>cglib</groupId> <artifactId>cglib-nodep</artifactId> <version>2.1_3</version> <scope>provided</scope> </dependency> <dependency> <groupId>javax.persistence</groupId> <artifactId>persistence-api</artifactId> <version>1.0</version> <scope>provided</scope> </dependency> <!-- hsqldb --> <dependency> <groupId>hsqldb</groupId> <artifactId>hsqldb</artifactId> <version>1.8.0.10</version> <scope>test</scope> </dependency> <!-- gilead --> <dependency> <groupId>net.sf.gilead</groupId> <artifactId>gilead-core</artifactId> <version>1.3.2</version> <exclusions> <exclusion> <groupId>org.springframework</groupId> <artifactId>spring</artifactId> </exclusion> <exclusion> <groupId>jboss</groupId> <artifactId>javassist</artifactId> </exclusion> <exclusion> <groupId>jboss</groupId> <artifactId>jboss-serialization</artifactId> </exclusion> <exclusion> <groupId>trove</groupId> <artifactId>trove</artifactId> </exclusion> <exclusion> <groupId>com.thoughtworks.xstream</groupId> <artifactId>xstream</artifactId> </exclusion> <exclusion> <groupId>commons-lang</groupId> <artifactId>commons-lang</artifactId> </exclusion> <exclusion> <groupId>dom4j</groupId> <artifactId>dom4j</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>net.sf.gilead</groupId> <artifactId>gilead-hibernate</artifactId> <version>1.3.2</version> <exclusions> <exclusion> <groupId>org.hibernate</groupId> <artifactId>ejb3-persistence</artifactId> </exclusion> <exclusion> <groupId>org.jboss.ejb3</groupId> <artifactId>jboss-ejb3-core</artifactId> </exclusion> <exclusion> <groupId>org.jboss.jpa</groupId> <artifactId>jboss-jpa-deployers</artifactId> </exclusion> </exclusions> </dependency> <!-- GWT --> <dependency> <groupId>com.google.gwt</groupId> <artifactId>gwt-user</artifactId> <scope>provided</scope> </dependency> <dependency> <groupId>com.google.gwt</groupId> <artifactId>gwt-dev</artifactId> <scope>provided</scope> </dependency> <!-- junit --> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.8.1</version> <scope>test</scope> </dependency> <!-- benchmark --> <dependency> <groupId>com.sun.japex</groupId> <artifactId>japex</artifactId> <version>${japexVersion}</version> <exclusions> <exclusion> <groupId>javax.xml.bind</groupId> <artifactId>jaxb-api</artifactId> </exclusion> </exclusions> <scope>test</scope> </dependency> <dependency> <groupId>com.sun.japex.jdsl</groupId> <artifactId>jdsl</artifactId> <version>${japexVersion}</version> <scope>test</scope> </dependency> <dependency> <groupId>jfree</groupId> <artifactId>jfreechart</artifactId> <version>1.0.7</version> <scope>test</scope> </dependency> </dependencies> <build> <plugins> <plugin> <!-- japex needs a classpath in it's configuration, so we copy all dependencies into a directory beneath target and create a classpath from a GLOB. assembly:assembly does not work because of MANIFEST.MF issues. --> <artifactId>maven-dependency-plugin</artifactId> <executions> <execution> <id>copy-dependencies</id> <phase>pre-integration-test</phase> <goals> <!-- copy-dependencies takes scope test --> <goal>copy-dependencies</goal> </goals> </execution> </executions> </plugin> <plugin> <artifactId>maven-antrun-plugin</artifactId> <version>1.6</version> <executions> <execution> <phase>integration-test</phase> <configuration> <target unless="persistence.test.skip"> <!-- Trick: Japex (but not the test itself) needs ant.jar and that's part of antrun-Plugin:-). So we just pass maven.plugin.classpath. --> <property name="maven.plugin.classpath" refid="maven.plugin.classpath" /> <property name="japexConfig" location="${japexConfig}" /> <!-- important --> <delete file="target/dependency/gwt-dev-2.0.3.jar" /> <ant antfile="${basedir}/build.xml"> <target name="run" /> </ant> </target> </configuration> <goals> <goal>run</goal> </goals> </execution> </executions> </plugin> </plugins> </build> </project>