commonsrdf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wik...@apache.org
Subject [29/50] [abbrv] incubator-commonsrdf git commit: Add coveralls and jacoco to track code coverage for the simple implementation
Date Fri, 27 Mar 2015 18:15:27 GMT
Add coveralls and jacoco to track code coverage for the simple implementation


Project: http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/commit/eaf1d67f
Tree: http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/tree/eaf1d67f
Diff: http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/diff/eaf1d67f

Branch: refs/heads/master
Commit: eaf1d67ff42d36ad9260e9575ad0c72344b8e919
Parents: e3adf63
Author: Peter Ansell <p_ansell@yahoo.com>
Authored: Tue Jan 27 12:52:25 2015 +1100
Committer: Peter Ansell <p_ansell@yahoo.com>
Committed: Tue Jan 27 12:52:25 2015 +1100

----------------------------------------------------------------------
 simple/pom.xml | 56 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 56 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/blob/eaf1d67f/simple/pom.xml
----------------------------------------------------------------------
diff --git a/simple/pom.xml b/simple/pom.xml
index fbc1525..4f1cc5f 100644
--- a/simple/pom.xml
+++ b/simple/pom.xml
@@ -42,4 +42,60 @@
 		</dependency>
 	</dependencies>
 
+	<build>
+		<plugins>
+			<!-- Create code coverage reports and submit them to coveralls.io. -->
+			<plugin>
+				<groupId>org.eluder.coveralls</groupId>
+				<artifactId>coveralls-maven-plugin</artifactId>
+				<version>3.0.1</version>
+			</plugin>
+			<plugin>
+				<groupId>org.jacoco</groupId>
+				<artifactId>jacoco-maven-plugin</artifactId>
+				<version>0.7.2.201409121644</version>
+				<executions>
+					<execution>
+						<id>prepare-agent</id>
+						<goals>
+							<goal>prepare-agent</goal>
+						</goals>
+					</execution>
+				</executions>
+			</plugin>
+		</plugins>
+		<pluginManagement>
+			<plugins>
+				<!--This plugin's configuration is used to store Eclipse m2e settings only. It has
no influence on the Maven build itself.-->
+				<plugin>
+					<groupId>org.eclipse.m2e</groupId>
+					<artifactId>lifecycle-mapping</artifactId>
+					<version>1.0.0</version>
+					<configuration>
+						<lifecycleMappingMetadata>
+							<pluginExecutions>
+								<pluginExecution>
+									<pluginExecutionFilter>
+										<groupId>org.jacoco</groupId>
+										<artifactId>
+											jacoco-maven-plugin
+										</artifactId>
+										<versionRange>
+											[0.7.2.201409121644,)
+										</versionRange>
+										<goals>
+											<goal>prepare-agent</goal>
+										</goals>
+									</pluginExecutionFilter>
+									<action>
+										<ignore></ignore>
+									</action>
+								</pluginExecution>
+							</pluginExecutions>
+						</lifecycleMappingMetadata>
+					</configuration>
+				</plugin>
+			</plugins>
+		</pluginManagement>
+	</build>
 </project>


Mime
View raw message