In my web module pom I have an ant task to move some xml files around
as shown here :

<plugin>
                                <artifactId>maven-antrun-plugin</artifactId>
                                <executions>
                                        <execution>
                                                <phase>process-resources</phase>
                                                <configuration>
                                                        <tasks>
                                                                <copy
                                                                        
todir="WebContent/WEB-INF/appcontext">
                                                                        <fileset
                                                                                
dir="../eportal-services/src/spring/context"
                                                                                
includes="**/*.xml" />
                                                                        <fileset
                                                                                
dir="../eportal-webservices/src/spring/context"
                                                                                
includes="**/*.xml" />
                                                                        <fileset
                                                                                
dir="../eportal-messaging/src/spring/context"
                                                                                
includes="**/*.xml" />
                                                                </copy>
                                                        </tasks>
                                                </configuration>
                                                <goals>
                                                        <goal>run</goal>
                                                </goals>
                                        </execution>
                                </executions>
                        </plugin>



This has been working and out of the blue my build is failing :

[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Internal error in the plugin manager executing goal
'org.apache.maven.plugins:maven-antrun-plugin:1.0:run': Unable to find
the mojo 'org.apache.maven.plugins:maven-antrun-plugin:1.0:run' in the
plugin 'org.apache.maven.plugins:maven-antrun-plugin'
Component descriptor cannot be found in the component repository:
org.apache.maven.plugin.Mojoorg.apache.maven.plugins:maven-antrun-plugin:1.0:run.

The strange thing is that this happening when I do the build through
Continuum.If I change to the directory of my web module
(~/continuum/working-directory/86/eportal-web) and run "mvn install" ,
everything works fine.Files are copied , war created and deployed.

Any ideas?

--


Jeff  Mutonho

GoogleTalk : ejbengine
Skype        : ejbengine
Registered Linux user number 366042

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

Reply via email to