I’m trying to migrate an existing eclipse web project (wtp) to maven, using m2e.
I’m therefore adding jars one by one to maven pom.xml (torture)
when it comes to hibernate, maven automatically downloads some dependencies of hibernate3.jar and it fails due to jacc.jar and jta.jar. There are millions of pages complaining about it, but as of today, with maven 2 and the existing project, what do I need to do? I need to create a maven based deployment package which can access only public repositories.
I’m trying to migrate an existing eclipse web project (wtp) to maven, using m2e.
Share
Use the JBoss Maven repository
(it’s public):
add the dependency to the pom:
Voila, that’s it