Well, that certainly worked to install the POM in a second command.  How
far-fetched would it be to add a property to the install-file goal to
copy the POM at the same time?

..David..
 

-----Original Message-----
From: Allan Ramirez [mailto:[EMAIL PROTECTED] 
Sent: Friday, November 18, 2005 5:21 PM
To: Maven Users List
Subject: Re: [m2] Installing 3rd Party Jars with POMs

Hi,

Add the -DgeneratePom=true argument to the command. This will generate a
generic pom in your local repo along with your jar.

If you want to install your created pom, you should execute the
install:install-file again with the groupId, artifactId, version of the
jar you've installed and with a packaging of pom

-allan

David Jackman wrote:

>I've read the GSG page for installing 3rd party jars, but it says 
>nothing about how to get a corresponding POM installed along with the 
>.jar.  Is there a way for me to install a POM I've created for the jar 
>at the same time, or is everyone pretty much copying that in by hand.
>Should I file an enhancement issue for the install plugin to allow
this?
> 
>..David..
> 
>
>  
>
>-----------------------------------------------------------------------
>-
>
>No virus found in this incoming message.
>Checked by AVG Free Edition.
>Version: 7.1.362 / Virus Database: 267.13.3/174 - Release Date: 
>11/17/2005
>  
>



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

Reply via email to