[ http://jira.codehaus.org/browse/MNG-2085?page=all ]

John Casey updated MNG-2085:
----------------------------

    Fix Version: documentation

> POM documentation for repository structure looks out of date
> ------------------------------------------------------------
>
>          Key: MNG-2085
>          URL: http://jira.codehaus.org/browse/MNG-2085
>      Project: Maven 2
>         Type: Bug

>   Components: Documentation: Guides
>     Versions: 2.0.2
>     Reporter: Howard M. Lewis Ship
>      Fix For: documentation

>
>
> The POM documentation, at http://maven.apache.org/maven-model/maven.htm, is 
> out of date w.r.t the structure of the remote repository.
>      
>               This element describes all of the dependencies associated with a
>               project.  Each dependency is described by a
>               <code>dependency</code> element, which is then described by
>               additional elements (described below).
>             
>             
>               These dependencies are used to construct a classpath for your 
>               project during the build process.
>             
>             
>               Maven can automatically download these dependencies from a 
>               <a href="/user-guide.html#Remote%20Repository%20Layout">remote 
> repository</a>.
>             
>             <p>
>               The filename that Maven downloads from the repository is 
>               <code>artifactId-version.jar</code> where 
> <code>artifactId</code> 
>               corresponds to the <code>artifactId</code> element and 
>               <code>version</code> corresponds to the <code>version</code> 
> element.
>             </p>
>             <p>
>               When Maven goes looking for a dependency in the remote 
> repository, 
>               it uses the dependency element to construct the URL to download 
>               from. This URL is defined as:
>             </p>
>             <div class="source">
>               
> <pre>${repo}/${groupId}/${type}s/${artifactId}-${version}.${type}</pre>
>             </div>
>             <p>
>               Where
>             </p>
>             <dl>
>               <dt>repo</dt>
>               <dd>
>                 is the remote repository URL specified by 
>                 <code>${maven.repo.remote}</code>
>               </dd>
>               
>               <dt>groupId</dt>
>               <dd>is taken from the dependency element</dd>
>               
>               <dt>type</dt>
>               <dd>is taken from the dependency element</dd>
>               
>               <dt>artifactId</dt>
>               <dd>is taken from the dependency element</dd>
>               
>               <dt>version</dt>
>               <dd>is taken from the dependency element</dd>
>             </dl>
> For Maven 2, this looks very different. Looks like the docs were copied from 
> Maven 1?

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to