You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "Michael Dick (JIRA)" <ji...@apache.org> on 2008/02/19 19:08:43 UTC

[jira] Closed: (OPENJPA-512) Maven build fails if -Dmaven.test.skip=true

     [ https://issues.apache.org/jira/browse/OPENJPA-512?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Dick closed OPENJPA-512.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 1.0.3

> Maven build fails if -Dmaven.test.skip=true
> -------------------------------------------
>
>                 Key: OPENJPA-512
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-512
>             Project: OpenJPA
>          Issue Type: Bug
>          Components: build / infrastructure
>    Affects Versions: 0.9.0, 0.9.6, 0.9.7, 1.0.0, 1.0.1
>            Reporter: Michael Dick
>            Assignee: Michael Dick
>            Priority: Trivial
>             Fix For: 1.0.3, 1.1.0
>
>
> Per Rahul Thakur's email to the dev mailing list the build fails if the maven.test.skip property is set to true. None of the source files in src/test/java are compiled when this flag is set, causing the PCEnhancer to fail, and the subsequent build to fail. 
> Running mvn -Dtest=false clean test will still compile the testcases, but won't run any of the tests. This property can be used as a workaround for the problem. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.