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

Benjamin Bentmann edited comment on MANT-48 at 4/16/09 3:53 PM:
----------------------------------------------------------------

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?

In general, I wonder how much sense it makes to allow customization of the 
source/target values via properties. I mean these aren't user-specific settings 
so I would like to understand the need to override them via properties. 

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.

      was (Author: bentmann):
    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

        

Reply via email to