looks like known plexus-io bug http://jira.codehaus.org/browse/PLXCOMP-185 .
Did you change to use JDK 7 recently? AFAIK plexus-io tries to use Java 7 file attribute support if running on Java 7 only. Going back to JDK 6 may be a workaround for now, but ultimately latest plexus-io version 2.0.7 should be used I guess. Regards, Jan From: cross-project-issues-dev-boun...@eclipse.org [mailto:cross-project-issues-dev-boun...@eclipse.org] On Behalf Of Ahmed Wafa Sent: Donnerstag, 16. Mai 2013 06:01 To: Cross project issues Subject: [cross-project-issues-dev] "eclipse-maven-signing-plugin" not working anymore Hi, the maven plugin "eclipse-maven-signing-plugin" is suddenly not working anymore. It used to work for previous builds but now it fails in signing the jars generated by the build. I changed the "provider name" fields in my plugins to suit the latest conventions ("Eclipse <project name>" instead of "Eclipse.org") and wanted to run a new build but then it failed. Is anyone facing the same problem? Here's my usage to the plugin within a profile created for signing: <groupId>org.eclipse.dash.maven</groupId> <artifactId>eclipse-signing-maven-plugin</artifactId> <version>1.0.4</version> and here's the plugin repository that I added to my master pom file: <pluginRepository> <id>maven.eclipse.org</id> <url>http://maven.eclipse.org/nexus/content/groups/public/</url> </pluginRepository> That's the relevant output I get on Hudson: Processing /opt/users/hudsonbuild/workspace/cbi-soa-jwt-integration/org.eclipse.jwt/releng/org.eclipse.jwt.p2updatesite/target/org.eclipse.jwt.p2updatesite-1.3.0.qualifier.zip [ERROR] [INFO] [INFO] --- eclipse-signing-maven-plugin:1.0.4:sign (sign) @ org.eclipse.jwt.p2updatesite --- [INFO] [SIGN] creating directory to hold signed artifact input file /opt/users/hudsonbuild/workspace/cbi-soa-jwt-integration/org.eclipse.jwt/releng/org.eclipse.jwt.p2updatesite/target/org.eclipse.jwt.p2updatesite-1.3.0.qualifier.zip /opt/users/hudsonbuild/workspace/cbi-soa-jwt-integration/org.eclipse.jwt/releng/org.eclipse.jwt.p2updatesite/target/org.eclipse.jwt.p2updatesite-1.3.0.qualifier.zip - unarchived into - /opt/users/hudsonbuild/workspace/cbi-soa-jwt-integration/org.eclipse.jwt/releng/org.eclipse.jwt.p2updatesite/target/repository /opt/users/hudsonbuild/workspace/cbi-soa-jwt-integration/org.eclipse.jwt/releng/org.eclipse.jwt.p2updatesite/target/org.eclipse.jwt.p2updatesite-1.3.0.qualifier.zip unarchived into /opt/users/hudsonbuild/workspace/cbi-soa-jwt-integration/org.eclipse.jwt/releng/org.eclipse.jwt.p2updatesite/target/repository ....archive /opt/users/hudsonbuild/workspace/cbi-soa-jwt-integration/org.eclipse.jwt/releng/org.eclipse.jwt.p2updatesite/target/repository into /opt/users/hudsonbuild/workspace/cbi-soa-jwt-integration/org.eclipse.jwt/releng/org.eclipse.jwt.p2updatesite/target/org.eclipse.jwt.p2updatesite-1.3.0.qualifier.zip looking at looking at features looking at plugins looking at content.jar looking at features/org.eclipse.jwt.feature_1.3.0.201305160344.jar looking at plugins/org.eclipse.jwt.we.plugins.viewepc_1.3.0.201305160344.jar looking at plugins/org.eclipse.jwt.transformations.baseTransformation_1.3.0.201305160344.jar looking at plugins/org.eclipse.jwt.we.plugins.doc_1.3.0.201305160344.jar looking at plugins/org.eclipse.jwt.we.conf.model.editor_1.3.0.201305160344.jar looking at plugins/org.eclipse.jwt.we.helpers.application_1.3.0.201305160344.jar looking at plugins/org.eclipse.jwt.we.conf.edit_1.3.0.201305160344.jar looking at plugins/org.eclipse.jwt.we_1.3.0.201305160344.jar looking at plugins/org.eclipse.jwt.transformations.properties_1.3.0.201305160344.jar looking at plugins/org.eclipse.jwt.we.conf.model_1.3.0.201305160344.jar looking at plugins/org.eclipse.jwt.transformation.stpim_1.3.0.201305160344.jar looking at plugins/org.eclipse.jwt.we_view_editor_1.3.0.201305160344.jar looking at plugins/org.eclipse.jwt.meta_1.3.0.201305160344.jar looking at plugins/org.eclipse.jwt.we.conf.we_1.3.0.201305160344.jar looking at plugins/org.eclipse.jwt.transformations.xpdl_1.3.0.201305160344.jar looking at plugins/org.eclipse.jwt.we.plugins.viewbpmn_1.3.0.201305160344.jar looking at plugins/org.eclipse.jwt.converter_1.3.0.201305160344.jar looking at plugins/org.eclipse.jwt.we.plugins.viewuml_1.3.0.201305160344.jar looking at plugins/org.eclipse.jwt.we.conf.property.edit_1.3.0.201305160344.jar looking at plugins/org.eclipse.jwt.transformations.bpmn_1.3.0.201305160344.jar looking at plugins/org.eclipse.jwt.branding_1.3.0.201305160344.jar looking at plugins/org.eclipse.jwt.we.helpers.files_1.3.0.201305160344.jar looking at plugins/org.eclipse.jwt.transformations.xslt.tools_1.3.0.201305160344.jar looking at plugins/org.eclipse.jwt.we.example_1.3.0.201305160344.jar looking at plugins/org.eclipse.jwt.we.conf.property.model_1.3.0.201305160344.jar looking at artifacts.jar [INFO] Building zip: /opt/users/hudsonbuild/workspace/cbi-soa-jwt-integration/org.eclipse.jwt/releng/org.eclipse.jwt.p2updatesite/target/org.eclipse.jwt.p2updatesite-1.3.0.qualifier.zip-after-removing.zip [ERROR] java.lang.ArrayIndexOutOfBoundsException: 9 at org.codehaus.plexus.components.io.attributes.Java7FileAttributes.checkFlag(Java7FileAttributes.java:131) at org.codehaus.plexus.components.io.attributes.Java7FileAttributes.isWorldExecutable(Java7FileAttributes.java:161) at org.codehaus.plexus.components.io.attributes.Java7FileAttributes.getOctalMode(Java7FileAttributes.java:235) at org.codehaus.plexus.archiver.AbstractArchiver.asArchiveEntry(AbstractArchiver.java:333) at org.codehaus.plexus.archiver.AbstractArchiver$1.hasNext(AbstractArchiver.java:459) at org.codehaus.plexus.archiver.zip.AbstractZipArchiver.addResources(AbstractZipArchiver.java:367) at org.codehaus.plexus.archiver.zip.AbstractZipArchiver.createArchiveMain(AbstractZipArchiver.java:312) at org.codehaus.plexus.archiver.zip.AbstractZipArchiver.execute(AbstractZipArchiver.java:211) at org.codehaus.plexus.archiver.AbstractArchiver.createArchive(AbstractArchiver.java:875) at org.eclipse.dash.m4e.eclipse.signing.SignMojo.execute(SignMojo.java:162) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209) 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.buildProject(LifecycleModuleBuilder.java:84) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59) at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352) [INFO] [INFO] --- eclipse-signing-maven-plugin:1.0.4:pack (repack) @ org.eclipse.jwt.p2updatesite --- [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] parent ............................................ SUCCESS [7.180s] [INFO] org.eclipse.jwt.converter ......................... SUCCESS [13.463s] [INFO] org.eclipse.jwt.we.conf.model ..................... SUCCESS [0.975s] [INFO] org.eclipse.jwt.we.conf.edit ...................... SUCCESS [0.866s] [INFO] org.eclipse.jwt.meta .............................. SUCCESS [1.837s] [INFO] org.eclipse.jwt.we ................................ SUCCESS [3.899s] [INFO] org.eclipse.jwt.we.conf.model.editor .............. SUCCESS [0.559s] [INFO] org.eclipse.jwt.we.conf.property.model ............ SUCCESS [0.230s] [INFO] org.eclipse.jwt.we.conf.property.edit ............. SUCCESS [0.370s] [INFO] org.eclipse.jwt.we.conf.we ........................ SUCCESS [0.355s] [INFO] org.eclipse.jwt.we_view_editor .................... SUCCESS [0.373s] [INFO] org.eclipse.jwt.we.helpers.application ............ SUCCESS [0.405s] [INFO] org.eclipse.jwt.we.helpers.files .................. SUCCESS [0.334s] [INFO] org.eclipse.jwt.we.plugins.doc .................... SUCCESS [0.360s] [INFO] org.eclipse.jwt.we.plugins.viewepc ................ SUCCESS [0.487s] [INFO] org.eclipse.jwt.we.plugins.viewuml ................ SUCCESS [0.366s] [INFO] org.eclipse.jwt.we.plugins.viewbpmn ............... SUCCESS [0.496s] [INFO] org.eclipse.jwt.branding .......................... SUCCESS [0.279s] [INFO] org.eclipse.jwt.we.example ........................ SUCCESS [0.249s] [INFO] org.eclipse.jwt.transformations.baseTransformation SUCCESS [0.615s] [INFO] org.eclipse.jwt.transformations.bpmn .............. SUCCESS [0.306s] [INFO] org.eclipse.jwt.transformation.stpim .............. SUCCESS [0.315s] [INFO] org.eclipse.jwt.transformations.properties ........ SUCCESS [0.328s] [INFO] org.eclipse.jwt.transformations.xslt.tools ........ SUCCESS [0.315s] [INFO] org.eclipse.jwt.transformations.xpdl .............. SUCCESS [0.305s] [INFO] org.eclipse.jwt.tests ............................. SUCCESS [0.420s] [INFO] org.eclipse.jwt.feature ........................... SUCCESS [0.288s] [INFO] org.eclipse.jwt.test.feature ...................... SUCCESS [0.155s] [INFO] org.eclipse.jwt.p2updatesite ...................... FAILURE [1:03.278s] [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 4:28.791s [INFO] Finished at: Wed May 15 23:46:13 EDT 2013 [INFO] Final Memory: 149M/936M [INFO] ------------------------------------------------------------------------ [INFO] o.h.m.e.h.MavenExecutionResultHandler - Build failed with exception(s) [INFO] o.h.m.e.h.MavenExecutionResultHandler - [1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.eclipse.dash.maven:eclipse-signing-maven-plugin:1.0.4:pack (repack) on project org.eclipse.jwt.p2updatesite: file to pack does not exist! -> /opt/users/hudsonbuild/workspace/cbi-soa-jwt-integration/org.eclipse.jwt/releng/org.eclipse.jwt.p2updatesite/target/signed/site_assembly.zip [DEBUG] Closing connection to remote [ERROR] Failed to execute goal org.eclipse.dash.maven:eclipse-signing-maven-plugin:1.0.4:pack (repack) on project org.eclipse.jwt.p2updatesite: file to pack does not exist! -> /opt/users/hudsonbuild/workspace/cbi-soa-jwt-integration/org.eclipse.jwt/releng/org.eclipse.jwt.p2updatesite/target/signed/site_assembly.zip -> [Help 1] Please, let me know if someone else is facing the same problem or if I should now use a different plugin repository for kepler. Thanks in advance and sorry for the long email. best regards, Samir - JWT _______________________________________________ cross-project-issues-dev mailing list cross-project-issues-dev@eclipse.org https://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev