thanks for answering my question. I did "attached" goal, however, it seems
to failed to asseble

The error that I am getting is

[INFO]
------------------------------------------------------------------------
[INFO] Error adding file 'C:\webapps\targe
t\classes' to archive: C:\webapps\target\c
lasses isn't a file.

If I used assembly goal, I was able to assemble without any problem except
"compile" phase executed twice.

Dave

On 3/8/07, Kai Uwe Bachmann <[EMAIL PROTECTED]> wrote:

Hello,

I think you use the assembly goal of the plugin. When you take a look
at the documentation you will
see that this goal calls the package phase by itself. If you use the
attach goal it wouldn't call an other
goal.

Best Regards

Kai Uwe Bachmann
Am 08.03.2007 um 20:56 schrieb Dave Maung:

> I have the following life cycle set up
> in compile phase, I have some ant task running, and in package phase, I
> have assembly plugin  set up.
>
> The problem is if I execute "mvn package", it is calling "compile"
> lifecycle
> phase twice. Is there way to stop occuring it? I am using Maven 2.0.5?
>
> Dave


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


Reply via email to