Parse options from environment
[rhynodge.git] / pom.xml
diff --git a/pom.xml b/pom.xml
index 514ded5..9c22d87 100644 (file)
--- a/pom.xml
+++ b/pom.xml
                                        <mainClass>net.pterodactylus.rhynodge.engine.Starter</mainClass>
                                </configuration>
                        </plugin>
-               </plugins>
-       </build>
-
-       <reporting>
-               <plugins>
                        <plugin>
-                               <groupId>org.codehaus.mojo</groupId>
-                               <artifactId>emma-maven-plugin</artifactId>
-                               <version>1.0-alpha-3</version>
+                               <groupId>org.jacoco</groupId>
+                               <artifactId>jacoco-maven-plugin</artifactId>
+                               <version>0.7.1.201405082137</version>
+                               <executions>
+                                       <execution>
+                                               <id>default-prepare-agent</id>
+                                               <goals>
+                                                       <goal>prepare-agent</goal>
+                                               </goals>
+                                       </execution>
+                                       <execution>
+                                               <id>default-report</id>
+                                               <phase>prepare-package</phase>
+                                               <goals>
+                                                       <goal>report</goal>
+                                               </goals>
+                                       </execution>
+                                       <execution>
+                                               <id>default-check</id>
+                                               <goals>
+                                                       <goal>check</goal>
+                                               </goals>
+                                               <configuration>
+                                                       <rules>
+                                                               <!--  implmentation is needed only for Maven 2  -->
+                                                               <rule implementation="org.jacoco.maven.RuleConfiguration">
+                                                                       <element>BUNDLE</element>
+                                                                       <limits>
+                                                                               <!--  implmentation is needed only for Maven 2  -->
+                                                                               <limit implementation="org.jacoco.report.check.Limit">
+                                                                                       <counter>COMPLEXITY</counter>
+                                                                                       <value>COVEREDRATIO</value>
+                                                                                       <minimum>0.60</minimum>
+                                                                               </limit>
+                                                                       </limits>
+                                                               </rule>
+                                                       </rules>
+                                               </configuration>
+                                       </execution>
+                               </executions>
                        </plugin>
                </plugins>
-       </reporting>
+       </build>
 
        <dependencies>
                <dependency>
                <dependency>
                        <groupId>org.apache.httpcomponents</groupId>
                        <artifactId>httpclient</artifactId>
-                       <version>4.2.2</version>
+                       <version>4.4</version>
                </dependency>
                <dependency>
                        <groupId>org.jsoup</groupId>
                        <artifactId>jackson-databind</artifactId>
                        <version>2.1.2</version>
                </dependency>
-               <dependency>
-                       <groupId>com.lexicalscope.jewelcli</groupId>
-                       <artifactId>jewelcli</artifactId>
-                       <version>0.8.3</version>
-               </dependency>
        </dependencies>
 </project>