org.apache.maven.wagon.authorization.AuthorizationException: Access denied to: http://localhost:54783/nexus/content/groups/public/nxcm281/released/1.0/released-1.0.jar

Sonatype JIRA | Peter Lynch | 5 years ago
  1. 0

    Reference: https://builds.sonatype.org/view/nexus/job/nexus-oss-its/57/jdk=java-6x,label=win/testReport/junit/org.sonatype.nexus.plugins.migration.nexus3301/Nexus3301MavenDownloadRedirectSecurityIT/downloadWithPermition/ Please change the method name when this gets fixed. {noformat} [DEBUG] Checking for pre-existing User-Agent configuration. [DEBUG] Adding User-Agent configuration. [DEBUG] Connecting to repository: 'remote-repository' with url: 'http://localhost:54783/artifactory/main-local/'. Downloading: http://localhost:54783/artifactory/main-local//nxcm281/released/1.0/released-1.0.pom [DEBUG] Error transferring file: Server returned HTTP response code: 500 for URL: http://localhost:54783/artifactory/main-local/nxcm281/released/1.0/released-1.0.pom org.apache.maven.wagon.TransferFailedException: Error transferring file: Server returned HTTP response code: 500 for URL: http://localhost:54783/artifactory/main-local/nxcm281/released/1.0/released-1.0.pom at org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData(LightweightHttpWagon.java:143) at org.apache.maven.wagon.StreamWagon.getInputStream(StreamWagon.java:116) at org.apache.maven.wagon.StreamWagon.getIfNewer(StreamWagon.java:88) at org.apache.maven.wagon.StreamWagon.get(StreamWagon.java:61) at org.apache.maven.artifact.manager.DefaultWagonManager.getRemoteFile(DefaultWagonManager.java:546) at org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:427) at org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:382) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:216) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:90) at org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:558) at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(DefaultMavenProjectBuilder.java:251) at org.apache.maven.project.artifact.MavenMetadataSource.retrieveRelocatedProject(MavenMetadataSource.java:163) at org.apache.maven.project.artifact.MavenMetadataSource.retrieveRelocatedArtifact(MavenMetadataSource.java:94) at org.apache.maven.artifact.resolver.DefaultArtifactCollector.recurse(DefaultArtifactCollector.java:387) at org.apache.maven.artifact.resolver.DefaultArtifactCollector.collect(DefaultArtifactCollector.java:74) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:316) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:304) at org.apache.maven.plugin.DefaultPluginManager.resolveTransitiveDependencies(DefaultPluginManager.java:1499) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:442) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138) at org.apache.maven.cli.MavenCli.main(MavenCli.java:362) at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Caused by: java.io.IOException: Server returned HTTP response code: 500 for URL: http://localhost:54783/artifactory/main-local/nxcm281/released/1.0/released-1.0.pom at sun.reflect.GeneratedConstructorAccessor6.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1491) at java.security.AccessController.doPrivileged(Native Method) at sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1485) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1139) at org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData(LightweightHttpWagon.java:122) ... 36 more Caused by: java.io.IOException: Server returned HTTP response code: 500 for URL: http://localhost:54783/artifactory/main-local/nxcm281/released/1.0/released-1.0.pom at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1436) at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:379) at org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData(LightweightHttpWagon.java:115) ... 36 more [DEBUG] Using Wagon implementation lightweight from default mapping for protocol http [WARNING] Unable to get resource 'nxcm281:released:pom:1.0' from repository remote-repository (http://localhost:54783/artifactory/main-local/): Error transferring file: Server returned HTTP response code: 500 for URL: http://localhost:54783/artifactory/main-local/nxcm281/released/1.0/released-1.0.pom [DEBUG] Using mirror: http://localhost:54783/nexus/content/groups/public (id: nexus) [DEBUG] Artifact not found - using stub model: Unable to download the artifact from any repository nxcm281:released:pom:1.0 from the specified remote repositories: nexus (http://localhost:54783/nexus/content/groups/public), remote-repository (http://localhost:54783/artifactory/main-local/) [DEBUG] Using defaults for missing POM nxcm281:released:pom:1.0:compile [DEBUG] nxcm281:released:jar:1.0:compile (selected for compile) [DEBUG] Trying repository central [DEBUG] Using mirror: http://localhost:54783/nexus/content/groups/public (id: nexus) [DEBUG] Using Wagon implementation lightweight from default mapping for protocol http [DEBUG] Checking for pre-existing User-Agent configuration. [DEBUG] Adding User-Agent configuration. [DEBUG] Connecting to repository: 'nexus' with url: 'http://localhost:54783/nexus/content/groups/public'. Downloading: http://localhost:54783/nexus/content/groups/public/nxcm281/released/1.0/released-1.0.jar [DEBUG] Access denied to: http://localhost:54783/nexus/content/groups/public/nxcm281/released/1.0/released-1.0.jar org.apache.maven.wagon.authorization.AuthorizationException: Access denied to: http://localhost:54783/nexus/content/groups/public/nxcm281/released/1.0/released-1.0.jar at org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData(LightweightHttpWagon.java:119) at org.apache.maven.wagon.StreamWagon.getInputStream(StreamWagon.java:116) at org.apache.maven.wagon.StreamWagon.getIfNewer(StreamWagon.java:88) at org.apache.maven.wagon.StreamWagon.get(StreamWagon.java:61) at org.apache.maven.artifact.manager.DefaultWagonManager.getRemoteFile(DefaultWagonManager.java:546) at org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:427) at org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:382) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:216) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:90) at org.apache.maven.artifact.resolver.DefaultArtifactResolver$ResolveArtifactTask.resolveArtifact(DefaultArtifactResolver.java:456) at org.apache.maven.artifact.resolver.DefaultArtifactResolver$ResolveArtifactTask.run(DefaultArtifactResolver.java:433) at hidden.edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1061) at hidden.edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:575) at java.lang.Thread.run(Thread.java:662) [DEBUG] Using Wagon implementation lightweight from default mapping for protocol http [WARNING] Unable to get resource 'nxcm281:released:jar:1.0' from repository central (http://central): Authorization failed: Access denied to: http://localhost:54783/nexus/content/groups/public/nxcm281/released/1.0/released-1.0.jar [DEBUG] Trying repository remote-repository [DEBUG] Using Wagon implementation lightweight from default mapping for protocol http [DEBUG] Checking for pre-existing User-Agent configuration. [DEBUG] Adding User-Agent configuration. [DEBUG] Connecting to repository: 'remote-repository' with url: 'http://localhost:54783/artifactory/main-local/'. Downloading: http://localhost:54783/artifactory/main-local//nxcm281/released/1.0/released-1.0.jar [DEBUG] Error transferring file: Server returned HTTP response code: 500 for URL: http://localhost:54783/artifactory/main-local/nxcm281/released/1.0/released-1.0.jar org.apache.maven.wagon.TransferFailedException: Error transferring file: Server returned HTTP response code: 500 for URL: http://localhost:54783/artifactory/main-local/nxcm281/released/1.0/released-1.0.jar at org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData(LightweightHttpWagon.java:143) at org.apache.maven.wagon.StreamWagon.getInputStream(StreamWagon.java:116) at org.apache.maven.wagon.StreamWagon.getIfNewer(StreamWagon.java:88) at org.apache.maven.wagon.StreamWagon.get(StreamWagon.java:61) at org.apache.maven.artifact.manager.DefaultWagonManager.getRemoteFile(DefaultWagonManager.java:546) at org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:427) at org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:382) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:216) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:90) at org.apache.maven.artifact.resolver.DefaultArtifactResolver$ResolveArtifactTask.resolveArtifact(DefaultArtifactResolver.java:456) at org.apache.maven.artifact.resolver.DefaultArtifactResolver$ResolveArtifactTask.run(DefaultArtifactResolver.java:433) at hidden.edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1061) at hidden.edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:575) at java.lang.Thread.run(Thread.java:662) Caused by: java.io.IOException: Server returned HTTP response code: 500 for URL: http://localhost:54783/artifactory/main-local/nxcm281/released/1.0/released-1.0.jar at sun.reflect.GeneratedConstructorAccessor6.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1491) at java.security.AccessController.doPrivileged(Native Method) at sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1485) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1139) at org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData(LightweightHttpWagon.java:122) ... 13 more Caused by: java.io.IOException: Server returned HTTP response code: 500 for URL: http://localhost:54783/artifactory/main-local/nxcm281/released/1.0/released-1.0.jar at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1436) at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:379) at org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData(LightweightHttpWagon.java:115) ... 13 more [DEBUG] Using Wagon implementation lightweight from default mapping for protocol http [WARNING] Unable to get resource 'nxcm281:released:jar:1.0' from repository remote-repository (http://localhost:54783/artifactory/main-local/): Error transferring file: Server returned HTTP response code: 500 for URL: http://localhost:54783/artifactory/main-local/nxcm281/released/1.0/released-1.0.jar [DEBUG] Using mirror: http://localhost:54783/nexus/content/groups/public (id: nexus) [DEBUG] Unable to download the artifact from any repository Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=nxcm281 -DartifactId=released -Dversion=1.0 -Dpackaging=jar -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=nxcm281 -DartifactId=released -Dversion=1.0 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) nexus3301:artifact:jar:1.0 2) nxcm281:released:jar:1.0 nxcm281:released:jar:1.0 from the specified remote repositories: nexus (http://localhost:54783/nexus/content/groups/public), remote-repository (http://localhost:54783/artifactory/main-local/) org.apache.maven.artifact.resolver.ArtifactNotFoundException: Unable to download the artifact from any repository Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=nxcm281 -DartifactId=released -Dversion=1.0 -Dpackaging=jar -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=nxcm281 -DartifactId=released -Dversion=1.0 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) nexus3301:artifact:jar:1.0 2) nxcm281:released:jar:1.0 nxcm281:released:jar:1.0 from the specified remote repositories: nexus (http://localhost:54783/nexus/content/groups/public), remote-repository (http://localhost:54783/artifactory/main-local/) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:228) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:90) at org.apache.maven.artifact.resolver.DefaultArtifactResolver$ResolveArtifactTask.resolveArtifact(DefaultArtifactResolver.java:456) at org.apache.maven.artifact.resolver.DefaultArtifactResolver$ResolveArtifactTask.run(DefaultArtifactResolver.java:433) at hidden.edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1061) at hidden.edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:575) at java.lang.Thread.run(Thread.java:662) Caused by: org.apache.maven.wagon.ResourceDoesNotExistException: Unable to download the artifact from any repository at org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:404) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:216) ... 6 more [DEBUG] Using mirror: http://localhost:54783/nexus/content/groups/public (id: nexus) [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Failed to resolve artifact. Missing: ---------- 1) nxcm281:released:jar:1.0 Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=nxcm281 -DartifactId=released -Dversion=1.0 -Dpackaging=jar -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=nxcm281 -DartifactId=released -Dversion=1.0 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) nexus3301:artifact:jar:1.0 2) nxcm281:released:jar:1.0 ---------- 1 required artifact is missing. for artifact: nexus3301:artifact:jar:1.0 from the specified remote repositories: nexus (http://localhost:54783/nexus/content/groups/public), remote-repository (http://localhost:54783/artifactory/main-local/) [INFO] ------------------------------------------------------------------------ [DEBUG] Trace org.apache.maven.lifecycle.LifecycleExecutionException: Missing: ---------- 1) nxcm281:released:jar:1.0 Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=nxcm281 -DartifactId=released -Dversion=1.0 -Dpackaging=jar -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=nxcm281 -DartifactId=released -Dversion=1.0 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) nexus3301:artifact:jar:1.0 2) nxcm281:released:jar:1.0 ---------- 1 required artifact is missing. for artifact: nexus3301:artifact:jar:1.0 from the specified remote repositories: nexus (http://localhost:54783/nexus/content/groups/public), remote-repository (http://localhost:54783/artifactory/main-local/) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:711) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138) at org.apache.maven.cli.MavenCli.main(MavenCli.java:362) at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Caused by: org.apache.maven.artifact.resolver.MultipleArtifactsNotFoundException: Missing: ---------- 1) nxcm281:released:jar:1.0 Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=nxcm281 -DartifactId=released -Dversion=1.0 -Dpackaging=jar -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=nxcm281 -DartifactId=released -Dversion=1.0 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) nexus3301:artifact:jar:1.0 2) nxcm281:released:jar:1.0 ---------- 1 required artifact is missing. for artifact: nexus3301:artifact:jar:1.0 from the specified remote repositories: nexus (http://localhost:54783/nexus/content/groups/public), remote-repository (http://localhost:54783/artifactory/main-local/) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:360) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:304) at org.apache.maven.plugin.DefaultPluginManager.resolveTransitiveDependencies(DefaultPluginManager.java:1499) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:442) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694) ... 17 more [INFO] ------------------------------------------------------------------------ [INFO] Total time: 2 seconds [INFO] Finished at: Mon Oct 31 02:30:24 CDT 2011 [INFO] Final Memory: 10M/109M [INFO] ------------------------------------------------------------------------ at org.apache.maven.it.Verifier.executeGoals(Verifier.java:1297) at org.apache.maven.it.Verifier.executeGoal(Verifier.java:1145) at org.apache.maven.it.Verifier.executeGoal(Verifier.java:1139) at org.sonatype.nexus.plugins.migration.nexus3301.Nexus3301MavenDownloadRedirectSecurityIT.download(Nexus3301MavenDownloadRedirectSecurityIT.java:82) at org.sonatype.nexus.plugins.migration.nexus3301.Nexus3301MavenDownloadRedirectSecurityIT.downloadWithPermition(Nexus3301MavenDownloadRedirectSecurityIT.java:64) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80) at org.testng.internal.Invoker.invokeMethod(Invoker.java:673) at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:842) at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1166) at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125) at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109) at org.testng.TestRunner.runWorkers(TestRunner.java:1178) at org.testng.TestRunner.privateRun(TestRunner.java:757) at org.testng.TestRunner.run(TestRunner.java:608) at org.testng.SuiteRunner.runTest(SuiteRunner.java:334) at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:329) at org.testng.SuiteRunner.privateRun(SuiteRunner.java:291) at org.testng.SuiteRunner.run(SuiteRunner.java:240) at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52) at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86) at org.testng.TestNG.runSuitesSequentially(TestNG.java:1158) at org.testng.TestNG.runSuitesLocally(TestNG.java:1083) at org.testng.TestNG.run(TestNG.java:999) at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:70) at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:108) at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:111) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:164) at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:110) at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:172) at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcessWhenForked(SurefireStarter.java:78) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:70) Standard Output [INFO] Loading Nexus Configuration... [INFO] Configuration loaded succesfully. [INFO] Loading Nexus configuration from X:\s\workspace\nexus-oss-its\67cb98c1\nexus\nexus-core-plugins\nexus-migration-plugin\nexus-migration-plugin-test-harness\target\nexus\nexus-work-dir\conf\nexus.xml [INFO] Configuration file is invalid, attempting upgrade [INFO] Trying to upgrade the configuration file X:\s\workspace\nexus-oss-its\67cb98c1\nexus\nexus-core-plugins\nexus-migration-plugin\nexus-migration-plugin-test-harness\target\nexus\nexus-work-dir\conf\nexus.xml [INFO] Upgrading old Nexus configuration file (version 1.0.8) from X:\s\workspace\nexus-oss-its\67cb98c1\nexus\nexus-core-plugins\nexus-migration-plugin\nexus-migration-plugin-test-harness\target\nexus\nexus-work-dir\conf\nexus.xml [INFO] Nexus configuration file upgraded to current version 1.4.6 succesfully. [INFO] Creating backup from the old file and saving the upgraded configuration. [INFO] Loading Nexus configuration from X:\s\workspace\nexus-oss-its\67cb98c1\nexus\nexus-core-plugins\nexus-migration-plugin\nexus-migration-plugin-test-harness\target\nexus\nexus-work-dir\conf\nexus.xml [INFO] Configuration loaded succesfully. [INFO] Nexus configuration validated succesfully. [INFO] Applying Nexus Configuration... [INFO] Nexus configuration validated succesfully. =================================== Application context "nexus" dump: "nexus-work"="X:\s\workspace\nexus-oss-its\67cb98c1\nexus\nexus-core-plugins\nexus-migration-plugin\nexus-migration-plugin-test-harness\target\nexus\nexus-work-dir" (raw: "X:\s\workspace\nexus-oss-its\67cb98c1\nexus\nexus-core-plugins\nexus-migration-plugin\nexus-migration-plugin-test-harness\target\nexus\nexus-work-dir", src: propsFile(X:\s\workspace\nexus-oss-its\67cb98c1\nexus\nexus-core-plugins\nexus-migration-plugin\nexus-migration-plugin-test-harness\target\nexus\nexus-oss-webapp-1.10.0-SNAPSHOT\conf\nexus.properties, size:7)) "index.template.file"="templates/index-debug.vm" (raw: "templates/index-debug.vm", src: propsFile(X:\s\workspace\nexus-oss-its\67cb98c1\nexus\nexus-core-plugins\nexus-migration-plugin\nexus-migration-plugin-test-harness\target\nexus\nexus-oss-webapp-1.10.0-SNAPSHOT\conf\nexus.properties, size:7)) "runtime"="X:\s\workspace\nexus-oss-its\67cb98c1\nexus\nexus-core-plugins\nexus-migration-plugin\nexus-migration-plugin-test-harness\target\nexus\nexus-oss-webapp-1.10.0-SNAPSHOT/nexus/WEB-INF" (raw: "${bundleBasedir}/nexus/WEB-INF", src: propsFile(X:\s\workspace\nexus-oss-its\67cb98c1\nexus\nexus-core-plugins\nexus-migration-plugin\nexus-migration-plugin-test-harness\target\nexus\nexus-oss-webapp-1.10.0-SNAPSHOT\conf\nexus.properties, size:7)) "application-port"="54783" (raw: "54783", src: propsFile(X:\s\workspace\nexus-oss-its\67cb98c1\nexus\nexus-core-plugins\nexus-migration-plugin\nexus-migration-plugin-test-harness\target\nexus\nexus-oss-webapp-1.10.0-SNAPSHOT\conf\nexus.properties, size:7)) "application-host"="0.0.0.0" (raw: "0.0.0.0", src: propsFile(X:\s\workspace\nexus-oss-its\67cb98c1\nexus\nexus-core-plugins\nexus-migration-plugin\nexus-migration-plugin-test-harness\target\nexus\nexus-oss-webapp-1.10.0-SNAPSHOT\conf\nexus.properties, size:7)) "nexus-webapp"="X:\s\workspace\nexus-oss-its\67cb98c1\nexus\nexus-core-plugins\nexus-migration-plugin\nexus-migration-plugin-test-harness\target\nexus\nexus-oss-webapp-1.10.0-SNAPSHOT/nexus" (raw: "${bundleBasedir}/nexus", src: propsFile(X:\s\workspace\nexus-oss-its\67cb98c1\nexus\nexus-core-plugins\nexus-migration-plugin\nexus-migration-plugin-test-harness\target\nexus\nexus-oss-webapp-1.10.0-SNAPSHOT\conf\nexus.properties, size:7)) "bundleBasedir"="X:\s\workspace\nexus-oss-its\67cb98c1\nexus\nexus-core-plugins\nexus-migration-plugin\nexus-migration-plugin-test-harness\target\nexus\nexus-oss-webapp-1.10.0-SNAPSHOT" (raw: "X:\s\workspace\nexus-oss-its\67cb98c1\nexus\nexus-core-plugins\nexus-migration-plugin\nexus-migration-plugin-test-harness\target\nexus\nexus-oss-webapp-1.10.0-SNAPSHOT", src: static("bundleBasedir"="X:\s\workspace\nexus-oss-its\67cb98c1\nexus\nexus-core-plugins\nexus-migration-plugin\nexus-migration-plugin-test-harness\target\nexus\nexus-oss-webapp-1.10.0-SNAPSHOT")) "nexus-webapp-context-path"="/nexus" (raw: "/nexus", src: propsFile(X:\s\workspace\nexus-oss-its\67cb98c1\nexus\nexus-core-plugins\nexus-migration-plugin\nexus-migration-plugin-test-harness\target\nexus\nexus-oss-webapp-1.10.0-SNAPSHOT\conf\nexus.properties, size:7)) Total of 8 entries. =================================== =================================== Application context "nexus" dump: "nexus-work"="X:\s\workspace\nexus-oss-its\67cb98c1\nexus\nexus-core-plugins\nexus-migration-plugin\nexus-migration-plugin-test-harness\target\nexus\nexus-work-dir" (raw: "X:\s\workspace\nexus-oss-its\67cb98c1\nexus\nexus-core-plugins\nexus-migration-plugin\nexus-migration-plugin-test-harness\target\nexus\nexus-work-dir", src: propsFile(X:\s\workspace\nexus-oss-its\67cb98c1\nexus\nexus-core-plugins\nexus-migration-plugin\nexus-migration-plugin-test-harness\target\nexus\nexus-oss-webapp-1.10.0-SNAPSHOT\conf\nexus.properties, size:7)) "index.template.file"="templates/index-debug.vm" (raw: "templates/index-debug.vm", src: propsFile(X:\s\workspace\nexus-oss-its\67cb98c1\nexus\nexus-core-plugins\nexus-migration-plugin\nexus-migration-plugin-test-harness\target\nexus\nexus-oss-webapp-1.10.0-SNAPSHOT\conf\nexus.properties, size:7)) "runtime"="X:\s\workspace\nexus-oss-its\67cb98c1\nexus\nexus-core-plugins\nexus-migration-plugin\nexus-migration-plugin-test-harness\target\nexus\nexus-oss-webapp-1.10.0-SNAPSHOT/nexus/WEB-INF" (raw: "${bundleBasedir}/nexus/WEB-INF", src: propsFile(X:\s\workspace\nexus-oss-its\67cb98c1\nexus\nexus-core-plugins\nexus-migration-plugin\nexus-migration-plugin-test-harness\target\nexus\nexus-oss-webapp-1.10.0-SNAPSHOT\conf\nexus.properties, size:7)) "application-port"="54783" (raw: "54783", src: propsFile(X:\s\workspace\nexus-oss-its\67cb98c1\nexus\nexus-core-plugins\nexus-migration-plugin\nexus-migration-plugin-test-harness\target\nexus\nexus-oss-webapp-1.10.0-SNAPSHOT\conf\nexus.properties, size:7)) "application-host"="0.0.0.0" (raw: "0.0.0.0", src: propsFile(X:\s\workspace\nexus-oss-its\67cb98c1\nexus\nexus-core-plugins\nexus-migration-plugin\nexus-migration-plugin-test-harness\target\nexus\nexus-oss-webapp-1.10.0-SNAPSHOT\conf\nexus.properties, size:7)) "application-conf"="X:\s\workspace\nexus-oss-its\67cb98c1\nexus\nexus-core-plugins\nexus-migration-plugin\nexus-migration-plugin-test-harness\target\nexus\nexus-work-dir/conf" (raw: "${nexus-work}/conf", src: propsFile(X:\s\workspace\nexus-oss-its\67cb98c1\nexus\nexus-core-plugins\nexus-migration-plugin\nexus-migration-plugin-test-harness\target\nexus\nexus-oss-webapp-1.10.0-SNAPSHOT\nexus\WEB-INF\plexus.properties, size:5)) "nexus-webapp"="X:\s\workspace\nexus-oss-its\67cb98c1\nexus\nexus-core-plugins\nexus-migration-plugin\nexus-migration-plugin-test-harness\target\nexus\nexus-oss-webapp-1.10.0-SNAPSHOT/nexus" (raw: "${bundleBasedir}/nexus", src: propsFile(X:\s\workspace\nexus-oss-its\67cb98c1\nexus\nexus-core-plugins\nexus-migration-plugin\nexus-migration-plugin-test-harness\target\nexus\nexus-oss-webapp-1.10.0-SNAPSHOT\conf\nexus.properties, size:7)) "nexus-app"="X:\s\workspace\nexus-oss-its\67cb98c1\nexus\nexus-core-plugins\nexus-migration-plugin\nexus-migration-plugin-test-harness\target\nexus\nexus-oss-webapp-1.10.0-SNAPSHOT/nexus/WEB-INF" (raw: "${runtime}", src: propsFile(X:\s\workspace\nexus-oss-its\67cb98c1\nexus\nexus-core-plugins\nexus-migration-plugin\nexus-migration-plugin-test-harness\target\nexus\nexus-oss-webapp-1.10.0-SNAPSHOT\nexus\WEB-INF\plexus.properties, size:5)) "security-xml-file"="X:\s\workspace\nexus-oss-its\67cb98c1\nexus\nexus-core-plugins\nexus-migration-plugin\nexus-migration-plugin-test-harness\target\nexus\nexus-work-dir/conf/security.xml" (raw: "${nexus-work}/conf/security.xml", src: propsFile(X:\s\workspace\nexus-oss-its\67cb98c1\nexus\nexus-core-plugins\nexus-migration-plugin\nexus-migration-plugin-test-harness\target\nexus\nexus-oss-webapp-1.10.0-SNAPSHOT\nexus\WEB-INF\plexus.properties, size:5)) "bundleBasedir"="X:\s\workspace\nexus-oss-its\67cb98c1\nexus\nexus-core-plugins\nexus-migration-plugin\nexus-migration-plugin-test-harness\target\nexus\nexus-oss-webapp-1.10.0-SNAPSHOT" (raw: "X:\s\workspace\nexus-oss-its\67cb98c1\nexus\nexus-core-plugins\nexus-migration-plugin\nexus-migration-plugin-test-harness\target\nexus\nexus-oss-webapp-1.10.0-SNAPSHOT", src: static("bundleBasedir"="X:\s\workspace\nexus-oss-its\67cb98c1\nexus\nexus-core-plugins\nexus-migration-plugin\nexus-migration-plugin-test-harness\target\nexus\nexus-oss-webapp-1.10.0-SNAPSHOT")) "nexus-webapp-context-path"="/nexus" (raw: "/nexus", src: propsFile(X:\s\workspace\nexus-oss-its\67cb98c1\nexus\nexus-core-plugins\nexus-migration-plugin\nexus-migration-plugin-test-harness\target\nexus\nexus-oss-webapp-1.10.0-SNAPSHOT\conf\nexus.properties, size:7)) Total of 11 entries. =================================== 2011-10-31 02:30:15 INFO [7-main-thread-1] - org.sonatype.security.configuration.source.FileSecurityConfigurationSource - Loading Security configuration from X:\s\workspace\nexus-oss-its\67cb98c1\nexus\nexus-core-plugins\nexus-migration-plugin\nexus-migration-plugin-test-harness\target\nexus\nexus-work-dir\conf\security-configuration.xml Standard Error 2011-10-31 02:30:11.328:INFO::jetty-7.4.4.v20110707 2011-10-31 02:30:11.348:INFO:org.sonatype.plexus.jetty.custom.DisableTagLibsListener:Disabling TLD support for: null (context path: /artifactory) 2011-10-31 02:30:11.350:INFO:org.sonatype.plexus.jetty.custom.DisableTagLibsListener:Disabling TLD support for: null (context path: /nexus) 2011-10-31 02:30:11.749:INFO::NO JSP Support for /artifactory, did not find org.apache.jasper.servlet.JspServlet 2011-10-31 02:30:11.779:INFO:/artifactory:Configuring Nexus in bundle... 2011-10-31 02:30:11.779:INFO:/artifactory:Setting Plexus basedir context variable to (pre-set in System properties): X:\s\workspace\nexus-oss-its\67cb98c1\nexus\nexus-core-plugins\nexus-migration-plugin\nexus-migration-plugin-test-harness\target\nexus\nexus-oss-webapp-1.10.0-SNAPSHOT 2011-10-31 02:30:12.288:INFO::started o.e.j.w.WebAppContext{/artifactory,file:/X:/s/workspace/nexus-oss-its/67cb98c1/nexus/nexus-core-plugins/nexus-migration-plugin/nexus-migration-plugin-test-harness/target/nexus/nexus-oss-webapp-1.10.0-SNAPSHOT/artifactory-bridge/},X:\s\workspace\nexus-oss-its\67cb98c1\nexus\nexus-core-plugins\nexus-migration-plugin\nexus-migration-plugin-test-harness\target\nexus\nexus-oss-webapp-1.10.0-SNAPSHOT/artifactory-bridge Oct 31, 2011 2:30:12 AM org.sonatype.plexus.rest.PlexusRestletApplicationBridge configure INFO: PlexusResource discovery disabled. 2011-10-31 02:30:13.190:INFO::NO JSP Support for /nexus, did not find org.apache.jasper.servlet.JspServlet 2011-10-31 02:30:13.208:INFO:/nexus:Configuring Nexus in bundle... 2011-10-31 02:30:13.208:INFO:/nexus:Setting Plexus basedir context variable to (pre-set in System properties): X:\s\workspace\nexus-oss-its\67cb98c1\nexus\nexus-core-plugins\nexus-migration-plugin\nexus-migration-plugin-test-harness\target\nexus\nexus-oss-webapp-1.10.0-SNAPSHOT 2011-10-31 02:30:17.441:INFO::started o.e.j.w.WebAppContext{/nexus,file:/X:/s/workspace/nexus-oss-its/67cb98c1/nexus/nexus-core-plugins/nexus-migration-plugin/nexus-migration-plugin-test-harness/target/nexus/nexus-oss-webapp-1.10.0-SNAPSHOT/nexus/},X:\s\workspace\nexus-oss-its\67cb98c1\nexus\nexus-core-plugins\nexus-migration-plugin\nexus-migration-plugin-test-harness\target\nexus\nexus-oss-webapp-1.10.0-SNAPSHOT/nexus 2011-10-31 02:30:18.709:INFO::Started SelectChannelConnector@0.0.0.0:54783 STARTING 2011-10-31 02:30:19.316:INFO:/nexus:nexus: [Noelios Restlet Engine] - Attaching application: org.sonatype.nexus.rest.NexusApplication@2a384d34 to URI: /nexus 2011-10-31 02:30:22.836:INFO:/artifactory:artifactory: [Noelios Restlet Engine] - Attaching application: org.sonatype.nexus.artifactorybridge.ArtifactoryBridgeApplication@2de69e99 to URI: /artifactory Exit code: 1 {noformat} Assigning fix version as possible regression.

    Sonatype JIRA | 5 years ago | Peter Lynch
    org.apache.maven.wagon.authorization.AuthorizationException: Access denied to: http://localhost:54783/nexus/content/groups/public/nxcm281/released/1.0/released-1.0.jar
  2. 0

    Maven update - update repository to resolve the errors (for some of the jars).

    GitHub | 7 months ago | n10n
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal on project agentservices-store-ia: Could not resolve dependencies for project com.protegra-ati:agentservices-store-ia:jar:1.9.5: Failed to collect dependencies at org.scala-lang:scala-pickling_2.10:jar:0.8.0-Local
  3. 0

    Our daily hudson nightly build failed tonight with the following error. We tried to repeat it, but without succes. Configuration should be ok, because all of the previous builds were deployed succesfully. {code:title=Error} [INFO] [deploy:deploy {execution: default-deploy}] [INFO] Retrieving previous build number from andromda-snapshots Uploading: http://oss.sonatype.org/content/repositories/snapshots/org/andromda/andromda/3.4-SNAPSHOT/andromda-3.4-SNAPSHOT.pom 4/75K 8/75K 12/75K 16/75K 20/75K 24/75K 28/75K 32/75K 36/75K 40/75K 44/75K 48/75K 52/75K 56/75K 60/75K 64/75K 68/75K 72/75K 75/75K [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Error deploying artifact: Authorization failed: Access denied to: http://oss.sonatype.org/content/repositories/snapshots/org/andromda/andromda/3.4-SNAPSHOT/andromda-3.4-SNAPSHOT.pom [INFO] ------------------------------------------------------------------------ [INFO] Trace org.apache.maven.lifecycle.LifecycleExecutionException: Error deploying artifact: Authorization failed: Access denied to: http://oss.sonatype.org/content/repositories/snapshots/org/andromda/andromda/3.4-SNAPSHOT/andromda-3.4-SNAPSHOT.pom at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:719) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138) at org.apache.maven.cli.MavenCli.main(MavenCli.java:362) at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Caused by: org.apache.maven.plugin.MojoExecutionException: Error deploying artifact: Authorization failed: Access denied to: http://oss.sonatype.org/content/repositories/snapshots/org/andromda/andromda/3.4-SNAPSHOT/andromda-3.4-SNAPSHOT.pom at org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:189) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694) ... 17 more Caused by: org.apache.maven.artifact.deployer.ArtifactDeploymentException: Error deploying artifact: Authorization failed: Access denied to: http://oss.sonatype.org/content/repositories/snapshots/org/andromda/andromda/3.4-SNAPSHOT/andromda-3.4-SNAPSHOT.pom at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:121) at org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:148) ... 19 more Caused by: org.apache.maven.wagon.TransferFailedException: Authorization failed: Access denied to: http://oss.sonatype.org/content/repositories/snapshots/org/andromda/andromda/3.4-SNAPSHOT/andromda-3.4-SNAPSHOT.pom at org.apache.maven.artifact.manager.DefaultWagonManager.putRemoteFile(DefaultWagonManager.java:352) at org.apache.maven.artifact.manager.DefaultWagonManager.putArtifact(DefaultWagonManager.java:227) at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:107) ... 20 more Caused by: org.apache.maven.wagon.authorization.AuthorizationException: Access denied to: http://oss.sonatype.org/content/repositories/snapshots/org/andromda/andromda/3.4-SNAPSHOT/andromda-3.4-SNAPSHOT.pom at org.apache.maven.wagon.providers.http.LightweightHttpWagon.finishPutTransfer(LightweightHttpWagon.java:197) at org.apache.maven.wagon.AbstractWagon.putTransfer(AbstractWagon.java:413) at org.apache.maven.wagon.AbstractWagon.transfer(AbstractWagon.java:392) at org.apache.maven.wagon.AbstractWagon.putTransfer(AbstractWagon.java:365) at org.apache.maven.wagon.StreamWagon.put(StreamWagon.java:163) at org.apache.maven.artifact.manager.DefaultWagonManager.putRemoteFile(DefaultWagonManager.java:317) ... 22 more [INFO] ------------------------------------------------------------------------ {code} {code:title=Configuration} in pom.xml: <distributionManagement> <repository> <id>andromda-releases</id> <name>Andromda Staging Repository</name> <url>http://oss.sonatype.org/service/local/staging/deploy/maven2</url> <uniqueVersion>false</uniqueVersion> </repository> <snapshotRepository> <id>andromda-snapshots</id> <name>Andromda Snapshot Repository</name> <url>http://oss.sonatype.org/content/repositories/snapshots</url> <uniqueVersion>false</uniqueVersion> </snapshotRepository> </distributionManagement> and in settings.xml: <server> <id>andromda-releases</id> <username>andromda</username> <password>......</password> </server> <server> <id>andromda-snapshots</id> <username>andromda</username> <password>......</password> </server> {code}

    Sonatype JIRA | 6 years ago | Michail Plushnikov
    org.apache.maven.lifecycle.LifecycleExecutionException: Error deploying artifact: Authorization failed: Access denied to: http://oss.sonatype.org/content/repositories/snapshots/org/andromda/andromda/3.4-SNAPSHOT/andromda-3.4-SNAPSHOT.pom
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Really need your help ....

    Google Groups | 4 years ago | Ahmed El Gendi
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal on project eurekastreams-server: Could not resolve dependencies for project org.eurekastreams:eurekastreams-server:jar:2.0-SNAPSHOT: Failed to collect dependencies for [rome:rome:jar:1.0 (compile), rome:rome-fetcher:jar:1.0 (compile), rome:modules:jar:0.3.2 (compile), org.restlet:org.restlet:jar:1.1.10 (compile), org.restlet:org.restlet.ext.spring:jar:1.1.10 (compile), com.noelios.restlet:com.noelios.restlet:jar:1.1.10 (compile), com.noelios.restlet:com.noelios.restlet.ext.jetty:jar:1.1.10 (compile), com.noelios.restlet:com.noelios.restlet.ext.servlet:jar:1.1.10 (compile), com.noelios.restlet:com.noelios.restlet.ext.spring:jar:1.1.10 (compile), org.jsecurity:jsecurity:jar:0.9.0 (compile), com.ibm.icu:icu4j:jar:3.8 (compile), org.codehaus.woodstox:wstx-asl:jar:3.2.7 (compile), org.codehaus.jackson:jackson-core-asl:jar:1.6.0 (compile), org.codehaus.jackson:jackson-jaxrs:jar:1.6.0 (compile), org.codehaus.jackson:jackson-mapper-asl:jar:1.6.0 (compile), net.oauth.core:oauth:jar:20100527 (compile), net.oauth.core:oauth-provider:jar:20100527 (compile), net.oauth.core:oauth-httpclient4:jar:20090913 (compile), com.lmco.shindig:shindig-server:war:2.0.1.3 (compile), com.lmco.shindig:shindig-social-api:jar:2.0.1.3 (compile), com.lmco.shindig:shindig-common:jar:2.0.1.3 (compile), com.lmco.shindig:shindig-common:jar:tests:2.0.1.3 (test), com.lmco.shindig:shindig-gadgets:jar:2.0.1.3 (compile), javax.mail:mail:jar:1.4.2 (compile), net.sf.json-lib:json-lib:jar:jdk15:2.2 (compile), com.google.inject:guice:jar:2.0 (compile), com.google.inject.extensions:guice-spring:jar:2.0 (compile), com.google.inject.extensions:guice-multibindings:jar:2.0 (compile), com.google.guava:guava:jar:r06 (compile), org.apache.velocity:velocity:jar:1.7 (compile), oro:oro:jar:2.0.8 (compile), org.apache.velocity:velocity-tools:jar:2.0 (compile), cglib:cglib-nodep:jar:2.2 (compile), asm:asm:jar:1.5.3 (compile), asm:asm-attrs:jar:1.5.3 (compile), junit:junit:jar:4.8.2 (test), org.springframework:spring:jar:2.5.6.SEC02 (compile), org.jmock:jmock-junit4:jar:2.5.1 (compile), org.jmock:jmock-legacy:jar:2.5.1 (test), hsqldb:hsqldb:jar:1.8.0.7 (test), commons-dbcp:commons-dbcp:jar:1.2.2 (compile), log4j:log4j:jar:1.2.12 (compile), org.slf4j:slf4j-api:jar:1.6.1 (compile), org.slf4j:slf4j-log4j12:jar:1.6.1 (compile), org.springframework:spring-test:jar:2.5.6.SEC02 (compile), net.sf.gilead:gilead-core:jar:1.3.2 (compile), org.dbunit:dbunit:jar:2.4.3 (test), spy:memcached:jar:2.4.2 (compile), org.apache.activemq:activemq-core:jar:5.2.0 (compile), org.apache.activemq:activemq-pool:jar:5.2.0 (compile), org.springframework:spring-jms:jar:2.5.6.SEC02 (compile), javax.ejb:ejb-api:jar:3.0 (compile), commons-lang:commons-lang:jar:2.4 (compile), commons-codec:commons-codec:jar:1.6 (compile), javax.servlet:servlet-api:jar:2.5 (compile), org.springframework.security:spring-security-core:jar:2.0.6.RELEASE (compile), org.codehaus.spring-security-oauth:spring-security-oauth:jar:3.19-ES (compile), org.springframework.ldap:spring-ldap-core:jar:1.3.1.RELEASE (compile), net.sf.gilead:gilead-hibernate:jar:1.3.2 (compile), com.google.gwt:gwt-servlet:jar:2.2.0 (runtime), com.google.gwt:gwt-user:jar:2.2.0 (provided), net.sf.gilead:gilead4gwt:jar:1.3.2 (compile), org.apache.lucene:lucene-core:jar:2.9.4 (compile), org.apache.lucene:lucene-snowball:jar:2.9.4 (compile), org.apache.solr:solr-common:jar:1.3.0 (compile), org.apache.solr:solr-core:jar:1.4.1 (compile), org.hibernate:hibernate-annotations:jar:3.4.0.GA (compile), org.hibernate:hibernate-commons-annotations:jar:3.1.0.GA(compile), org.hibernate:hibernate-core:jar: 3.3.2.GA (compile), org.hibernate:hibernate-entitymanager:jar: 3.4.0.GA (compile), org.hibernate:hibernate-validator:jar: 3.1.0.GA (compile), org.hibernate:hibernate-search:jar:3.1.0.GA(compile), org.aspectj:aspectjrt:jar:1.5.4 (compile), org.aspectj:aspectjweaver:jar:1.5.4 (compile), com.mortennobel:java-image-scaling:jar:0.8.5 (compile), org.jasypt:jasypt:jar:1.8-NoDeps (compile)]
  6. 0

    Really need your help ....

    Google Groups | 4 years ago | Ahmed El Gendi
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal on project eurekastreams-server: Could not resolve dependencies for project org.eurekastreams:eurekastreams-server:jar:2.0-SNAPSHOT: Failed to collect dependencies for [rome:rome:jar:1.0 (compile), rome:rome-fetcher:jar:1.0 (compile), rome:modules:jar:0.3.2 (compile), org.restlet:org.restlet:jar:1.1.10 (compile), org.restlet:org.restlet.ext.spring:jar:1.1.10 (compile), com.noelios.restlet:com.noelios.restlet:jar:1.1.10 (compile), com.noelios.restlet:com.noelios.restlet.ext.jetty:jar:1.1.10 (compile), com.noelios.restlet:com.noelios.restlet.ext.servlet:jar:1.1.10 (compile), com.noelios.restlet:com.noelios.restlet.ext.spring:jar:1.1.10 (compile), org.jsecurity:jsecurity:jar:0.9.0 (compile), com.ibm.icu:icu4j:jar:3.8 (compile), org.codehaus.woodstox:wstx-asl:jar:3.2.7 (compile), org.codehaus.jackson:jackson-core-asl:jar:1.6.0 (compile), org.codehaus.jackson:jackson-jaxrs:jar:1.6.0 (compile), org.codehaus.jackson:jackson-mapper-asl:jar:1.6.0 (compile), net.oauth.core:oauth:jar:20100527 (compile), net.oauth.core:oauth-provider:jar:20100527 (compile), net.oauth.core:oauth-httpclient4:jar:20090913 (compile), com.lmco.shindig:shindig-server:war:2.0.1.3 (compile), com.lmco.shindig:shindig-social-api:jar:2.0.1.3 (compile), com.lmco.shindig:shindig-common:jar:2.0.1.3 (compile), com.lmco.shindig:shindig-common:jar:tests:2.0.1.3 (test), com.lmco.shindig:shindig-gadgets:jar:2.0.1.3 (compile), javax.mail:mail:jar:1.4.2 (compile), net.sf.json-lib:json-lib:jar:jdk15:2.2 (compile), com.google.inject:guice:jar:2.0 (compile), com.google.inject.extensions:guice-spring:jar:2.0 (compile), com.google.inject.extensions:guice-multibindings:jar:2.0 (compile), com.google.guava:guava:jar:r06 (compile), org.apache.velocity:velocity:jar:1.7 (compile), oro:oro:jar:2.0.8 (compile), org.apache.velocity:velocity-tools:jar:2.0 (compile), cglib:cglib-nodep:jar:2.2 (compile), asm:asm:jar:1.5.3 (compile), asm:asm-attrs:jar:1.5.3 (compile), junit:junit:jar:4.8.2 (test), org.springframework:spring:jar:2.5.6.SEC02 (compile), org.jmock:jmock-junit4:jar:2.5.1 (compile), org.jmock:jmock-legacy:jar:2.5.1 (test), hsqldb:hsqldb:jar:1.8.0.7 (test), commons-dbcp:commons-dbcp:jar:1.2.2 (compile), log4j:log4j:jar:1.2.12 (compile), org.slf4j:slf4j-api:jar:1.6.1 (compile), org.slf4j:slf4j-log4j12:jar:1.6.1 (compile), org.springframework:spring-test:jar:2.5.6.SEC02 (compile), net.sf.gilead:gilead-core:jar:1.3.2 (compile), org.dbunit:dbunit:jar:2.4.3 (test), spy:memcached:jar:2.4.2 (compile), org.apache.activemq:activemq-core:jar:5.2.0 (compile), org.apache.activemq:activemq-pool:jar:5.2.0 (compile), org.springframework:spring-jms:jar:2.5.6.SEC02 (compile), javax.ejb:ejb-api:jar:3.0 (compile), commons-lang:commons-lang:jar:2.4 (compile), commons-codec:commons-codec:jar:1.6 (compile), javax.servlet:servlet-api:jar:2.5 (compile), org.springframework.security:spring-security-core:jar:2.0.6.RELEASE (compile), org.codehaus.spring-security-oauth:spring-security-oauth:jar:3.19-ES (compile), org.springframework.ldap:spring-ldap-core:jar:1.3.1.RELEASE (compile), net.sf.gilead:gilead-hibernate:jar:1.3.2 (compile), com.google.gwt:gwt-servlet:jar:2.2.0 (runtime), com.google.gwt:gwt-user:jar:2.2.0 (provided), net.sf.gilead:gilead4gwt:jar:1.3.2 (compile), org.apache.lucene:lucene-core:jar:2.9.4 (compile), org.apache.lucene:lucene-snowball:jar:2.9.4 (compile), org.apache.solr:solr-common:jar:1.3.0 (compile), org.apache.solr:solr-core:jar:1.4.1 (compile), org.hibernate:hibernate-annotations:jar:3.4.0.GA (compile), org.hibernate:hibernate-commons-annotations:jar:3.1.0.GA (compile), org.hibernate:hibernate-core:jar:3.3.2.GA (compile), org.hibernate:hibernate-entitymanager:jar:3.4.0.GA (compile), org.hibernate:hibernate-validator:jar:3.1.0.GA (compile), org.hibernate:hibernate-search:jar:3.1.0.GA (compile), org.aspectj:aspectjrt:jar:1.5.4 (compile), org.aspectj:aspectjweaver:jar:1.5.4 (compile), com.mortennobel:java-image-scaling:jar:0.8.5 (compile), org.jasypt:jasypt:jar:1.8-NoDeps (compile)]

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.apache.maven.wagon.authorization.AuthorizationException

      Access denied to: http://localhost:54783/nexus/content/groups/public/nxcm281/released/1.0/released-1.0.jar

      at org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData()
    2. Maven
      DefaultArtifactResolver$ResolveArtifactTask.run
      1. org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData(LightweightHttpWagon.java:119)
      2. org.apache.maven.wagon.StreamWagon.getInputStream(StreamWagon.java:116)
      3. org.apache.maven.wagon.StreamWagon.getIfNewer(StreamWagon.java:88)
      4. org.apache.maven.wagon.StreamWagon.get(StreamWagon.java:61)
      5. org.apache.maven.artifact.manager.DefaultWagonManager.getRemoteFile(DefaultWagonManager.java:546)
      6. org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:427)
      7. org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:382)
      8. org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:216)
      9. org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:90)
      10. org.apache.maven.artifact.resolver.DefaultArtifactResolver$ResolveArtifactTask.resolveArtifact(DefaultArtifactResolver.java:456)
      11. org.apache.maven.artifact.resolver.DefaultArtifactResolver$ResolveArtifactTask.run(DefaultArtifactResolver.java:433)
      11 frames
    3. hidden.edu.emory
      ThreadPoolExecutor$Worker.run
      1. hidden.edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1061)
      2. hidden.edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:575)
      2 frames
    4. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:662)
      1 frame