Well, I'd like to "improve" rather the "dependencies" element:

<dependencyManagement>
     <dependencies>
       <dependency groupId="javax.activation" artifactId="activation" 
version="1.1"/>
     </dependencies>
     <dependencies groupId="org.apache.maven.archiva" version="1.1-SNAPSHOT">
       <dependency artifactId="archiva-applet"/>
       <dependency artifactId="archiva-artifact-converter"/>
       <dependency artifactId="archiva-artifact-reports"/>
       <dependency artifactId="archiva-common"/>
       <dependency artifactId="archiva-test" type="test-jar" scope="test"/>
     </dependencies>
</dependencyManagement>

i.e. inherit the attributes from the surrounding dependencies tag (with the 
possibility to override them).

Ralph Goers wrote:
> Actually, there wasn't a single dependency in that pom. Those were all
> managed dependency declarations. I'm not surprised to see something
> like that, however it would really be better if it was:
> 
> <dependencyManagement>
>   <dependency groupId="org.apache.maven.archiva"
> artifactId="bill-of-materials" version="1.1-SNAPSHOT" type="pom"/>
> </dependencyManagement> 
> 
> instead of
> 
> <dependencyManagement>
>     <dependencies>
>       <dependency groupId="javax.activation"
> artifactId="activation" version="1.1"/>
>       <dependency groupId="org.apache.maven.archiva"
> artifactId="archiva-applet" version="1.1-SNAPSHOT"/>
>       <dependency groupId="org.apache.maven.archiva"
> artifactId="archiva-artifact-converter" version="1.1-SNAPSHOT"/>

[snip]

- Jörg

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

Reply via email to