On 1/11/07, raju <[EMAIL PROTECTED]> wrote:

Hi,
I am trying to compile files in a folder and move them to a directory. It
gives the following error:
Diagnosis: Compilation failure
FATAL ERROR: Error executing Maven for a project
org.apache.maven.BuildFailureException: Compilation failure
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:555)
Read a lot of similar messages but am not clear what exactly causes this.
<plugin>
       <artifactId>maven-compiler-plugin</artifactId>

       <executions>
         <execution>

           <phase>compile</phase>
           <goals>
             <goal>compile</goal>
           </goals>
           <configuration>
             <sourceDirectory>wrappers</sourceDirectory>

I don't see 'sourceDirectory' as a configuration element for the compile goal:
http://maven.apache.org/plugins/maven-compiler-plugin/compile-mojo.html

It's actually a child element of <build>:
http://maven.apache.org/ref/2.0.4/maven-model/maven.html

In general, each module can have only one sourceDirectory and one
testSourceDirectory.

What are you trying to do?

--
Wendy

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

Reply via email to