No, you bind exec:exec to deploy phase, or profile or however you want
to set it up and skip the normal deploy.

Kalle


On Mon, Aug 9, 2010 at 6:22 PM, Sergio Oliveira
<sergio.souj...@gmail.com> wrote:
> I added:
>
> <goals>install exec:exec</goals>
>
> But release:perform does not like exec:exec. :-(
>
> [INFO] [INFO]
> ------------------------------------------------------------------------
> [INFO] [INFO] One or more required plugin parameters are invalid/missing for
> 'exec:exec'
> [INFO]
> [INFO] [0] Inside the definition for plugin 'exec-maven-plugin' specify the
> following:
> [INFO]
> [INFO] <configuration>
> [INFO]   ...
> [INFO]   <executable>VALUE</executable>
> [INFO] </configuration>
> [INFO]
> [INFO] -OR-
> [INFO]
> [INFO] on the command line, specify: '-Dexec.executable=VALUE'
> [INFO]
>
>
>
>
> On Mon, Aug 9, 2010 at 5:51 PM, Wendy Smoak <wsm...@gmail.com> wrote:
>
>> On Mon, Aug 9, 2010 at 8:34 PM, Sergio Oliveira
>> <sergio.souj...@gmail.com> wrote:
>> > I am using the maven release plugin. Problem is simple: I don't want to
>> do a
>> > deploy (copy the war somewhere) on release:perform. I actually want to
>> > execute a shell script that will do the deploy for me. So I have two
>> things
>> > to accomplish:
>> >
>> > 1 - Somehow disable the default "deploy" goal from release:perform (i
>> want
>> > to build the war, but I don't want to copy it anywhere)
>> >
>> > 2 - Somehow make release:perform call the exec:exec plugin to execute a
>> > shell script that copy my war to my server farm
>>
>> Have you looked at the docs for the release plugin?  You can
>> reconfigure the goals it executes for both prepare and perform.  See
>> http://maven.apache.org/plugins/maven-release-plugin/perform-mojo.html
>> -> goals.  You might want "install exec:exec" there.
>>
>> You could also use the "skip" parameter of the deploy plugin to stop
>> it from deploying to the Maven repo.
>>
>> --
>> Wendy
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
>> For additional commands, e-mail: users-h...@maven.apache.org
>>
>>
>

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

Reply via email to