On Jun 3, 2008, at 5:11 AM, [EMAIL PROTECTED] wrote:
Magne Nordtveit schrieb:
On Tue, 2008-06-03 at 01:11 -0700, youhaodeyi wrote:
I have downloaded some dependencies from remote repository into
local
repository. But some of them don't have pom file. How can I
generate pom
file for dependencies in local repository?
When you install it to your local repository, specify
-DgeneratePom=true. If the artifact is automatically downloaded to
your
repository from another source (i.e. central) consider creating a
thirdparty repo inhouse and deploy it to that (the -DgeneratePom=true
should work for the deploy plugin aswell).
I'm not aware of any jars in the maven repos that do not have poms.
There definitely are some:
http://repo1.maven.org/maven2/org/apache/ws/security/wss4j/1.5.2/
http://repo1.maven.org/maven2/xml-security/xmlsec/1.3.0/
I've worked with the wss4j folks so their latest release (1.5.4) was
done correctly and has the pom, but there definitely are others in
there.
Dan
But
if there are any, then you should be able to simply "reinstall" the
jar
into your local repo using the instructions I referred you to before.
That will generate a "trivial" pom file.
I'm not sure why you'd bother doing this though. As far as I know the
only effect would be to shut up warnings about "trying to fetch pom".
What dependencies (groupId, artifactId, version) don't have poms?
Regards,
Simon
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---
Daniel Kulp
[EMAIL PROTECTED]
http://www.dankulp.com/blog
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]