Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build: [ERROR] Problem unpacking .../nd-test-using-jenkinsfile #23520

Closed
pzygielo opened this issue Jul 11, 2021 · 5 comments
Closed

Build: [ERROR] Problem unpacking .../nd-test-using-jenkinsfile #23520

pzygielo opened this issue Jul 11, 2021 · 5 comments

Comments

@pzygielo
Copy link
Contributor

https://ci.eclipse.org/glassfish/job/glassfish_build-and-test-using-jenkinsfile/job/master/461/consoleText:

[2021-07-09T18:47:58.065Z] [INFO] --- maven-bundle-plugin:5.1.1:bundle (osgi-bundle) @ jackson-module-jaxb-annotations ---
[2021-07-09T18:47:58.320Z] [WARNING] Bundle org.glassfish.main.admingui:jackson-module-jaxb-annotations:jar:6.2.1-SNAPSHOT : Classes found in the wrong directory: {META-INF/versions/11/module-info.class=module-info}
[2021-07-09T18:47:58.320Z] [ERROR] Problem unpacking /home/jenkins/agent/workspace/nd-test-using-jenkinsfile_master/appserver/admingui/jackson-jaxb/target/jackson-module-jaxb-annotations.jar to /home/jenkins/agent/workspace/nd-test-using-jenkinsfile_master/appserver/admingui/jackson-jaxb/target/classes
[2021-07-09T18:47:58.320Z] java.lang.IllegalArgumentException: Negative time
[2021-07-09T18:47:58.320Z]     at java.io.File.setLastModified (File.java:1441)
[2021-07-09T18:47:58.320Z]     at org.codehaus.plexus.archiver.AbstractUnArchiver.extractFile (AbstractUnArchiver.java:374)
[2021-07-09T18:47:58.320Z]     at org.codehaus.plexus.archiver.zip.AbstractZipUnArchiver.execute (AbstractZipUnArchiver.java:221)
[2021-07-09T18:47:58.320Z]     at org.codehaus.plexus.archiver.zip.AbstractZipUnArchiver.execute (AbstractZipUnArchiver.java:180)
[2021-07-09T18:47:58.320Z]     at org.codehaus.plexus.archiver.AbstractUnArchiver.extract (AbstractUnArchiver.java:149)
[2021-07-09T18:47:58.320Z]     at org.apache.felix.bundleplugin.BundlePlugin.unpackBundle (BundlePlugin.java:1515)
[2021-07-09T18:47:58.320Z]     at org.apache.felix.bundleplugin.BundlePlugin.execute (BundlePlugin.java:497)
[2021-07-09T18:47:58.320Z]     at org.apache.felix.bundleplugin.BundlePlugin.execute (BundlePlugin.java:371)
[2021-07-09T18:47:58.320Z]     at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
[2021-07-09T18:47:58.320Z]     at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210)
[2021-07-09T18:47:58.320Z]     at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
[2021-07-09T18:47:58.320Z]     at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
[2021-07-09T18:47:58.320Z]     at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
[2021-07-09T18:47:58.320Z]     at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
[2021-07-09T18:47:58.320Z]     at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
[2021-07-09T18:47:58.321Z]     at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
[2021-07-09T18:47:58.321Z]     at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
[2021-07-09T18:47:58.321Z]     at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
[2021-07-09T18:47:58.321Z]     at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
[2021-07-09T18:47:58.321Z]     at org.apache.maven.cli.MavenCli.execute (MavenCli.java:956)
[2021-07-09T18:47:58.321Z]     at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288)
[2021-07-09T18:47:58.321Z]     at org.apache.maven.cli.MavenCli.main (MavenCli.java:192)
[2021-07-09T18:47:58.321Z]     at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
[2021-07-09T18:47:58.321Z]     at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
[2021-07-09T18:47:58.321Z]     at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
[2021-07-09T18:47:58.321Z]     at java.lang.reflect.Method.invoke (Method.java:566)
[2021-07-09T18:47:58.321Z]     at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:289)
[2021-07-09T18:47:58.321Z]     at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:229)
[2021-07-09T18:47:58.321Z]     at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:415)
[2021-07-09T18:47:58.321Z]     at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356)
[2021-07-09T18:47:58.321Z] [INFO] 
@pzygielo
Copy link
Contributor Author

pzygielo commented Aug 3, 2021

codehaus-plexus/plexus-archiver#170

@pzygielo
Copy link
Contributor Author

Probably resolved by bce34d6

@plamentotev
Copy link

@pzygielo @arjantijms do you know how bce34d6 solved the issue? codehaus-plexus/plexus-archiver#170 seems to be related so I wonder if we can close it. I took a look at the commit but I'm not sure what fixed the issue. I'm be really grateful if you can share more details.

@OndroMih
Copy link
Contributor

@spacetom, do you have an issue with building GlassFish? Or it's a issue with Maven and some library not related to GlassFish?

@OndroMih
Copy link
Contributor

OndroMih commented Oct 23, 2024

This issue and the whole project is about GlassFish, not about general errors with maven projects. I suggest that you raise your issue with the maintainers of the json-smart library or with the Maven project itself. The issue in GlassFish was fixed by providing the timestamp in the jackson-jaxb GlassFish module.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants