Uploaded image for project: 'Maven Resolver'
  1. Maven Resolver
  2. MRESOLVER-332

Could not acquire write lock

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Information Provided
    • 1.9.4
    • None
    • Resolver
    • None

    Description

      • 07:59:36  [ERROR] Failed to execute goal org.apache.maven.plugins:maven-enforcer-plugin:3.2.1:enforce (fail) on project distribution-noidentityjars: Execution fail of goal org.apache.maven.plugins:maven-enforcer-plugin:3.2.1:enforce failed: Could not acquire write lock for 'artifact:org.junit.jupiter:junit-jupiter:5.9.0' -> [Help 1]
        07:59:36  org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-enforcer-plugin:3.2.1:enforce (fail) on project distribution-noidentityjars: Execution fail of goal org.apache.maven.plugins:maven-enforcer-plugin:3.2.1:enforce failed: Could not acquire write lock for 'artifact:org.junit.jupiter:junit-jupiter:5.9.0'07:59:36  Caused by: java.lang.IllegalStateException: Could not acquire write lock for 'artifact:org.junit.jupiter:junit-jupiter:5.9.0'
        07:59:36      at org.eclipse.aether.internal.impl.synccontext.named.NamedLockFactoryAdapter$AdaptedLockSyncContext.acquire (NamedLockFactoryAdapter.java:184)
        07:59:36      at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts (DefaultArtifactResolver.java:276)
        07:59:36      at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifact (DefaultArtifactResolver.java:255)
        07:59:36      at org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveArtifact (DefaultRepositorySystem.java:296)
        07:59:36      at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve (DefaultArtifactResolver.java:197)
        07:59:36      at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve (DefaultArtifactResolver.java:413)
        07:59:36      at org.apache.maven.repository.legacy.LegacyRepositorySystem.resolve (LegacyRepositorySystem.java:332)
        07:59:36      at org.apache.maven.plugins.enforcer.AbstractResolveDependencies.resolveArtifact (AbstractResolveDependencies.java:152)
        07:59:36      at org.apache.maven.plugins.enforcer.AbstractResolveDependencies.getAllDescendants (AbstractResolveDependencies.java:124)
        07:59:36      at org.apache.maven.plugins.enforcer.AbstractResolveDependencies.getDependenciesToCheck (AbstractResolveDependencies.java:95)
        07:59:36      at org.apache.maven.plugins.enforcer.AbstractResolveDependencies.execute (AbstractResolveDependencies.java:76)
        07:59:36      at org.apache.maven.plugins.enforcer.EnforceMojo.executeRuleOld (EnforceMojo.java:342)
        07:59:36      at org.apache.maven.plugins.enforcer.EnforceMojo.executeRule (EnforceMojo.java:323)
        07:59:36      at org.apache.maven.plugins.enforcer.EnforceMojo.execute (EnforceMojo.java:248)
        07:59:36      at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:126)
        07:59:36      at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:342)
        07:59:36      at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:330)
        07:59:36      at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:213)
        07:59:36      at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:175)
        07:59:36      at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 (MojoExecutor.java:76)
        07:59:36      at org.apache.maven.lifecycle.internal.MojoExecutor$1.run (MojoExecutor.java:163)
        07:59:36      at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute (DefaultMojosExecutionStrategy.java:39)
        07:59:36      at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:160)
        07:59:36      at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:105)
        07:59:36      at org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call (MultiThreadedBuilder.java:193)
        07:59:36      at org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call (MultiThreadedBuilder.java:180)
        07:59:36      at java.util.concurrent.FutureTask.run (FutureTask.java:264)
        07:59:36      at java.util.concurrent.Executors$RunnableAdapter.call (Executors.java:515)
        07:59:36      at java.util.concurrent.FutureTask.run (FutureTask.java:264)
        07:59:36      at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1128)
        07:59:36      at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:628)
        07:59:36      at java.lang.Thread.run (Thread.java:829)
      • maven v3.9.0
      • maven-enforcer-plugin v3.2.1

      via Jenkins on Windows Server 2016

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            delany Delany
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: