Hi This might help
http://jaitechwriteups.blogspot.in/2008/08/how-to-upgrade-hibernate-in-jboss.html regards Taha On Feb 9, 2012, at 2:26 AM, tompeter wrote: > Hi Thiago, thanks for the tips! I looked at the dependency tree with m2e and > didn't find anything obvious. Could you take a look at the Pom to check if > you see something? Thanks you so much! > > <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 > http://maven.apache.org/maven-v4_0_0.xsd" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xmlns="http://maven.apache.org/POM/4.0.0"> > <modelVersion>4.0.0</modelVersion> > <groupId>com.tomplaygo</groupId> > <artifactId>tomplaygo_webapp</artifactId> > <version>1.0-SNAPSHOT</version> > <packaging>war</packaging> > <name>tomplaygo_webapp Tapestry 5 Application</name> > <dependencies> > > <dependency> > <groupId>org.apache.tapestry</groupId> > <artifactId>tapestry-hibernate</artifactId> > <version>${tapestry-release-version}</version> > </dependency> > > <dependency> > <groupId>org.hibernate</groupId> > <artifactId>hibernate</artifactId> > <version>3.2.2.ga</version> > </dependency> > > <dependency> > <groupId>org.hibernate</groupId> > <artifactId>hibernate-annotations</artifactId> > <version>3.2.1.ga</version> > </dependency> > > <dependency> > <groupId>c3p0</groupId> > <artifactId>c3p0</artifactId> > <version>0.9.0</version> > </dependency> > <dependency> > <groupId>geronimo-spec</groupId> > <artifactId>geronimo-spec-jta</artifactId> > <version>1.0-M1</version> > <scope>test</scope> > </dependency> > > <dependency> > <groupId>mysql</groupId> > <artifactId>mysql-connector-java</artifactId> > <version>3.1.12</version> > </dependency> > > > > <dependency> > <groupId>org.apache.tapestry</groupId> > <artifactId>tapestry-yuicompressor</artifactId> > <version>${tapestry-release-version}</version> > </dependency> > > <dependency> > <groupId>org.apache.tapestry</groupId> > <artifactId>tapestry-json</artifactId> > <version>5.3.1</version> > </dependency> > > > > > > <dependency> > <groupId>org.testng</groupId> > <artifactId>testng</artifactId> > <version>${testng-release-version}</version> > <scope>test</scope> > </dependency> > > <dependency> > <groupId>org.easymock</groupId> > <artifactId>easymock</artifactId> > <version>${easymock-release-version}</version> > <scope>test</scope> > </dependency> > > <dependency> > <groupId>org.apache.tapestry</groupId> > <artifactId>tapestry-test</artifactId> > <version>${tapestry-release-version}</version> > <scope>test</scope> > </dependency> > > > <dependency> > <groupId>javax.servlet</groupId> > <artifactId>servlet-api</artifactId> > <version>${servlet-api-release-version}</version> > <scope>provided</scope> > </dependency> > > > <dependency> > <groupId>org.apache.tapestry</groupId> > <artifactId>tapestry-javadoc</artifactId> > <version>${tapestry-release-version}</version> > <scope>provided</scope> > </dependency> > > > > <dependency> > <groupId>commons-httpclient</groupId> > <artifactId>commons-httpclient</artifactId> > <version>3.1</version> > </dependency> > > <dependency> > <groupId>com.jax</groupId> > <artifactId>jax_jaxb_api</artifactId> > <version>1.0</version> > </dependency> > <dependency> > <groupId>com.jax</groupId> > <artifactId>jax_jaxws_api</artifactId> > <version>1.0</version> > </dependency> > > <dependency> > <groupId>com.httpclient</groupId> > <artifactId>http_client</artifactId> > <version>4.0.1</version> > </dependency> > <dependency> > <groupId>com.httpclient</groupId> > <artifactId>http_core</artifactId> > <version>4.0.1</version> > </dependency> > > <dependency> > <groupId>im4java</groupId> > <artifactId>im4java</artifactId> > <version>1.1.0</version> > </dependency> > > <dependency> > <groupId>com.json</groupId> > <artifactId>json_utils</artifactId> > <version>1.0</version> > </dependency> > > </dependencies> > > <build> > <finalName>tomplaygo_webapp</finalName> > <plugins> > > <plugin> > <groupId>org.apache.maven.plugins</groupId> > <artifactId>maven-compiler-plugin</artifactId> > <configuration> > <source>1.6</source> > <target>1.6</target> > </configuration> > </plugin> > > <plugin> > <groupId>org.apache.maven.plugins</groupId> > <artifactId>maven-surefire-plugin</artifactId> > <version>2.7.2</version> > <configuration> > <systemPropertyVariables> > > <tapestry.execution-mode>Qa</tapestry.execution-mode> > </systemPropertyVariables> > </configuration> > </plugin> > > > <plugin> > <groupId>org.mortbay.jetty</groupId> > <artifactId>maven-jetty-plugin</artifactId> > <version>6.1.16</version> > <configuration> > > <requestLog > implementation="org.mortbay.jetty.NCSARequestLog"> > > <append>true</append> > </requestLog> > <systemProperties> > <systemProperty> > <name>tapestry.execution-mode</name> > <value>development</value> > </systemProperty> > </systemProperties> > </configuration> > </plugin> > </plugins> > </build> > > <reporting/> > > <repositories> > > > <repository> > <id>apache-staging</id> > <url>https://repository.apache.org/content/groups/staging/</url> > </repository> > > > <repository> > <id>apache-snapshots</id> > <url>http://repository.apache.org/snapshots/</url> > </repository> > > > <repository> > <id>cedarsoft-thirdparty</id> > > <url>http://maven.cedarsoft.com/content/repositories/thirdparty/</url> > </repository> > > > <repository> > <id>maven2-repository.dev.java.net</id> > <name>Java.net Repository for Maven</name> > <url>http://download.java.net/maven/2/ > </url> > <layout>default</layout> > <snapshots> > <enabled>false</enabled> > </snapshots> > <releases> > <enabled>true</enabled> > </releases> > </repository> > > <repository> > <id>progs</id> > <url>http://maven.progs.be/m2repo</url> > </repository> > > > <repository> > <id>devlab722-repo</id> > > <url>http://nexus.devlab722.net/nexus/content/repositories/releases > </url> > <snapshots> > <enabled>false</enabled> > </snapshots> > </repository> > > <repository> > <id>devlab722-snapshot-repo</id> > > <url>http://nexus.devlab722.net/nexus/content/repositories/snapshots > </url> > <releases> > <enabled>false</enabled> > </releases> > </repository> > > </repositories> > > <properties> > <tapestry-release-version>5.3</tapestry-release-version> > <servlet-api-release-version>2.5</servlet-api-release-version> > <testng-release-version>5.14.9</testng-release-version> > <easymock-release-version>3.0</easymock-release-version> > </properties> > </project> > > > -- > View this message in context: > http://tapestry.1045711.n5.nabble.com/Unit-Test-and-HibernateSessionSource-tp5466828p5467661.html > Sent from the Tapestry - User mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org >