Thanks Mike.

Actually I had already been to the site, and the documentation is
excellent.  The basic problem I had was that I had no idea what to look
for, I had no idea what a "dependency" was called.  Sort of the same as
if I were to go to a DOS prompt and type "cat".  Okay - so what's the
equivalent command to cat in DOS (type...).

Knowing that I needed to use "dependency" - I found this page:
http://maven.apache.org/reference/project-descriptor.html

I just got the build working a second or two ago, and here's the final
solution (BTW, I see that "id" is deprecated...):

<project>
    
    included xml SNIPPED all the way to the end

    <dependencies>
        <dependency>
            <groupID>springframework</groupID>
            <artifactId>spring</artifactId>
            <version>1.2.2</version>
        <dependency>
    </dependencies>
</project>

For posterity:

1) groupID is described as "The project group that produced the
dependency, e.g. geronimo."  I tried "spring" which failed, and then
"springframework" which worked.  I surmise that the project group
corresponds to the directory name "springframework" in:
http://www.ibiblio.org/maven/springframework/jars/ .  I might be nice if
the description included a blurb saying something about each group
having it's own directory - or some such.  It was a minor leap to
realize that the project group is typified by the directory ;)

2) artifactId is described as "The unique id for an artifact produced by
the project group, e.g. germonimo-jms."  I tried springframework first,
and when I saw the command window say "Attempting to download
springframework-1.2.2.jar" I knew what to do.

Thanks for taking the time to respond to my questions!!

-----Original Message-----
From: Mike Perham [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, July 27, 2005 11:04 AM
To: Maven Users List
Subject: RE: How to add external libraries (first post)


Maven has great online documentation.  If you haven't already, please
read through maven's Getting Started guide.

http://maven.apache.org/start/
 

-----Original Message-----
From: Trip Kirkpatrick [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, July 27, 2005 11:57 AM
To: Maven Users List
Subject: RE: How to add external libraries (first post)

At 12:52 PM 7/27/2005, you wrote:
>I absolutely need to RTFM.  No argument whatsoever.  That's why I asked

>for links several times - because I can't seem find the correct place
>in TFM.

Chris:

I'm new to the list also, but the archives seem to be at
http://marc.theaimsgroup.com/?l=turbine-maven-user



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to