Your dependency should be declared as
    <dependency>
     <groupId>apache-directory</groupId>
     <artifactId>apacheds-main</artifactId>
     <version>apacheds-main-0.9-SNAPSHOT</version>
     <type>jar</type>
     <url>http://directory.apache.org</url>
   </dependency>

It basically breaks down like this...
groupId = Folder
artifactId = file name minus version and extension
version = the version part of the filename
type = extension
url = reference page about the artifact

Or look at it this way...
/maven/<groupId>/<artifactId>-<version>.<type>
Also jar is the default type.

The refrence pages for the project xml are really good actually...
http://maven.apache.org/reference/project-descriptor.html

Take a look at the dependency element specifically
http://maven.apache.org/reference/project-descriptor.html#dependency


On Mon, 28 Mar 2005 12:04:24 -0600, Robert r. Sanders
<[EMAIL PROTECTED]> wrote:
> Before I break anything I thought I see if anyone can give me a little
> help on this.  I am using the apache-directory server (currently in
> active development) to provide a java based LDAP/JNDI server to run
> tests for the LdapPasswordAuthenticationDao so that they can be run
> anywhere.  I would like to add the directory server's snapshot jar into
> the Maven build, but I an unfamiliar with Maven (I briefly looked at
> Maven back in the days when it was just a collection of wrappers around
> ANT).
> 
> I have uploaded the JAR file to sourceforge at:
> /home/groups/a/ac/acegisecurity/htdocs/maven/apache-directory/jars/apacheds-main-0.9-SNAPSHOT.jar
> Now I'd like to add it to the project.xml file so that the Maven build
> process will find it; would the following be the correct format for the
> entry, and if not could someone tell be what needs to change and why?
> 
>     <dependency>
>       <groupId>apache</groupId>
>       <artifactId>directory</artifactId>
>       <version>0.9-SNAPSHOT</version>
>       <jar>apacheds-main-0.9-SNAPSHOT.jar</jar>
>       <type>jar</type>
>       <url>http://directory.apache.org</url>
>     </dependency>
> 
> Thanks,
> 
> --
>     Robert r. Sanders
>     Chief Technologist
>     iPOV
>     (334) 821-5412
>     www.ipov.net
> 
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> _______________________________________________
> Home: http://acegisecurity.sourceforge.net
> Acegisecurity-developer mailing list
> Acegisecurity-developer@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer
>


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Home: http://acegisecurity.sourceforge.net
Acegisecurity-developer mailing list
Acegisecurity-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer

Reply via email to