Activities

July 19
Edward Han commented on LPS-67187.
Edward Han updated LPS-67187.
Edward Han updated LPS-67186.
Edward Han updated LPS-67186.
June 2
Edward Han updated LPS-64098.
Edward Han commented on LPS-64098.
8:09 AM I have another most likely related case. When using maven I see this: [ERROR] Failed to execute goal org.apache.maven.plugins:maven-jar-plugin:2.6:jar (default-jar) on project ac-ucm-portlet: Error assembling JAR: Unable to read m anifest file (invalid header field) -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal o rg.apache.maven.plugins:maven-jar-plugin:2.6:jar (default-jar) on project ac-ucm -portlet: Error assembling JAR at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor .java:212) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor .java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor .java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProje ct(LifecycleModuleBuilder.java:116) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProje ct(LifecycleModuleBuilder.java:80) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThre adedBuilder.build(SingleThreadedBuilder.java:51) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(Lifecycl eStarter.java:128) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288) at org.apache.maven.cli.MavenCli.main(MavenCli.java:199) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Laun cher.java:289) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.jav a:229) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(La uncher.java:415) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java: 356) Caused by: org.apache.maven.plugin.MojoExecutionException: Error assembling JAR at org.apache.maven.plugin.jar.AbstractJarMojo.createArchive(AbstractJar Mojo.java:233) at org.apache.maven.plugin.jar.AbstractJarMojo.execute(AbstractJarMojo.j ava:251) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(Default BuildPluginManager.java:134) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor .java:207) ... 20 more Caused by: org.codehaus.plexus.archiver.ArchiverException: Unable to read manife st file (invalid header field) at org.codehaus.plexus.archiver.jar.JarArchiver.getManifest(JarArchiver. java:245) at org.codehaus.plexus.archiver.jar.JarArchiver.getManifest(JarArchiver. java:223) at org.codehaus.plexus.archiver.jar.JarArchiver.createManifest(JarArchiv er.java:315) at org.codehaus.plexus.archiver.jar.JarArchiver.initZipOutputStream(JarA rchiver.java:292) at org.codehaus.plexus.archiver.zip.AbstractZipArchiver.createArchiveMai n(AbstractZipArchiver.java:309) at org.codehaus.plexus.archiver.zip.AbstractZipArchiver.execute(Abstract ZipArchiver.java:211) at org.codehaus.plexus.archiver.AbstractArchiver.createArchive(AbstractA rchiver.java:944) at org.apache.maven.archiver.MavenArchiver.createArchive(MavenArchiver.j ava:598) at org.apache.maven.plugin.jar.AbstractJarMojo.createArchive(AbstractJar Mojo.java:226) ... 23 more Caused by: java.io.IOException: invalid header field at java.util.jar.Attributes.read(Attributes.java:406) at java.util.jar.Manifest.read(Manifest.java:199) at java.util.jar.Manifest.<init>(Manifest.java:69) at org.codehaus.plexus.archiver.jar.Manifest.<init>(Manifest.java:807) at org.codehaus.plexus.archiver.jar.JarArchiver.getManifest(JarArchiver. java:241) ... 31 more I'm attaching the 3 jsp files and the generated manifest file. None of the imports are using * imports. Instead it seems to be related to some edge case around processing multi line multi class page import directives.
February 9
Edward Han updated LPS-59260.
10:38 AM
January 26
Edward Han commented on LPS-60952.
1:49 PM Final review
Edward Han updated LPS-60952.
October 26
Edward Han updated LPS-22104.
Subscribe to Edward Han's activities. (Opens New Window)