Shaun created MASSEMBLY-602:
-------------------------------

             Summary: Multiple Assemblies Causes Infinite Loop\Recursion
                 Key: MASSEMBLY-602
                 URL: https://jira.codehaus.org/browse/MASSEMBLY-602
             Project: Maven 2.x Assembly Plugin
          Issue Type: Bug
    Affects Versions: 2.3, 2.2.2, 2.2.1, 2.2, 2.2-beta-5, 2.2-beta-3
         Environment:     Apache Maven 3.0.3 (r1075438; 2011-02-28 
09:31:09-0800) Java version: 1.6.0_29, vendor: Sun Microsystems Inc. Default 
locale: en_US, platform encoding: Cp1252 OS name: "windows 7", version: "6.1", 
arch: "x86", family: "windows" [also, maven 2]
            Reporter: Shaun


    I have a custom assembly.xml on a project that also has a parent pom. In 
the parent pom, we specify: <appendAssemblyId>true</appendAssemblyId> As the 
default assembly (jar-with-dependencies-and-sources) is fine for 99% of our 
projects, however, in this instance, I need the custom assembly. However, the 
parent pom dicates: <appendAssemblyId>false</appendAssemblyId> Causing this 
error: Exception in thread "main" java.lang.StackOverflowError at 
sun.nio.cs.SingleByteEncoder.encodeArrayLoop(SingleByteEncoder.java:91) at 
sun.nio.cs.SingleByteEncoder.encodeLoop(SingleByteEncoder.java:130) at 
java.nio.charset.CharsetEncoder.encode(CharsetEncoder.java:544) at 
sun.nio.cs.StreamEncoder.implWrite(StreamEncoder.java:252) at 
sun.nio.cs.StreamEncoder.write(StreamEncoder.java:106) at 
java.io.OutputStreamWriter.write(OutputStreamWriter.java:190) at 
java.io.BufferedWriter.flushBuffer(BufferedWriter.java:111) at 
java.io.PrintStream.write(PrintStream.java:476) at 
java.io.PrintStream.print(PrintStream.java:619) at 
org.apache.maven.cli.PrintStreamLogger.info(PrintStreamLogger.java:110) at 
org.codehaus.plexus.logging.AbstractLogger.info(AbstractLogger.java:51) at 
org.codehaus.plexus.archiver.AbstractArchiver$1.hasNext(AbstractArchiver.java:464)
 at 
org.codehaus.plexus.archiver.AbstractArchiver$1.hasNext(AbstractArchiver.java:467)
 at 
org.codehaus.plexus.archiver.AbstractArchiver$1.hasNext(AbstractArchiver.java:467)
 I believe this error to be related to PLXUTILS-148 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply via email to