maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oleg Gusakov (JIRA)" <j...@codehaus.org>
Subject [jira] Issue Comment Edited: (MCOMPILER-83) add separate configuration for test compiler
Date Fri, 07 Nov 2008 21:45:13 GMT

    [ http://jira.codehaus.org/browse/MCOMPILER-83?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=151385#action_151385
] 

olle edited comment on MCOMPILER-83 at 11/7/08 3:43 PM:
----------------------------------------------------------------

I modified 2.1 trunk, added
* *testSource* 
* *testTarget* 
* *testCompilerArgument* 
* *testCompilerArguments*

So that we can now use:
{code}
  <build>
    <plugins>
      <plugin>
        <artifactId>maven-compiler-plugin</artifactId>
        <version>2.1-SNAPSHOT</version>
        <configuration>
          <source>1.4</source>
          <target>1.4</target>
          <testSource>1.5</testSource>
          <testTarget>1.5</testTarget>
          <testCompilerArgument>-bootclasspath ${java.home}\lib\rt.jar</compilerArgument>
          <testCompilerArguments>
            <verbose />
          </testCompilerArguments>
        </configuration>
      </plugin>
    </plugins>
  </build>
{code} 

Snapshot published in apache snapshots. Changes commited to trunk

      was (Author: olle):
    I modified 2.1 trunk, added
* *testSource* 
* *testSource* 
* *testCompilerArgument* 
* *testCompilerArguments*

So that we can now use:
{code}
  <build>
    <plugins>
      <plugin>
        <artifactId>maven-compiler-plugin</artifactId>
        <version>2.1-SNAPSHOT</version>
        <configuration>
          <source>1.4</source>
          <target>1.4</target>
          <testSource>1.5</testSource>
          <testTarget>1.5</testTarget>
          <testCompilerArgument>-bootclasspath ${java.home}\lib\rt.jar</compilerArgument>
          <testCompilerArguments>
            <verbose />
          </testCompilerArguments>
        </configuration>
      </plugin>
    </plugins>
  </build>
{code} 

Snapshot published in apache snapshots. Changes commited to trunk
  
> add separate configuration for test compiler
> --------------------------------------------
>
>                 Key: MCOMPILER-83
>                 URL: http://jira.codehaus.org/browse/MCOMPILER-83
>             Project: Maven 2.x Compiler Plugin
>          Issue Type: New Feature
>    Affects Versions: 2.1
>         Environment: all
>            Reporter: Oleg Gusakov
>            Assignee: Oleg Gusakov
>
> use case: (described in http://www.nabble.com/compiler-plugin:-separate-test-compiler-configuration-tt20058021.html
)
> * main code is java 1.4 and should remain such for the release
> * unit tests are junit 4 based
> to address this use case in cli, modify compiler plugin to accept *testSource* and *testTarget*
configuration parameters

-- 
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

        

Mime
View raw message