[weld-issues] [JBoss JIRA] Updated: (CDITCK-44) Test coverage files are generated in directory from which maven is run

Karel Piwko (JIRA) jira-events at lists.jboss.org
Wed Nov 4 12:02:05 EST 2009


     [ https://jira.jboss.org/jira/browse/CDITCK-44?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Karel Piwko updated CDITCK-44:
------------------------------

    Attachment: impl-pom.xml.diff


Patch for passing outputDir to CoverageGenerator. Complicated by MCOMPILER-75 issue for maven-compiler-plugin

> Test coverage files are generated in directory from which maven is run
> ----------------------------------------------------------------------
>
>                 Key: CDITCK-44
>                 URL: https://jira.jboss.org/jira/browse/CDITCK-44
>             Project: CDI TCK
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Infrastructure
>    Affects Versions: 1.0.0.CR2
>            Reporter: Karel Piwko
>         Attachments: impl-pom.xml.diff
>
>
> When running maven target (install) from another directory than cdi-tck root, test coverage is generated in directory from which maven was fired.
> This caused unexpected FileNotFound when artifacts are to be installed:
> [trunk]$ mvn cdi-tck/pom.xml -Dtck-audit=true clean install
> [INFO] Installing /home/kpiwko/devel/weld/trunk/cdi-tck/target/coverage-cdi.html to /home/kpiwko/.m2/repository/org/jboss/jsr299/tck/jsr299-tck-impl/1.0.0-SNAPSHOT/jsr299-tck-impl-1.0.0-SNAPSHOT-coverage-cdi.html
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Error installing artifact: File /home/kpiwko/devel/weld/trunk/cdi-tck/target/coverage-cdi.html does not exist
> Target directory is generated in trunk. This bug causes problems with automatized testing on Hudson.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the weld-issues mailing list