[
https://issues.jboss.org/browse/AS7-2022?page=com.atlassian.jira.plugin.s...
]
Ondrej Zizka edited comment on AS7-2022 at 1/17/12 12:45 AM:
-------------------------------------------------------------
JaCoCo Maven plugin naively assumes that class files must be located in
${basedir}/target/classes.
Need to resort to Ant task <jacoco:report> - see <classfiles>. (Confirmed:
https://sourceforge.net/projects/eclemma/forums/forum/614869/topic/479057... )
{code}
[INFO] --- jacoco-maven-plugin:0.5.5.201112152213:report (ts.jacoco.report) @
jboss-as-testsuite-integration-smoke ---
[ERROR] Error while creating report: basedir
/home/ondra/work/AS7/ozizka-git/testsuite/integration/smoke/target/classes does not exist
java.lang.IllegalStateException: basedir
/home/ondra/work/AS7/ozizka-git/testsuite/integration/smoke/target/classes does not exist
at org.codehaus.plexus.util.DirectoryScanner.scan(DirectoryScanner.java:550)
at
org.codehaus.plexus.util.FileUtils.getFileAndDirectoryNames(FileUtils.java:1717)
at org.codehaus.plexus.util.FileUtils.getFileNames(FileUtils.java:1645)
at org.codehaus.plexus.util.FileUtils.getFileNames(FileUtils.java:1627)
at org.codehaus.plexus.util.FileUtils.getFiles(FileUtils.java:1601)
at org.codehaus.plexus.util.FileUtils.getFiles(FileUtils.java:1584)
at org.jacoco.maven.ReportMojo.getFilesToAnalyze(ReportMojo.java:233)
at org.jacoco.maven.ReportMojo.createBundle(ReportMojo.java:136)
at org.jacoco.maven.ReportMojo.createReport(ReportMojo.java:115)
at org.jacoco.maven.ReportMojo.executeMojo(ReportMojo.java:89)
at org.jacoco.maven.AbstractJacocoMojo.execute(AbstractJacocoMojo.java:66)
at
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:107)
{code}
https://sourceforge.net/tracker/?func=detail&aid=3474708&group_id...
was (Author: ozizka):
JaCoCo Maven plugin naively assumes that class files must be located in
${basedir}/target/classes.
Need to resort to Ant task <jacoco:report> - see <classfiles>. (Confirmed:
https://sourceforge.net/projects/eclemma/forums/forum/614869/topic/479057... )
{code}
[INFO] --- jacoco-maven-plugin:0.5.5.201112152213:report (ts.jacoco.report) @
jboss-as-testsuite-integration-smoke ---
[ERROR] Error while creating report: basedir
/home/ondra/work/AS7/ozizka-git/testsuite/integration/smoke/target/classes does not exist
java.lang.IllegalStateException: basedir
/home/ondra/work/AS7/ozizka-git/testsuite/integration/smoke/target/classes does not exist
at org.codehaus.plexus.util.DirectoryScanner.scan(DirectoryScanner.java:550)
at
org.codehaus.plexus.util.FileUtils.getFileAndDirectoryNames(FileUtils.java:1717)
at org.codehaus.plexus.util.FileUtils.getFileNames(FileUtils.java:1645)
at org.codehaus.plexus.util.FileUtils.getFileNames(FileUtils.java:1627)
at org.codehaus.plexus.util.FileUtils.getFiles(FileUtils.java:1601)
at org.codehaus.plexus.util.FileUtils.getFiles(FileUtils.java:1584)
at org.jacoco.maven.ReportMojo.getFilesToAnalyze(ReportMojo.java:233)
at org.jacoco.maven.ReportMojo.createBundle(ReportMojo.java:136)
at org.jacoco.maven.ReportMojo.createReport(ReportMojo.java:115)
at org.jacoco.maven.ReportMojo.executeMojo(ReportMojo.java:89)
at org.jacoco.maven.AbstractJacocoMojo.execute(AbstractJacocoMojo.java:66)
at
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:107)
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira