[weld-issues] [JBoss JIRA] Created: (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 11:56:05 EST 2009


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


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