Re: How to generate POM for existed dependency?
What do you mean by inhouse? Could you give more information on this? Magne Nordtveit wrote: 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). -- Magne Nordtveit [EMAIL PROTECTED] Systems Engineer Offshore Simulator Centre AS http://www.offsimcentre.no/ - 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--tp17618375p17618882.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]
Re: How to generate POM for existed dependency?
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]
Re: How to generate POM for existed dependency?
This is not what I want. The dependency has already existed in local repository. I don't need to install. I just need to generate pom file for it. [EMAIL PROTECTED] wrote: youhaodeyi schrieb: 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? Please read the Maven frequently asked questions page. The answer is item number 9. - 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--tp17618375p17618572.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]
Re: How to generate POM for existed dependency?
Maven will download them from remote repository. For some reason, not every dependency has its own pom file. [EMAIL PROTECTED] wrote: youhaodeyi schrieb: This is not what I want. The dependency has already existed in local repository. I don't need to install. I just need to generate pom file for it. How on earth did it get into your local repository without a pom? - 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--tp17618375p17618673.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]
Re: How to generate POM for existed dependency?
youhaodeyi schrieb: 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? Please read the Maven frequently asked questions page. The answer is item number 9. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
How to generate POM for existed dependency?
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? -- View this message in context: http://www.nabble.com/How-to-generate-POM-for-existed-dependency--tp17618375p17618375.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]
Re: How to generate POM for existed dependency?
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). -- Magne Nordtveit [EMAIL PROTECTED] Systems Engineer Offshore Simulator Centre AS http://www.offsimcentre.no/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How to generate POM for existed dependency?
youhaodeyi schrieb: This is not what I want. The dependency has already existed in local repository. I don't need to install. I just need to generate pom file for it. How on earth did it get into your local repository without a pom? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How to generate POM for existed dependency?
On Tue, 2008-06-03 at 01:42 -0700, youhaodeyi wrote: What do you mean by inhouse? Could you give more information on this? What I mean is creating a company/private repository that you can deploy own or thirdparty artifacts to. Take a look at http://archiva.apache.org/ that might help you with that part. -- Magne Nordtveit [EMAIL PROTECTED] Systems Engineer Offshore Simulator Centre AS http://www.offsimcentre.no/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How to generate POM for existed dependency?
[EMAIL PROTECTED] wrote: 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? The times you have to download a jar from a third party project that ISN'T uploaded onto the maven central server. Then you would need to install it. We do this with our third party APIs, the pom is used to add some additional information such as license and where it was downloaded from. As a sidenote, I noticed when testing with the 2.1-SNAPSHOT that it actually required a pom on the artifacts that it downloads and uses as dependency. Thats when i had to setup a pom for all our third party libraries. I don't know if this is a bug, or if it is actually required in the 2.1 release tho. -- Magne Nordtveit [EMAIL PROTECTED] Systems Engineer Offshore Simulator Centre AS http://www.offsimcentre.no/ -- View this message in context: http://www.nabble.com/How-to-generate-POM-for-existed-dependency--tp17618375p17621340.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]
Re: How to generate POM for existed dependency?
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]
Re: How to generate POM for existed dependency?
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]
Re: How to generate POM for existed dependency?
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]
Re: How to generate POM for existed dependency?
True. Thanks. dkulp wrote: 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] -- View this message in context: http://www.nabble.com/How-to-generate-POM-for-existed-dependency--tp17618375p17638248.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]