You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by nkr1pt <kr...@gmail.com> on 2009/02/24 16:05:50 UTC

mvn prepare-package invalid task?

Hi,

according to the documentation, there is a prepare-package task since maven
2.1.
I'm running Maven version: 2.1.0-M1

but when I want to call the prepare-package task, it fails with the
following error message:

[INFO] Scanning for projects...
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Invalid task 'prepare-package': you must specify a valid lifecycle
phase,
 or a goal in the format plugin:goal or
pluginGroupId:pluginArtifactId:pluginVer
sion:goal
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: < 1 second
[INFO] Finished at: Tue Feb 24 15:53:45 CET 2009
[INFO] Final Memory: 1M/4M
[INFO]
------------------------------------------------------------------------

any ideas?
-- 
View this message in context: http://www.nabble.com/mvn-prepare-package-invalid-task--tp22181075p22181075.html
Sent from the Maven - Users mailing list archive at Nabble.com.


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


Re: mvn prepare-package invalid task?

Posted by Nick Stolwijk <ni...@gmail.com>.
I think you mean issue MNG-3566 [1]. The last comment by Brett says:

Brett Porter added a comment - 17/Dec/08 07:20 PM
with milestones of 2.1 already coming out, and this slated for
2.1.0-M2, we will settle for that.

I guess you will have to upgrade to at least M2.

Hth,

[1] http://jira.codehaus.org/browse/MNG-3566

Nick Stolwijk
~Java Developer~

Iprofs BV.
Claus Sluterweg 125
2012 WS Haarlem
www.iprofs.nl



On Tue, Feb 24, 2009 at 4:05 PM, nkr1pt <kr...@gmail.com> wrote:
> prepare-package

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