Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-9037

bundle:manifest fails on Java 15

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • None
    • 1.38.0, 1.22.15
    • parent
    • None

    Description

      [INFO] --- maven-bundle-plugin:4.2.1:manifest (scr-metadata) @ oak-jackrabbit-api ---
      [INFO] No previous run data found, generating manifest.
      [ERROR] An internal error occurred
      java.util.ConcurrentModificationException
          at java.util.TreeMap.callMappingFunctionWithCheck (TreeMap.java:742)
          at java.util.TreeMap.computeIfAbsent (TreeMap.java:596)
          at aQute.bnd.osgi.Jar.putResource (Jar.java:288)
          at aQute.bnd.osgi.Jar$1.visitFile (Jar.java:202)
          at aQute.bnd.osgi.Jar$1.visitFile (Jar.java:177)
          at java.nio.file.Files.walkFileTree (Files.java:2804)
          at aQute.bnd.osgi.Jar.buildFromDirectory (Jar.java:176)
          at aQute.bnd.osgi.Jar.<init> (Jar.java:119)
          at aQute.bnd.osgi.Jar.<init> (Jar.java:172)
          at org.apache.felix.bundleplugin.BundlePlugin.getOSGiBuilder (BundlePlugin.java:604)
          at org.apache.felix.bundleplugin.ManifestPlugin.getAnalyzer (ManifestPlugin.java:285)
          at org.apache.felix.bundleplugin.ManifestPlugin.execute (ManifestPlugin.java:111)
          at org.apache.felix.bundleplugin.BundlePlugin.execute (BundlePlugin.java:364)
          at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:134)
          at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:208)
          at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:154)
          at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:146)
          at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
          at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
          at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:51)
          at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
          at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:309)
          at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:194)
          at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:107)
          at org.apache.maven.cli.MavenCli.execute (MavenCli.java:955)
          at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:290)
          at org.apache.maven.cli.MavenCli.main (MavenCli.java:194)
          at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
          at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
          at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
          at java.lang.reflect.Method.invoke (Method.java:564)
          at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:289)
          at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:229)
          at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:415)
          at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356)
      

      Attachments

        Issue Links

          Activity

            People

              adulceanu Andrei Dulceanu
              reschke Julian Reschke
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: