Hi there and thanks for an awsome project!
I have been experimenting with Maven for the last few days.
Here are my notes/questions:
1- repository layout: I am not sure why a jar dependency translates into
locating the lib in: ${maven.repo}/<id>/jars/<id>.<version>.jar
why is 'jars' imposed? What about an optional text element 'path' such
that it translates into:
${maven.repo}/<path>/<id>.<version>.jar
In fact the path element would be required to start with '/' or to be an
absolute URL in which case no maven.repo would be prefixed.
2- ability to declare a set of library versions shared by various
projects. Maybe I missed something and it is already doable? If so
please forget the following and let me know!
An alternative syntax for the dependency would be to declare it in a
project.xml extended by various projects. something like:
<declare-dependency uri="org.apache.log4j">
[same descendants than the dependency element]
</declare-dependency>
The project that extends would declare that they are actually using the
dependency with something like:
<dependency uri="org.apache.log4j"/>
This would enable enforcing a common set of versions amongst different
projects or simply avoid duplications of the declaration of the
dependencies.
2and a half- ability to override such dependency in a property file of
the leaf project:
some kind of overriding of the uri:
org.apache.log4j.dependency.uri=org.apache.log4j.myVersion
so that <dependency uri="org.apache.log4j"/> actually executes as
<dependency uri="org.apache.log4j.myVersion"/>.
3. I am not sure that the recent patch consisting of preventing
dependencies that are not jar to be placed inside the
maven.dependency.classpath will fit everybody's need, I can think of a
couple of libraries such as some jdbc driver packaged as a zip or sets
of resources files not packaged in a jar but loaded by classloaders that
could be required in the maven.dependency.classpath.
Let me know if this sounds interesting enough to implement it and I'll
give it a try.
regards,
-Hugues
--
To unsubscribe, e-mail: <mailto:turbine-maven-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:turbine-maven-user-help@;jakarta.apache.org>
