You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Oleg Gusakov (JIRA)" <ji...@codehaus.org> on 2008/10/20 20:11:19 UTC
[jira] Commented: (MCOMPILER-83) add separate configuration for
test compiler
[ http://jira.codehaus.org/browse/MCOMPILER-83?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=151385#action_151385 ]
Oleg Gusakov commented on MCOMPILER-83:
---------------------------------------
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}
Changes commited to trunk, snapshot published in apache snapshots
> 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
>
> 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