Yes, it is in the pom that I am running.  Here is the output.  Thanks.

C:\ BrightonCommon>mvn compile
[INFO] Scanning for projects...
[INFO]
------------------------------------------------------------------------
----
[INFO] Building Unnamed - medstat:BrightonCommon:jar:1.0-SNAPSHOT
[INFO]    task-segment: [compile]
[INFO]
------------------------------------------------------------------------
----
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
Downloading: http://repo1.maven.org/maven2/jsr170/jcr/1.0/jcr-1.0.pom
[WARNING] Unable to get resource 'jsr170:jcr:pom:1.0' from repository
central (http://repo1.maven.org/maven2)
Downloading:
http://repo1.maven.org/maven2/axis/axis-jaxrpc/1.4/axis-jaxrpc-1.4.pom
[WARNING] Unable to get resource 'axis:axis-jaxrpc:pom:1.4' from
repository central (http://repo1.maven.org/maven2)
Downloading:
http://repo1.maven.org/maven2/axis/axis-saaj/1.4/axis-saaj-1.4.pom
[WARNING] Unable to get resource 'axis:axis-saaj:pom:1.4' from
repository central (http://repo1.maven.org/maven2)
Downloading:
http://repo1.maven.org/maven2/com/google/gwt/user/1.2.22/user-1.2.22.pom
[WARNING] Unable to get resource 'com.google.gwt:user:pom:1.2.22' from
repository central (http://repo1.maven.org/maven2
)
[INFO] [compiler:compile]
[INFO] Nothing to compile - all classes are up to date
[INFO]
------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 2 seconds
[INFO] Finished at: Tue Mar 06 14:39:37 EST 2007
[INFO] Final Memory: 3M/6M
[INFO]
------------------------------------------------------------------------

Kurt

-----Original Message-----
From: Eric Redmond [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 06, 2007 2:16 PM
To: Maven Users List
Subject: Re: binding goals to a phase

Is this description in the pom you are running, or in a parent pom? If
the
latter, you have "inherited" turned off so it won't work. If the former,
could you send the command-line args you use and the output? This
shouldn't
happen.

Eric

On 3/6/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> I'm trying to get my build to execute goals of a plugin during a
phase.
> There is plenty of documentation available how to do this, but I can't
> get it to work.  Is there a setting somewhere that I need to turn
> executions on?  The XML below will run fine with "mvn antrun:run,"
but
> when I run mvn compile, the antrun:run goal does not get executed.
Any
> ideas what I could be doing wrong?  I'm using 2.0.5
>
>
>
> <plugin>
>
>             <artifactId>maven-antrun-plugin</artifactId>
>
>             <configuration>
>
>                         <tasks>
>
>                                     <echo>Hurray it Worked!</echo>
>
>                         </tasks>
>
>             </configuration>
>
>             <executions>
>
>                         <execution>
>
>                                     <id>someid</id>
>
>                                     <goals>
>
>                                                 <goal>run</goal>
>
>                                     </goals>
>
>                                     <phase>compile</phase>
>
>                                     <inherited>false</inherited>
>
>                         </execution>
>
>             </executions>
>
> </plugin>
>
>
>
> Kurt
>
>
>
>


-- 
Eric Redmond
http://codehaus.org/~eredmond

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

Reply via email to