> -----Original Message-----
> From: Carlos Sanchez [mailto:[EMAIL PROTECTED]
> Sent: 13 June 2004 13:14
> To: 'Maven Developers List'
> Subject: RE: More details required on new upload procedure
> 
> Hi Vincent,
> 
> Hope it helps
> 

I does, thanks. See below.

> 
> > -----Original Message-----
> > From: Vincent Massol [mailto:[EMAIL PROTECTED]
> > Sent: Sunday, June 13, 2004 2:58 PM
> > To: 'Maven Developers List'
> > Subject: More details required on new upload procedure
> >
> > Hi,
> >
> > I'm in the process of uploading the abbot jars on ibiblio.
> > With the new procedure I also need to upload some POM (please
> > note that the abbot build does not use maven). I've read
> > http://maven.apache.org/repository-upload.html but I still have a
few
> > questions:
> >
> > 1/ Should there be a POM file per artifact? That sounds
> > strange to me as a POM is related to a project rather than an
> > artifact but I've looked at ibiblio/maven and it seems that's
> > what's done in some cases (like aspectj). I'd like confirmation.
> 
> Each artifact may have different dependencies (as aspectj has)

Ah, right! I got confused. Yeah, we're talking about artifacts not
projects. It makes sense to have one POM per artifact.

However that's not the way the "create upload bundle" goal seem to work.
It simply puts the project's project.xml file in the bundle. Probably a
limitation. There should definitely be a pom per artifact to support
transitive dependencies.

> 
> >
> > 2/ What is the minimal information the POM should contain. If
> > it only contains <dependencies> element +
> > <id>/<name>/<groupId>, is it ok? Don't tell me it requires a
> > full POM! That would be as bad as lengthy as mavenizing each
> > project...
> 
> Quoting Jason van Zyl:
> 
> <quote>
> If you don't use maven then it would at least be nice to have the
> 
> groupId
> artifactId
> name
> currentVersion
> dependencies
> </quote>
> 
> I suppose "artifactId" should be "id"

ok. Cool. I believe this should be added to the FAQ. Jason, ok if I add
this to the FAQ?

> 
> >
> > 3/ What name should the pom file(s) have? <project
> > name>-<version>.pom?
> > If the project is not yet versioned, should SNAPSHOT be used?
> 
> The upload bundles I've seen use "project.xml"

That's before they are processed. It seems the names in the repo are
<artifact>-<version>.pom which makes sense.

> 
> >
> > 4/ Where is located the tool that will take an upload bundle
> > (result of create-upload-bundle)? I'd like to see what
> > operations it does so that I can deliver something equivalent
> > or even better, use it...
> 
> Don't know ;)

Jason?

Thanks
-Vincent


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

Reply via email to