You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Shaun (JIRA)" <ji...@codehaus.org> on 2012/03/20 00:12:02 UTC
[jira] (MASSEMBLY-602) Multiple Assemblies Causes Infinite
Loop\Recursion
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
[jira] (MASSEMBLY-602) Multiple Assemblies Causes Infinite
Loop\Recursion
Posted by "Kristian Rosenvold (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/MASSEMBLY-602?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kristian Rosenvold closed MASSEMBLY-602.
----------------------------------------
Resolution: Fixed
Fix Version/s: 2.4
Assignee: Kristian Rosenvold
Fixed in r1387716
> 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.2-beta-3, 2.2-beta-5, 2.2, 2.2.1, 2.2.2, 2.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
> Assignee: Kristian Rosenvold
> Fix For: 2.4
>
>
> 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