Build stops an warning "WARNUNG: Duplicate name in Manifest: Depends-On."
-------------------------------------------------------------------------

                 Key: MCOMPILER-77
                 URL: http://jira.codehaus.org/browse/MCOMPILER-77
             Project: Maven 2.x Compiler Plugin
          Issue Type: Bug
    Affects Versions: 2.0.2
         Environment: Windws XP / maven 2.0.9
            Reporter: Andreas Schneider


I am configuring the plugin :

<plugin>
  <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-compiler-plugin</artifactId>
         <configuration>
                <fork>true</fork>
                 <executable>${JAVA_1_6_HOME}/bin/javac</executable>
                 <compilerVersion>1.6</compilerVersion>
                 <showWarnings>false</showWarnings>
                 <verbose>false</verbose>
         </configuration>
</plugin>

I get a warning 

WARNUNG: Duplicate name in Manifest: Depends-On.
Ensure that the manifest does not have duplicate entries,

and the build fails.

If I don't configure the plugin and I set my JAVA_HOME to JAVA_1_6_HOME 
everything is working fine. I would expect the same behavior.

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