You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by godisone <ra...@verizonwireless.com> on 2012/12/18 20:03:28 UTC
Emma CodeCoverage for specific child module only
Hi
I have parent pom file which has two modules.
<modules>
<module>Yahoo-Flex</module>
<module>Yahoo-Java-spring</module>
</modules>
Now i want to run
mvn clean emma:emma
Project Yahoo-Java-spring has declared following [below is part of pom.xml]
<build>
<plugin>
<groupId>org.sonatype.flexmojos</groupId>
<artifactId>flexmojos-maven-plugin</artifactId>
<version>${flexmojosversion}</version>
<executions>
<execution>
<goals>
<goal>copy-flex-resources</goal>
</goals>
<configuration>
<stripVersion>true</stripVersion>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>emma</groupId>
<artifactId>emma</artifactId>
<version>2.0.5312</version>
</plugin>
</build>
Currently when i run
mvn clean emma:emma
it compiles both the project and run code coverage
I just want to run emma:emma on the Yahoo-Java-Spring how can i do it.
Thanks
Raj
--
View this message in context: http://maven.40175.n5.nabble.com/Emma-CodeCoverage-for-specific-child-module-only-tp5739060.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Emma CodeCoverage for specific child module only
Posted by godisone <ra...@verizonwireless.com>.
Yes, it worked out.
Thanks
Raj
--
View this message in context: http://maven.40175.n5.nabble.com/Emma-CodeCoverage-for-specific-child-module-only-tp5739060p5740067.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Emma CodeCoverage for specific child module only
Posted by Aliaksei Lahachou <al...@gmail.com>.
Try mvn clean emma:emma -pl Yahoo-Java-spring
Regards,
htfv (Aliaksei Lahachou)
Am 18.12.2012 20:04 schrieb "godisone" <ra...@verizonwireless.com>:
> Hi
>
> I have parent pom file which has two modules.
>
> <modules>
> <module>Yahoo-Flex</module>
> <module>Yahoo-Java-spring</module>
> </modules>
>
> Now i want to run
>
> mvn clean emma:emma
>
> Project Yahoo-Java-spring has declared following [below is part of pom.xml]
>
> <build>
> <plugin>
> <groupId>org.sonatype.flexmojos</groupId>
>
> <artifactId>flexmojos-maven-plugin</artifactId>
> <version>${flexmojosversion}</version>
> <executions>
> <execution>
> <goals>
>
> <goal>copy-flex-resources</goal>
> </goals>
> <configuration>
>
> <stripVersion>true</stripVersion>
> </configuration>
> </execution>
> </executions>
> </plugin>
> <plugin>
> <groupId>emma</groupId>
> <artifactId>emma</artifactId>
> <version>2.0.5312</version>
> </plugin>
> </build>
>
> Currently when i run
> mvn clean emma:emma
> it compiles both the project and run code coverage
>
> I just want to run emma:emma on the Yahoo-Java-Spring how can i do it.
>
> Thanks
> Raj
>
>
>
>
> --
> View this message in context:
> http://maven.40175.n5.nabble.com/Emma-CodeCoverage-for-specific-child-module-only-tp5739060.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
Re: Emma CodeCoverage for specific child module only
Posted by Wayne Fay <wa...@gmail.com>.
> Currently when i run
> mvn clean emma:emma
> it compiles both the project and run code coverage
>
> I just want to run emma:emma on the Yahoo-Java-Spring how can i do it.
Many plugins have a "skip" property so you can tell the plugin to not
run in that specific module. Check if that is available for this
plugin.
Wayne
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org