HI,

when i am mvn test for mvn site, getting Error. Here I have enclosed my
configuration and error.

              <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>cobertura-maven-plugin</artifactId>
          <configuration>
               
<instrumentedDirectory>target/cobertura/instrumented-classes</instrumentedDirectory>
          <outputDirectory>target/cobertura/report</outputDirectory>
          </configuration>
                    <executions>
                        <execution>
                      <id>instrument</id>
                        <phase>test-compile</phase>
                        <goals>
                          <goal>instrument</goal>
                        </goals>
                      </execution>
                    <execution>
                                    <goals>
                                      <goal>clean</goal>
                                    </goals>
                        </execution>
                  </executions>
              </plugin>


        <reporting>
                -----
                <plugins>
                        <plugin>
                                <groupId>org.codehaus.mojo</groupId>
                               
<artifactId>surefire-report-maven-plugin</artifactId>
                        </plugin>
                 </plugins>
 </reporting>

Error


Compiling 24 source files to E:\latest-i401k\cs-cache\classes
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] No sources to compile
[INFO] [cobertura:instrument {execution: instrument}]
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Unable to prepare instrumentation directory.

Embedded error: Failed to copy full contents from
E:\latest-i401k\cs-cache\classes\generated-classes\cobertura\generated-classes\cobertura\generated-classes\cobertura\generated-classes\cobertura\generated-classes\cobertura\citistreet\id\util\cache\CreateCacheObjectEvent$CreateType.class
to
E:\latest-i401k\cs-cache\classes\generated-classes\cobertura\generated-classes\cobertura\generated-classes\cobertura\generated-classes\cobertura\generated-classes\cobertura\generated-classes\cobertura\citistreet\id\util\cache\CreateCacheObjectEvent$CreateType.class
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 7 seconds
[INFO] Finished at: Tue Jul 04 19:28:19 GMT+05:30 2006
[INFO] Final Memory: 5M/12M
[INFO]
------------------------------------------------------------------------

I dont why its creates multiple folders in classes directory.

Please help me on this issue. 
-- 
View this message in context: 
http://www.nabble.com/Cobertura-plugin-using-version-1.7-tf1889535.html#a5178718
Sent from the Maven - Users forum at Nabble.com.


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

Reply via email to