It's embarrassing that I should have to ask how to make a simple change 
to a makefile, but I'm finding Maven to be one of the most bewildering, 
overly complex pieces of software I've run into.

I've added some Java code within dspace-api, in our own package. Maven 
sees that, with no problem, and tries to compile it. But for it to 
compile successfully, it needs to use a couple of .jar files which we 
have previously developed here. I've put the jars into 
(dspace/target/dspace-1.5.0-build.dir/lib/), but that's not enough to 
get them picked up. I'm guessing that I have to add <dependency> tags to 
pom.xml, but can't find any documentation which I can comprehend.

The pom reference page (http://maven.apache.org/pom.html) talks about 
the groupId and artifactId, but neither one of these seems to be the 
name or path of the jar file. The packaging tag tells Maven that it _is_ 
a jar file, but apparently nothing more specific than that. Could 
someone point me at a simple explanation of how to get this to work?



-- 
Gary McGath
Digital Library Software Engineer
Harvard University Libraries, Office for Information Systems

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to