> -----Original Message-----
> From: Vincent Massol [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, November 12, 2003 12:28 PM
> To: 'Maven Developers List'
> Subject: RE: [Proposal] Project deliverables definition in POM
>
>
> I would be -1 to change the standard naming of
> <name>-<version>.<extension>.
>
The problem is that there is no standard naming convention yet which deals
with artifacts like:
> > <artifactId>-<version>.jar
> > <artifactId>-src-<version>.zip
> > <artifactId>-javadoc-<version>.zip
The standard convention is that every artifacts is describable by POM's
dependency element.
It means that we have four attributes to our disposition {groupId,
artifactId, version, type}
and artifact location in the repository (layout) is a simple function of
those four attributes (with exception to artifacts of type "ejb")
This is purely technical limitation of our implementation.
For me the most natural way will be to have possibility to assign a function
which computes the layout per each artifact type separately.
so you can e.g. specify that layout of "javadoc"
is=${groupId}//javadocs/${artifactId}-javadoc-${version}.jar
> Could you explain why you think it doesn't belong to the POM?
>
> If it's not put in the POM (i.e. if we use properties), who will be the
> owner of them? driver.properties (i.e the core)? Or some other plugins
> (a deliverable plugin, the release plugin, etc)?
>
In other thread I also asked about this (Re: cvs commit:
maven-plugins/multichanges/src/plugin-resources releases.jsl):
"The fundamental question is: shall we use properties which belong
to no plugin and what kind of problems they can cause?"
POM can be also seen as conglomerate of project.xml + and properties files.
As we have methods like project.getProperties()
So it's like we have first class (standardized) and second class properties
(not standardized).
In fact ownership of properties is needed purely for setting default values.
At the moment I don't have a good answer to the question "who will be the
owner of them?"
I think that probably plugins should.
Michal
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]