maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeffrey Hagelberg (JIRA)" <>
Subject [jira] (MCOMPILER-225) javac.bat and args file added to archive when fork and -X used
Date Wed, 02 Apr 2014 15:05:00 GMT
Jeffrey Hagelberg created MCOMPILER-225:

             Summary: javac.bat and args file added to archive when fork and -X used
                 Key: MCOMPILER-225
             Project: Maven Compiler Plugin
          Issue Type: Bug
    Affects Versions: 3.1, 2.3.2
         Environment: Windows 7 x64
            Reporter: Jeffrey Hagelberg

When you compile a java project with -X flag and <fork>true</fork> in the maven-compiler-plugin
configuration, the following extra files are written to target\classes and bundled in the
root directory of the jar:


The precise name of the arguments file varies from build to build.  The exact configuration
we are using is:


We originally saw this in version 2.3.2 of the maven-compiler-plugin.  I've verified that
it also occurs in version 3.1.  We are able to work around this issue by setting fork to false.
 This can be reproduced in any maven java project.

This message was sent by Atlassian JIRA

View raw message