Hmm.... I thought about that, but slash might be less compatible for non-hierarchical aware apps....

Can't really give any concreate example... but i got a bad feeling about problems that might show up by using slashes :)

Stephen McConnell wrote:

Just use a "/" in you group identifier. E.g.

   <dependency>
     <groupId>merlin/test</groupId>
     <artifactId>merlin-unit</artifactId>
     <version>3.2.1-dev</version>
   </dependency>

Steve.


Yannick Menager wrote:


Well.. the title says it all :)

Any reasons against using hierarchical repositories ?

i.e.

instead of having

commons/jars/commons-httpclient-1.0.jar
avalon/jars/avalon-framework-4.1.5.jar
cglib/jars/cglib-1.0.jar

have

apache/avalon/jars/....
apache/jakarta/commons/jars/...
sf/cglib/jars/...

we could for example still use the groups as we are, but implement the hierarchy with dots

ie.:

<classloader>
 <classpath>
  <repository>
   <resource id="apache.avalon:avalon-framework" version="1.0"/>
  </repository>
 </classpath>
</classloader>



---------------------------------------------------------------------
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