On 7/6/06, Jeff Mutonho <[EMAIL PROTECTED]> wrote:
On 7/6/06, Jeff Mutonho <[EMAIL PROTECTED]> wrote:
> 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?
>
> --

Just to add more  , also running mvn install from the top level
directory results in the same error message , so hence it's not a
Continuum issue.I also found this post
http://mail-archives.apache.org/mod_mbox/maven-users/200606.mbox/[EMAIL 
PROTECTED]

which is the exact same problem I'm experiencing.



The only other thing I changed is the addition of the xdoclect plugin
in one of the modules(eportal-services) , basically to generate my
hibernate mappings.This
http://www.mail-archive.com/users@maven.apache.org/msg44933.html has a
suggestion  , but I don't have 2 references to the antrun plugin.


--


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