You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Shinobu Kawai (JIRA)" <ji...@codehaus.org> on 2006/07/24 20:59:22 UTC

[jira] Created: (MPTEST-67) maven.compile.target is not considered in test:compile

maven.compile.target is not considered in test:compile
------------------------------------------------------

                 Key: MPTEST-67
                 URL: http://jira.codehaus.org/browse/MPTEST-67
             Project: maven-test-plugin
          Issue Type: Bug
    Affects Versions: 1.8
            Reporter: Shinobu Kawai
            Priority: Blocker
         Attachments: MPTEST-67

Since maven.compile.target is not used to compile, forking with a lower version JVM does not work.

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

        

[jira] Closed: (MPTEST-67) maven.compile.target is not considered in test:compile

Posted by "Lukas Theussl (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MPTEST-67?page=all ]

Lukas Theussl closed MPTEST-67.
-------------------------------

         Assignee: Lukas Theussl
       Resolution: Fixed
    Fix Version/s: 1.8.1

Applied. Thanks!

> maven.compile.target is not considered in test:compile
> ------------------------------------------------------
>
>                 Key: MPTEST-67
>                 URL: http://jira.codehaus.org/browse/MPTEST-67
>             Project: maven-test-plugin
>          Issue Type: Bug
>    Affects Versions: 1.8
>            Reporter: Shinobu Kawai
>         Assigned To: Lukas Theussl
>            Priority: Blocker
>             Fix For: 1.8.1
>
>         Attachments: MPTEST-67
>
>
> Since maven.compile.target is not used to compile, forking with a lower version JVM does not work.

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

        

[jira] Commented: (MPTEST-67) maven.compile.target is not considered in test:compile

Posted by "Shinobu Kawai (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MPTEST-67?page=comments#action_70999 ] 
            
Shinobu Kawai commented on MPTEST-67:
-------------------------------------

Good point.

You might want to create a new issue for that.  The test plugin is recycling many of the java plugin properties (including maven.compile.source, too).  It might be good to have test properties defaulting to the java properties.

> maven.compile.target is not considered in test:compile
> ------------------------------------------------------
>
>                 Key: MPTEST-67
>                 URL: http://jira.codehaus.org/browse/MPTEST-67
>             Project: maven-test-plugin
>          Issue Type: Bug
>    Affects Versions: 1.8
>            Reporter: Shinobu Kawai
>         Assigned To: Lukas Theussl
>            Priority: Blocker
>             Fix For: 1.8.1
>
>         Attachments: MPTEST-67
>
>
> Since maven.compile.target is not used to compile, forking with a lower version JVM does not work.

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

        

[jira] Commented: (MPTEST-67) maven.compile.target is not considered in test:compile

Posted by "nicolas de loof (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MPTEST-67?page=comments#action_70972 ] 
            
nicolas de loof commented on MPTEST-67:
---------------------------------------

Does this mean I cannot write my unit tests using Java5 extensions to test Java  1.3 classes (required by some tools like esaymock 2, Watij, ...) ?
Please consider an alternative way, for example a maven.test.compile.target  property. IMHO test compilation has no reason to be identical to application classes compilation. 

> maven.compile.target is not considered in test:compile
> ------------------------------------------------------
>
>                 Key: MPTEST-67
>                 URL: http://jira.codehaus.org/browse/MPTEST-67
>             Project: maven-test-plugin
>          Issue Type: Bug
>    Affects Versions: 1.8
>            Reporter: Shinobu Kawai
>         Assigned To: Lukas Theussl
>            Priority: Blocker
>             Fix For: 1.8.1
>
>         Attachments: MPTEST-67
>
>
> Since maven.compile.target is not used to compile, forking with a lower version JVM does not work.

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

        

[jira] Updated: (MPTEST-67) maven.compile.target is not considered in test:compile

Posted by "Shinobu Kawai (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MPTEST-67?page=all ]

Shinobu Kawai updated MPTEST-67:
--------------------------------

    Attachment: MPTEST-67

Patch to use maven.compile.target

> maven.compile.target is not considered in test:compile
> ------------------------------------------------------
>
>                 Key: MPTEST-67
>                 URL: http://jira.codehaus.org/browse/MPTEST-67
>             Project: maven-test-plugin
>          Issue Type: Bug
>    Affects Versions: 1.8
>            Reporter: Shinobu Kawai
>            Priority: Blocker
>         Attachments: MPTEST-67
>
>
> Since maven.compile.target is not used to compile, forking with a lower version JVM does not work.

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