{"action":"created","issue":{"url":"https://api.github.com/repos/cobertura/cobertura/issues/229","labels_url":"https://api.github.com/repos/cobertura/cobertura/issues/229/labels{/name}","comments_url":"https://api.github.com/repos/cobertura/cobertura/issues/229/comments","events_url":"https://api.github.com/repos/cobertura/cobertura/issues/229/events","html_url":"https://github.com/cobertura/cobertura/issues/229","id":58986887,"number":229,"title":"ERROR - loadCoverageData","user":{"login":"eliassal","id":8447864,"avatar_url":"https://avatars.githubusercontent.com/u/8447864?v=3","gravatar_id":"","url":"https://api.github.com/users/eliassal","html_url":"https://github.com/eliassal","followers_url":"https://api.github.com/users/eliassal/followers","following_url":"https://api.github.com/users/eliassal/following{/other_user}","gists_url":"https://api.github.com/users/eliassal/gists{/gist_id}","starred_url":"https://api.github.com/users/eliassal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eliassal/subscriptions","organizations_url":"https://api.github.com/users/eliassal/orgs","repos_url":"https://api.github.com/users/eliassal/repos","events_url":"https://api.github.com/users/eliassal/events{/privacy}","received_events_url":"https://api.github.com/users/eliassal/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/cobertura/cobertura/labels/Maven","name":"Maven","color":"009800"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/cobertura/cobertura/milestones/4","html_url":"https://github.com/cobertura/cobertura/milestones/Cobertura%202.1.1","labels_url":"https://api.github.com/repos/cobertura/cobertura/milestones/4/labels","id":380104,"number":4,"title":"Cobertura 2.1.1","description":"","creator":{"login":"christ66","id":1302212,"avatar_url":"https://avatars.githubusercontent.com/u/1302212?v=3","gravatar_id":"","url":"https://api.github.com/users/christ66","html_url":"https://github.com/christ66","followers_url":"https://api.github.com/users/christ66/followers","following_url":"https://api.github.com/users/christ66/following{/other_user}","gists_url":"https://api.github.com/users/christ66/gists{/gist_id}","starred_url":"https://api.github.com/users/christ66/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/christ66/subscriptions","organizations_url":"https://api.github.com/users/christ66/orgs","repos_url":"https://api.github.com/users/christ66/repos","events_url":"https://api.github.com/users/christ66/events{/privacy}","received_events_url":"https://api.github.com/users/christ66/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":19,"state":"open","created_at":"2013-07-17T02:31:54Z","updated_at":"2015-03-03T12:19:36Z","due_on":"2015-02-25T23:00:00Z","closed_at":null},"comments":18,"created_at":"2015-02-25T23:20:50Z","updated_at":"2015-03-03T16:50:05Z","closed_at":"2015-02-27T12:23:14Z","body":"Hi, I have downloaded the source code for Gameoflife application and trying to follow the steps indicated in the book that uses this application to show Code coverage in Jenkins + Maven.\r\nI am very new to cobertura, running  mvn clean package cobertura:cobertura, I get a coverage with 0.0 everywhere in spite of the fact that around 50 tests are run. The output is :+1: INFO] --- cobertura-maven-plugin:2.6:cobertura (default-cli) @ gameoflife-web ---\r\n[INFO] Cobertura 2.0.3 - GNU GPL License (NO WARRANTY) - See COPYRIGHT file\r\nReport time: 188ms\r\n\r\n[ERROR] févr. 24, 2015 3:46:52 PM net.sourceforge.cobertura.coveragedata.CoverageDataFileHandler loadCoverageData\r\nINFO: Cobertura: Loaded information on 2 classes.\r\n\r\n[INFO] Cobertura Report generation was successful.\r\n[INFO] ------------------------------------------------------------------------\r\n[INFO] Reactor Summary:\r\n[INFO] \r\n[INFO] gameoflife ......................................... SUCCESS [ 13.773 s]\r\n[INFO] gameoflife-build ................................... SUCCESS [  0.703 s]\r\n[INFO] gameoflife-core .................................... SUCCESS [  6.612 s]\r\n[INFO] gameoflife-web ..................................... SUCCESS [ 10.741 s]\r\n[INFO] ------------------------------------------------------------------------\r\n[INFO] BUILD SUCCESS\r\n[INFO] ------------------------------------------------------------------------\r\n[INFO] Total time: 38.523 s\r\n[INFO] Finished at: 2015-02-24T15:46:52+01:00\r\n[INFO] Final Memory: 28M/247M\r\n[INFO] ------------------------------------------------------------------------\r\n[Cobertura] Publishing Cobertura coverage report...\r\nPublishing Cobertura coverage results...\r\nCobertura coverage report found.\r\nCode coverage enforcement failed for the following metrics:\r\n    Packages's stability is 0.0 and set mininum stability is 95.0.\r\n    Methods's stability is 0.0 and set mininum stability is 80.0.\r\n    Lines's stability is 0.0 and set mininum stability is 75.0.\r\n    Conditionals's stability is 0.0 and set mininum stability is 75.0.\r\nSetting Build to unstable.\r\nBuild step 'Publish Cobertura Coverage Report' changed build result to UNSTABLE\r\nRecording test results\r\nPublishing Javadoc\r\nFinished: UNSTABLE\r\n\r\nI ran the same command in a terminal and getting the same output. \r\n\r\nThanks for your help\r\n"},"comment":{"url":"https://api.github.com/repos/cobertura/cobertura/issues/comments/76984178","html_url":"https://github.com/cobertura/cobertura/issues/229#issuecomment-76984178","issue_url":"https://api.github.com/repos/cobertura/cobertura/issues/229","id":76984178,"user":{"login":"eliassal","id":8447864,"avatar_url":"https://avatars.githubusercontent.com/u/8447864?v=3","gravatar_id":"","url":"https://api.github.com/users/eliassal","html_url":"https://github.com/eliassal","followers_url":"https://api.github.com/users/eliassal/followers","following_url":"https://api.github.com/users/eliassal/following{/other_user}","gists_url":"https://api.github.com/users/eliassal/gists{/gist_id}","starred_url":"https://api.github.com/users/eliassal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eliassal/subscriptions","organizations_url":"https://api.github.com/users/eliassal/orgs","repos_url":"https://api.github.com/users/eliassal/repos","events_url":"https://api.github.com/users/eliassal/events{/privacy}","received_events_url":"https://api.github.com/users/eliassal/received_events","type":"User","site_admin":false},"created_at":"2015-03-03T16:50:05Z","updated_at":"2015-03-03T16:50:05Z","body":"I will try again to paste it\r\n<project xmlns=\"http://maven.apache.org/POM/4.0.0\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:schemaLocation=\"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd\">\r\n  <modelVersion>4.0.0</modelVersion>\r\n  <groupId>ProteinTrackerTests</groupId>\r\n  <artifactId>ProteinTrackerTests</artifactId>\r\n  <version>0.0.1-SNAPSHOT</version>\r\n  <build>\r\n    <sourceDirectory>src</sourceDirectory>\r\n    <testSourceDirectory>src</testSourceDirectory>\r\n    <scriptSourceDirectory>src</scriptSourceDirectory>\r\n    <resources>\r\n      <resource>\r\n        <directory>src</directory></resource>\r\n    </resources>\r\n    <testResources>\r\n      <testResource><directory>src</directory>\r\n      </testResource>\r\n    </testResources> \r\n    <plugins>\r\n      <plugin>\r\n        <artifactId>maven-compiler-plugin</artifactId>\r\n        <version>3.1</version>\r\n        <configuration>\r\n          <source>1.7</source>\r\n          <target>1.7</target>\r\n        </configuration>\r\n      </plugin> \r\n      <plugin>\r\n        <groupId>org.codehaus.mojo</groupId>\r\n        <artifactId>cobertura-maven-plugin</artifactId>\r\n        <version>2.7</version>\r\n      </plugin>\r\n    </plugins>\r\n  </build>\r\n  <dependencies>\r\n  \t<dependency>\r\n  \t\t<groupId>ProteinTracker</groupId>\r\n  \t\t<artifactId>ProteinTracker</artifactId>\r\n  \t\t<version>0.0.1-SNAPSHOT</version>\r\n  \t</dependency>\r\n  \t<dependency>\r\n  \t\t<groupId>junit</groupId>\r\n  \t\t<artifactId>junit</artifactId>\r\n  \t\t<version>LATEST</version>\t\r\n  \t</dependency>\r\n  </dependencies>\r\n  <reporting>\r\n  <plugins>\r\n  \t<plugin>\r\n        <groupId>org.codehaus.mojo</groupId>\r\n        <artifactId>cobertura-maven-plugin</artifactId>\r\n        <version>2.7</version>\r\n        <configuration>\r\n        \t<formats>\r\n        \t\t<format>xml</format>\r\n        \t\t<format>html</format>\r\n        \t</formats>\r\n        </configuration> \r\n      </plugin>\r\n  \t</plugins>\r\n  </reporting>\r\n</project>"}}