add inherited false to the plugin section
Sent from my iPod
On 31 Oct 2008, at 23:10, "Petr V." <[EMAIL PROTECTED]> wrote:
It's going to be a fun week end :-(
Okay so here is some more update . The nant script is call as many
times as pom files I have in whole project ... I added the exec
plugin definition in top pom file but it is executed for each sub
module .... How could I stop it from doing it ?
Any help will make my Halloween evening cool :-)
Thanks,
Petr
--- On Sat, 11/1/08, Petr V. <[EMAIL PROTECTED]> wrote:
From: Petr V. <[EMAIL PROTECTED]>
Subject: Re: exec-maven-plugin exit Code Issue
To: "Maven Users List" <[email protected]>
Date: Saturday, November 1, 2008, 3:51 AM
I am able to call my nant buid via exec-maven-plugin but my nnat
script is keep
callin agian and again and build process never ends.
I put the following in my top pom file of project. I guess phase
mean when we
need to call the nant script iof folliwng snippet but what does
<goal>exec</goal> mean ?
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>1.1</version>
<executions>
<execution>
<id>nantbuild</id>
<configuration>
<executable>nant</executable>
<workingDirectory>F:\shared</workingDirectory>
</configuration>
<phase>compile</phase>
<goals>
<goal>exec</goal>
</goals>
</execution>
</executions>
</plugin>
Thanks,
Petr
--- On Fri, 10/31/08, Petr V. <[EMAIL PROTECTED]> wrote:
From: Petr V. <[EMAIL PROTECTED]>
Subject: exec-maven-plugin exit Code Issue
To: "Maven Users List" <[email protected]>
Date: Friday, October 31, 2008, 10:58 PM
Okay as advised by Stephen Connolly, from my maven pom file , I am
trying to
call some other script(let's
assume it is an ant script for sake of discussion) which fails but my
maven build process goes on. I want my maven build to fail if it calls
some external script which fails. I looked at documentation of plugin
but I don't see any option that would help me setting up what to do
when
my called program or script via exec-maven-plugin fails
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>1.1</version>
<executions>
<execution>
<id>dowithant</id>
<configuration>
<executable>ant</executable>
</configuration>
<phase>compile</phase>
<goals>
<goal>exec</goal>
</goals>
</execution>
</executions>
</plugin>
It calls my ant script which fails but it goes on with my maven
build :-(.
Is there any way I can catch the failure of external script ?
Thanks,
Petr
--- On Fri, 10/31/08, Stephen Connolly <[EMAIL PROTECTED]
>
wrote:
From: Stephen Connolly <[EMAIL PROTECTED]>
Subject: Re: Nant Plugin for Maven to integrate dot net component in
main
project build ?
To: "Maven Users List" <[email protected]>,
[EMAIL PROTECTED]
Date: Friday, October 31, 2008, 2:13 AM
have a look at the exec-maven-plugin
2008/10/30 Petr V. <[EMAIL PROTECTED]>
Yeah we have looked into nMaven but these are the existing projects
and we
do not want to put effort to convert them to nMaven _now_.
Is there any way possible to call nant script from maven ?
Thanks,
Petr
--- On Thu, 10/30/08, Wayne Fay <[EMAIL PROTECTED]> wrote:
From: Wayne Fay <[EMAIL PROTECTED]>
Subject: Re: Nant Plugin for Maven to integrate dot net component
in main
project build ?
To: "Maven Users List" <[email protected]>
Date: Thursday, October 30, 2008, 11:47 PM
On Thu, Oct 30, 2008 at 10:37 AM, Petr V. <[EMAIL PROTECTED]>
wrote:
I have a project that has many components. Some are written in dot
net
and
some are in java.We are moving our build environment to maven.
I'd encourage you to look at NMaven:
http://incubator.apache.org/nmaven/
I don't use it myself, but I know others are using it successfully
with their dot-net projects.
Wayne
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]