On Thu, 2004-05-27 at 09:36, Omair-Inam Abdul-Matin wrote:
Hi,
I've made a bunch of upload requests to ibiblio with detailed enough POMs that allow the libs to compile and I'm just wondering what specific requirements must the POM satisfy.
Are you talking about a project that doesn't use maven as its build
tool?
One that doesn't use maven as its build tool.
whoops.... I didn't put groupId in the last few requests that I made. Actually wait... I think you're referring to the groupId and artifactId that are successor elements of the dependencies element. The groupId element that exists at the top-level actually isn't even present in the Getting Started->Integrate doc.If the project builds with maven the POM you provide should be fine. If you don't use maven then it would at least be nice to have the
groupId artifactId name currentVersion dependencies
So basically if I understand correctly the min you'd like is a pom in the following form:
<project>
<name>Project name</name>
<dependencies>
<dependency>
<groupId>mockobjects</groupId>
<artifactId>mockobjects-core</artifactId>
<version>0.0.1</version>
</dependency>
...
</dependencies>
</project>If you think that's clear, I think it may be helpful to put it on the upload instructions
I'm probably always going to use Maven now... Who needs ant when you can write just one file and get away with it. My problem was really the 3rd party libraries that don't use maven as a build tool.
I will add to the upload instructions.
Obviously transitive dependencies support requires that I specify all dependencies of a library. But, does the POM actually have to be able to compile the project?
Yes, one would hope this is the case. Currently I am assuming the POM is intact and is correct. I do limited checking of the POM.
For one of the projects I had to put a sourceModification element in to make it compile...
If you are using maven to build then give us the POM you're using. That's what we really want.
Omair
--------------------------------------------------------------------- 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]
