You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "benson margulies (JIRA)" <ji...@codehaus.org> on 2009/02/01 03:07:19 UTC

[jira] Created: (MCOMPILER-93) not passed to the compiler.

<encoding/> not passed to the compiler.
---------------------------------------

                 Key: MCOMPILER-93
                 URL: http://jira.codehaus.org/browse/MCOMPILER-93
             Project: Maven 2.x Compiler Plugin
          Issue Type: Bug
    Affects Versions: 2.0.2
            Reporter: benson margulies


My configuration include <encoding>utf-8</encoding>

-X shows no sign of it, and I get problems in compile that stem from not having it set.

[DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile' -->
[DEBUG]   (f) basedir = /home/benson/tip/rlp/utilities/source/java
[DEBUG]   (f) buildDirectory = /home/benson/tip/rlp/utilities/source/java/target
[DEBUG]   (f) classpathElements = [/home/benson/tip/rlp/utilities/source/java/target/classes]
[DEBUG]   (f) compileSourceRoots = [/home/benson/tip/rlp/utilities/source/java/src]
[DEBUG]   (f) compilerId = javac
[DEBUG]   (f) debug = true
[DEBUG]   (f) failOnError = true
[DEBUG]   (f) fork = false
[DEBUG]   (f) maxmem = 256M
[DEBUG]   (f) optimize = true
[DEBUG]   (f) outputDirectory = /home/benson/tip/rlp/utilities/source/java/target/classes
[DEBUG]   (f) outputFileName = utilities-7.0-SNAPSHOT
[DEBUG]   (f) projectArtifact = com.basistech:utilities:jar:7.0-SNAPSHOT
[DEBUG]   (f) showDeprecation = true
[DEBUG]   (f) showWarnings = true
[DEBUG]   (f) source = 1.5
[DEBUG]   (f) staleMillis = 0
[DEBUG]   (f) target = 1.5
[DEBUG]   (f) verbose = false
[DEBUG] -- end configuration --


-- 
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: (MCOMPILER-93) not passed to the compiler.

Posted by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MCOMPILER-93?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benjamin Bentmann updated MCOMPILER-93:
---------------------------------------

    Attachment: MCOMPILER-93.zip

The attached project works for me so I suspect a misconfiguration of the plugin.

> <encoding/> not passed to the compiler.
> ---------------------------------------
>
>                 Key: MCOMPILER-93
>                 URL: http://jira.codehaus.org/browse/MCOMPILER-93
>             Project: Maven 2.x Compiler Plugin
>          Issue Type: Bug
>    Affects Versions: 2.0.2
>            Reporter: benson margulies
>         Attachments: MCOMPILER-93.zip
>
>
> My configuration include <encoding>utf-8</encoding>
> -X shows no sign of it, and I get problems in compile that stem from not having it set.
> [DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile' -->
> [DEBUG]   (f) basedir = /home/benson/tip/rlp/utilities/source/java
> [DEBUG]   (f) buildDirectory = /home/benson/tip/rlp/utilities/source/java/target
> [DEBUG]   (f) classpathElements = [/home/benson/tip/rlp/utilities/source/java/target/classes]
> [DEBUG]   (f) compileSourceRoots = [/home/benson/tip/rlp/utilities/source/java/src]
> [DEBUG]   (f) compilerId = javac
> [DEBUG]   (f) debug = true
> [DEBUG]   (f) failOnError = true
> [DEBUG]   (f) fork = false
> [DEBUG]   (f) maxmem = 256M
> [DEBUG]   (f) optimize = true
> [DEBUG]   (f) outputDirectory = /home/benson/tip/rlp/utilities/source/java/target/classes
> [DEBUG]   (f) outputFileName = utilities-7.0-SNAPSHOT
> [DEBUG]   (f) projectArtifact = com.basistech:utilities:jar:7.0-SNAPSHOT
> [DEBUG]   (f) showDeprecation = true
> [DEBUG]   (f) showWarnings = true
> [DEBUG]   (f) source = 1.5
> [DEBUG]   (f) staleMillis = 0
> [DEBUG]   (f) target = 1.5
> [DEBUG]   (f) verbose = false
> [DEBUG] -- end configuration --

-- 
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: (MCOMPILER-93) not passed to the compiler.

Posted by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MCOMPILER-93?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benjamin Bentmann closed MCOMPILER-93.
--------------------------------------

      Assignee: Benjamin Bentmann
    Resolution: Cannot Reproduce

Please provide a failing example project in case this needs further investigation.

> <encoding/> not passed to the compiler.
> ---------------------------------------
>
>                 Key: MCOMPILER-93
>                 URL: http://jira.codehaus.org/browse/MCOMPILER-93
>             Project: Maven 2.x Compiler Plugin
>          Issue Type: Bug
>    Affects Versions: 2.0.2
>            Reporter: benson margulies
>            Assignee: Benjamin Bentmann
>         Attachments: MCOMPILER-93.zip
>
>
> My configuration include <encoding>utf-8</encoding>
> -X shows no sign of it, and I get problems in compile that stem from not having it set.
> [DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile' -->
> [DEBUG]   (f) basedir = /home/benson/tip/rlp/utilities/source/java
> [DEBUG]   (f) buildDirectory = /home/benson/tip/rlp/utilities/source/java/target
> [DEBUG]   (f) classpathElements = [/home/benson/tip/rlp/utilities/source/java/target/classes]
> [DEBUG]   (f) compileSourceRoots = [/home/benson/tip/rlp/utilities/source/java/src]
> [DEBUG]   (f) compilerId = javac
> [DEBUG]   (f) debug = true
> [DEBUG]   (f) failOnError = true
> [DEBUG]   (f) fork = false
> [DEBUG]   (f) maxmem = 256M
> [DEBUG]   (f) optimize = true
> [DEBUG]   (f) outputDirectory = /home/benson/tip/rlp/utilities/source/java/target/classes
> [DEBUG]   (f) outputFileName = utilities-7.0-SNAPSHOT
> [DEBUG]   (f) projectArtifact = com.basistech:utilities:jar:7.0-SNAPSHOT
> [DEBUG]   (f) showDeprecation = true
> [DEBUG]   (f) showWarnings = true
> [DEBUG]   (f) source = 1.5
> [DEBUG]   (f) staleMillis = 0
> [DEBUG]   (f) target = 1.5
> [DEBUG]   (f) verbose = false
> [DEBUG] -- end configuration --

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