You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Eugeny N Dzhurinsky <bo...@redwerk.com> on 2006/06/02 13:52:42 UTC

mvn install:install

I it possible to force maven to generate POM files every time when command

mvn install:install-file -DgroupId=somegroup -DartifactId=someartifact -Dversion=1.0 -Dpackaging=jar -Dfile=./package.jar

Right now maven tries to dowload POM every time when JAR file is used for
compilation etc.
-- 
Eugene N Dzhurinsky

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: mvn install:install

Posted by Kieran Brady <ki...@teamcgi.net>.
No probs. It would be nice if it was true by default IMO, all that typing is 
error prone.

It was introduced in version 2.1 of the install plugin: 
http://jira.codehaus.org/browse/MINSTALL-6

----- Original Message ----- 
From: "Clifton Craig" <cc...@icsaward.com>
To: "Maven Users List" <us...@maven.apache.org>
Sent: Friday, June 02, 2006 2:10 PM
Subject: Re: mvn install:install


On Friday 02 June 2006 7:59 am, Kieran Brady wrote:
> You need another parameter:
>
> mvn
> install:install-file -DgroupId=somegroup -DartifactId=someartifact
> -Dversion=1.0 -Dpackaging=jar -Dfile=./package.jar -DgeneratePom=true

That's a new one on me too! I just learned and used this command for the 
first
time yesterday afternoon and I did note the missing POM but thought nothing
of it. Thanx a heap!

--------------------------------------------------- 
Clifton C. Craig, Software Engineer
Intelligent Computer Systems - A Division of GBG
ccc@icsaward.com
ccraig@gbg.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: mvn install:install

Posted by Clifton Craig <cc...@icsaward.com>.
On Friday 02 June 2006 7:59 am, Kieran Brady wrote:
> You need another parameter:
>
> mvn
> install:install-file -DgroupId=somegroup -DartifactId=someartifact
> -Dversion=1.0 -Dpackaging=jar -Dfile=./package.jar -DgeneratePom=true

That's a new one on me too! I just learned and used this command for the first 
time yesterday afternoon and I did note the missing POM but thought nothing 
of it. Thanx a heap!

--------------------------------------------------- 
Clifton C. Craig, Software Engineer
Intelligent Computer Systems -  A Division of GBG
ccc@icsaward.com
ccraig@gbg.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: mvn install:install

Posted by Eugeny N Dzhurinsky <bo...@redwerk.com>.
On Fri, Jun 02, 2006 at 12:59:10PM +0100, Kieran Brady wrote:
> You need another parameter:
> 
> mvn 
> install:install-file -DgroupId=somegroup -DartifactId=someartifact 
> -Dversion=1.0 -Dpackaging=jar -Dfile=./package.jar -DgeneratePom=true

Really. Thanks!

-- 
Eugene N Dzhurinsky

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: mvn install:install

Posted by Kieran Brady <ki...@teamcgi.net>.
You need another parameter:

mvn 
install:install-file -DgroupId=somegroup -DartifactId=someartifact -Dversion=1.0 
 -Dpackaging=jar -Dfile=./package.jar -DgeneratePom=true

----- Original Message ----- 
From: "Eugeny N Dzhurinsky" <bo...@redwerk.com>
To: <us...@maven.apache.org>
Sent: Friday, June 02, 2006 12:52 PM
Subject: mvn install:install


>I it possible to force maven to generate POM files every time when command
>
> mvn 
> install:install-file -DgroupId=somegroup -DartifactId=someartifact -Dversion=1.0 
>  -Dpackaging=jar -Dfile=./package.jar
>
> Right now maven tries to dowload POM every time when JAR file is used for
> compilation etc.
> -- 
> Eugene N Dzhurinsky
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org