Having recently upgraded my development copy of Dspace from a beta version
of 1.5 to the stable version I find myself in Maven meltdown. No matter what
I try I cant get Eclipse to recognise the Maven dependencies. When I look at
the properties for the project there is nothing listed under Maven
Dependencies. This makes developing involve a lot of guesswork. Anyone got
any suggestions ?
Cheers, Robin.
PS. I have tried..
Right-Click on your project and select "Maven -> Enable Dependency
Management". Eclipse will now read the Maven pom.xml configuration file and
auto-configure your project as a "Java Project"!
Right-Click again, and select "Maven -> Enable Nested Modules". This tells
Maven Eclipse plugin that your project contains several nested sub-modules
within it.
Right-Click one last time, and select "Maven -> Update Source Folders"
("Maven -> Download Sources" for Eclipse 3.2.0). Eclipse will now
automatically locate all the DSpace Java source code, as well as all the 3rd
party JAR dependencies
... It made things worse, I lost the Classpath I had changed to accommodate
my 'modules'.
Robin Taylor
Main Library
University of Edinburgh
Tel. 0131 6506643
--
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech