Umm...... none of the incubator versions of CXF would be at central at all. That pom isn't there and neither is the jar. They would be in the incubator repository:
http://people.apache.org/repo/m2-incubating-repository/
and the poms for those artifacts are indeed there.

That said, CXF has graduated. The non-incubator versions (2.0.6 and 2.1) are both available at central and poms are there.

Dan



On Jun 3, 2008, at 10:49 PM, youhaodeyi wrote:


There are many of them, like:
org/apache/cxf/cxf-rt-transports-http/2.0.4-incubator/cxf-rt- transports-http-2.0.4-incubator.pom


[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. 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]




--
View this message in context: 
http://www.nabble.com/How-to-generate-POM-for-existed-dependency--tp17618375p17638091.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
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]

Reply via email to