|
View:
New views
12 Messages
—
Rating Filter:
Alert me
|
|
|
Maven dependency problem for activequant-dao-hibernate?Hello everyone, Last night I checked out the maven tree (all projects) for the first time. Now I solved a few dependency problems with maven, mainly due to my inexperience with maven, but there are two dependecy problems that remain (both are in the activequant-dao-hibernate pom.xml): "Multiple annotations found at this line: - Missing indirectly referenced artifact org.hibernate:hibernate:jar: 3.3.0.CR2:compile - Missing indirectly referenced artifact mysql:mysql-connector-java:jar:5.1.6:test" Anyone any idea? -Mark- _______________________________________________ ccapi mailing list ccapi@... http://activestocks.de/cgi-bin/mailman/listinfo/ccapi |
|
|
Re: Maven dependency problem for activequant-dao-hibernate?Hi Mark,
Are you using eclipse? Or are you using it directly from the command line. And make sure that the heap size of the Java vm is set large enough. Often the compilation breaks because java runs out of its heap size. You can find some hints in my blog and also on the website of AQ. Wessel
|
|
|
|
|
|
|
|
|
Re: Maven dependency problem for activequant-dao-hibernate?Mark, try removing ranges: [3.2.6.ga) => 3.2.5.ga .
Let me know it it helps -Mike On Sat, Aug 9, 2008 at 2:17 PM, Mark Breman <m.breman@...> wrote:
_______________________________________________ ccapi mailing list ccapi@... http://activestocks.de/cgi-bin/mailman/listinfo/ccapi |
|
|
Re: Maven dependency problem for activequant-dao-hibernate?No not at all you don't need anything it should work straight out of the box.
However you need to change the heap size when using the eclipse plugin This might help: http://www.activequant.org/?q=blog/[user]/comparing_maven_integration_plugins_for_eclipse about the dependency, check out this article and the part about maven. You need to enable dependency in MAven: http://activequant.org/?q=node/287 Using Eclipse to Checkout Everything When doing a refactoring, its desirable to load all activequant sources to leverage the Eclipse's refactoring machinery across all modules. Technically, the goal is to checkout the root of the Maven's build together with all modules. * From CVS perspective, navigate to activequant-maven/activequant-all * Right-click on activequant-all and choose Check Out When checkout is complete, switch back to Java perspective, and * Right-click on the project, navigate to Maven->Enable dependency management * Right-click on the project, choose Maven->Enable Nested Modules * Right-click on the project, navigate to Maven->Update source folders * Verify that JDK compliance level is 5.0 or higher. Cheers, Wessel
|
|
|
|
|
|
Re: Maven dependency problem for activequant-dao-hibernate?Mark, which maven/eclipse plugin are you using? Tyco's or Q4 ? I use Q4 with Eclipse/Ganymede, and it sees the central repository by default....
Btw, here is the link to the hibernate stuff on central http://repo1.maven.org/maven2/org/hibernate/hibernate/3.2.6.ga/hibernate-3.2.6.ga.pom -Mike
On Sat, Aug 9, 2008 at 2:52 PM, Mark Breman <m.breman@...> wrote:
_______________________________________________ ccapi mailing list ccapi@... http://activestocks.de/cgi-bin/mailman/listinfo/ccapi |
|
|
|
|
|
|
|
|
Re: Maven dependency problem for activequant-dao-hibernate?It seems that there is a problem in interpreting version dependency range, possibly due to the non-numeric version format in some maven-eclipse integration plugins. Note that version ranges for many other dependencies (see pom.xml in activequant-parent) work just fine... I see the problem that Mark described with Q4 maven-eclipse integration. Fixed version works file, but when I reverse to the version range, it fails to locate dependency... There is no problem whatsoever when using command-line maven... I committed new version of pom.xml for the hibernate module to workaround this. It now has fixed hibernate dependency. -Mike On Sat, Aug 9, 2008 at 3:09 PM, Mark Breman <m.breman@...> wrote:
|