You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org> on 2009/04/16 22:49:57 UTC

[jira] Commented: (MANT-48) Allow customization of source/target options for javac

    [ http://jira.codehaus.org/browse/MANT-48?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=173208#action_173208 ] 

Benjamin Bentmann commented on MANT-48:
---------------------------------------

Can you elaborate on your use case some more? For instance, the Ant Plugin already extracts the source/target values from the Maven Compiler Plugin. If that isn't working for you, could you provide an example POM to reproduce?

I also don't quite understand the intention of your patch. It's merely replacing the actual default values with properties but if the default values aren't used, the properties won't be used either. So I'm really not sure what you're trying to solve.

> Allow customization of source/target options for javac
> ------------------------------------------------------
>
>                 Key: MANT-48
>                 URL: http://jira.codehaus.org/browse/MANT-48
>             Project: Maven 2.x Ant Plugin
>          Issue Type: Improvement
>            Reporter: Eric Gulatee
>         Attachments: patch1.txt
>
>
> As of right now, mvn ant:ant generates a hard coded value for the source & target for the javac command.
> Is it possible to:
> -  Customize this value through properties?
> or
> -  See if there is a maven plugin [maven-compiler-plugin] and use that source and target.  

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