>>> cobertura-maven-plugin:2.5.1:cobertura (default-cli) @
CiscoTransferManagementLibrary >>> is executing other build related plugins
and one of them is flexmojo which is flex compiler and that is where it is
failing.

 I'm not sure..how should i skip.

Thanks
-Gangadhar


rgangadhar wrote:
> 
> I have already tried skip following the the configuration in the skipped
> module.
> 
> 
>                       <plugin>
>                               <groupId>org.codehaus.mojo</groupId>
>                 <artifactId>cobertura-maven-plugin</artifactId>
>                 <configuration>
>                                       <skip>true</skip>
>                 </configuration>
>                       </plugin>
> 
> I can see for cobertura's clean and instrumentation goals are skipped but
> i sill see other goal is being executed that may be "cobertura". following
> is the error message
> 
> [INFO] --- cobertura-maven-plugin:2.5.1:clean (default) @
> CiscoTransferManagementLibrary ---
> [INFO] Skipping cobertura execution
> [INFO]
> [INFO] --- cobertura-maven-plugin:2.5.1:instrument (default) @
> CiscoTransferManagementLibrary ---
> [INFO] Skipping cobertura execution
> [INFO]
> [INFO] --- maven-install-plugin:2.3.1:install (default-install) @
> CiscoTransferManagementLibrary ---
> [INFO] Installing
> C:\Users\garamini\.hudson\jobs\TestEmma\workspace\trunk\Portal\Client\nextgen\CiscoTransferManagementLibrary\target\CiscoTransferManagementLibrary.
> swc to
> C:\Users\garamini\.m2\repository\com\cisco\vse\CiscoTransferManagementLibrary\1.5.0.15127\CiscoTransferManagementLibrary-1.5.0.15127.swc
> [INFO] Installing
> C:\Users\garamini\.hudson\jobs\TestEmma\workspace\trunk\Portal\Client\nextgen\CiscoTransferManagementLibrary\pom.xml
> to C:\Users\garamini\.m2\repos
> itory\com\cisco\vse\CiscoTransferManagementLibrary\1.5.0.15127\CiscoTransferManagementLibrary-1.5.0.15127.pom
> [INFO]
> [INFO] >>> cobertura-maven-plugin:2.5.1:cobertura (default-cli) @
> CiscoTransferManagementLibrary >>>
> [INFO]
> [INFO] --- incremental-build-plugin:1.2:incremental-build (default) @
> CiscoTransferManagementLibrary ---
> [INFO] Verifying module descriptor ...
> [INFO] Verifying parent modules...
> [INFO] Verifying resources...
> [INFO] Resources directory does not exist :
> C:\Users\garamini\.hudson\jobs\TestEmma\workspace\trunk\Portal\Client\nextgen\CiscoTransferManagementLibrary\src\main\res
> ources
> [INFO] Verifying sources...
> [INFO]
> [INFO] --- maven-remote-resources-plugin:1.0:process (default) @
> CiscoTransferManagementLibrary ---
> [INFO]
> [INFO] --- maven-resources-plugin:2.5:resources (default-resources) @
> CiscoTransferManagementLibrary ---
> [debug] execute contextualize
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] skip non existing resourceDirectory
> C:\Users\garamini\.hudson\jobs\TestEmma\workspace\trunk\Portal\Client\nextgen\CiscoTransferManagementLibrary\src\main\reso
> urces
> [INFO] Copying 3 resources
> [INFO] Copying 3 resources
> [INFO]
> [INFO] --- flexmojos-maven-plugin:4.0-beta-7:compile-swc
> (default-compile-swc) @ CiscoTransferManagementLibrary ---
> [INFO] Flexmojos 4.0-beta-7
> [INFO]   Apache License - Version 2.0 (NO WARRANTY) - See COPYRIGHT file
> [WARNING] No themes are explicitly defined in the <theme> section or in
> any scope="theme" dependencies. Flexmojos is now attempting to figure out
> which themes to inc
> lude. (to avoid this warning you should explicitly state your theme
> dependencies)
> [WARNING] Added the spark.css theme because spark.swc was included as a
> dependency
> [WARNING] Added the halo.swc theme because mx.swc was included as a
> dependency
> Adobe Compc (Flex Component Compiler)
> Version 4.5.0 build 20967
> Copyright (c) 2004-2011 Adobe Systems, Inc. All rights reserved.
> 
> command line: Error: a file with the name 'META-INF/DEPENDENCIES' was
> specified more than once
> 
> 
>  
> Thanks
> -Gangadhar
> 
> 
> 
> 
> Wayne Fay wrote:
>> 
>>>   There are some flex modules in my application which doesn't need code
>>> coverage so is there a way that i can skip the child modules for
>> cobertura.
>>>
>>>   I tried many ways like setting <inherit>false<inherit> in parent pom
>>> but
>>> it didn't work.
>> 
>> Did you RTFM? There is a skip option in the plugin itself.
>> 
>> http://mojo.codehaus.org/cobertura-maven-plugin/instrument-mojo.html
>> http://jira.codehaus.org/browse/MCOBERTURA-75
>> 
>> Wayne
>> 
>> 
> 
> 

-- 
View this message in context: 
http://old.nabble.com/Unable-to-skip-cobertura-for-child-modules-tp32767702p32775693.html
Sent from the mojo - dev mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to