Skip to content

Commit

Permalink
fix code-coverage profile
Browse files Browse the repository at this point in the history
  • Loading branch information
maschmid committed Aug 26, 2011
1 parent 62fd23a commit c93eb58
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 41 deletions.
38 changes: 5 additions & 33 deletions impl/pom.xml
Expand Up @@ -99,42 +99,14 @@
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>emma-maven-plugin</artifactId>
<executions>
<execution>
<id>instrumentation</id>
<phase>process-classes</phase>
<goals>
<goal>instrument</goal>
</goals>
<configuration>
<verbose>true</verbose>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<id>complete-classpath-for-tests</id>
<phase>process-classes</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<tasks>
<delete dir="${project.build.directory}/classes" />
<mkdir dir="${project.build.directory}/classes" />
<copy todir="${project.build.directory}/classes" overwrite="true">
<fileset dir="${project.build.directory}/generated-classes/emma/classes">
<include name="**/*" />
</fileset>
</copy>
</tasks>
</configuration>
</execution>
</executions>
<artifactId>maven-surefire-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.sonatype.maven.plugin</groupId>
<artifactId>emma4it-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
Expand Down
8 changes: 0 additions & 8 deletions pom.xml
Expand Up @@ -29,7 +29,6 @@
<seam.version>3.1.0.Beta1</seam.version>
<jboss.spec.version>1.0.0.CR1</jboss.spec.version>
<jcr.version>2.0</jcr.version>
<emma.version>2.0.5312</emma.version>
</properties>

<prerequisites>
Expand Down Expand Up @@ -140,13 +139,6 @@
</profile>
<profile>
<id>code-coverage</id>
<dependencies>
<dependency>
<groupId>emma</groupId>
<artifactId>emma</artifactId>
<version>${emma.version}</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
Expand Down

0 comments on commit c93eb58

Please sign in to comment.