Using Maven 2.0.8.
I run 'mvn clean prepare-package' and see:
[ERROR] BUILD FAILURE
[INFO]
[INFO] Invalid task 'prepare-package': you must specify a valid lifecycle
phase,
or a goal in the format plugin:goal
This is new in Maven 2.1 apparently... It works in 3.0-BETA1.
--
View this message in context:
http://maven.40175.n5.nabble.com/prepare-package-is-not-a-valid-lifecycle-phase-tp946376p946377.html
Sent from the Maven - Users mailing list archive at Nabble.com
In fact, my solution does not work at all ...
My package is correctly generated with wanted files generated by antrun
inside of it, but I believe as I use goal assembly instead of single,
the related tar.gz is not attached and so not deployed.
I see the following logs :
[WARNING] Removing:
in this
order :
- jar:jar bound to prepare-package
- antrun:run bound to package
- assembly:directory-single bound to prepare-package
- assembly:single bound to package
So when launching mvn package, everything is generated at the right time
and in the right place :)
The result, of course, is a bit
with directory-single to generate folder
(prepare-package)
- call antrun plugin to generate checksums file from and in previous folder
(prepare-package)
- call assembly plugin with single to create final archive file
(package)
Antrun plugin is located first in list of plugins, and is binded to phase
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
://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 kristof.vanhae...@gmail.com wrote:
prepare-package
-
To unsubscribe, e
I want to dynamically generate some js and JSPs just prior to wrapping
up the WAR.
There's been talk of a prepare-package phase for a while, has this ever
got anywhere?
TIA
John
Eurobase International Limited and its subsidiaries (Eurobase) are unable to
exercise control over
jndi-pattern=myapp-1.0-SNAPSHOT/#{ejbName}/local /
Ideally, I would like to plug my mojo plugin in the 'prepare-package'
phase. But I have to wait until the 2.1 release :-D
Do you have any idea to solve this problem ?
Thanks in advance.
Regards,
Alexandre
Hi,
Maven documentation mentions a prepare-package phase on
http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.ht
ml
However this phase doesn't seem to exist when running mvn prepare-package. I
get the error:
mvn prepare-package
[INFO] Scanning for projects
On 30/01/07, Bashar Abdul Jawad [EMAIL PROTECTED] wrote:
Maven documentation mentions a prepare-package phase on
http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.ht
ml
...
Also any plug-in execution bind to that phase never gets executed. Any
ideas
2.0.4
The version on Maven's homepage (http://maven.apache.org/) is also still
2.0.4.
Bashar
-Original Message-
From: Mark Hobson [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 30, 2007 2:42 PM
To: Maven Users List
Subject: Re: prepare-package phase doesn't exist?
On 30/01/07
PROTECTED]
Sent: Tuesday, January 30, 2007 2:42 PM
To: Maven Users List
Subject: Re: prepare-package phase doesn't exist?
On 30/01/07, Bashar Abdul Jawad [EMAIL PROTECTED] wrote:
Maven documentation mentions a prepare-package phase on
http://maven.apache.org/guides/introduction/introduction
Subject: Re: prepare-package phase doesn't exist?
Apologies, I should have marked that in the documentation. Actually, it's
2.1+.
On 31/01/07, Bashar Abdul Jawad [EMAIL PROTECTED] wrote:
2.0.4
The version on Maven's homepage (http://maven.apache.org/) is also still
2.0.4.
Bashar
14 matches
Mail list logo