java.io.IOException: User egovdev is not permitted to deploy 'cosm/framework/DependencyAnalyzer/0.0.1-SNAPSHOT/maven-metadata.xml' into 'herzumsoftware-central-cache:cosm/framework/DependencyAnalyzer/0.0.1-SNAPSHOT/maven-metadata.xml'.

JFrog JIRA | Ötzi | 8 years ago
  1. 0

    after upgrade from 1.3.0-beta-4, we get very often the following exception. we execute a 'mvn package', then mvn checks for update some artifacts, and the first to be checked fails. java.io.IOException: User egovdev is not permitted to deploy 'cosm/framework/DependencyAnalyzer/0.0.1-SNAPSHOT/maven-metadata.xml' into 'herzumsoftware-central-cache:cosm/framework/DependencyAnalyzer/0.0.1-SNAPSHOT/maven-metadata.xml'. at org.artifactory.repo.RemoteRepoBase.downloadAndSave(RemoteRepoBase.java:265) [artifactory-core-2.0.0.jar:na] at org.artifactory.repo.service.RepositoryServiceImpl.downloadAndSave(RepositoryServiceImpl.java:1142) [artifactory-core-2.0.0.jar:na] at sun.reflect.GeneratedMethodAccessor311.invoke(Unknown Source) [na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_07] at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_07] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310) [spring-aop-2.5.5.jar:2.5.5] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [spring-aop-2.5.5.jar:2.5.5] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [spring-aop-2.5.5.jar:2.5.5] at org.artifactory.jcr.lock.LockingAdvice.invoke(LockingAdvice.java:81) [artifactory-core-2.0.0.jar:na] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [spring-aop-2.5.5.jar:2.5.5] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [spring-aop-2.5.5.jar:2.5.5] at $Proxy14.downloadAndSave(Unknown Source) [na:na] at org.artifactory.repo.RemoteRepoBase.getResourceStreamHandle(RemoteRepoBase.java:236) [artifactory-core-2.0.0.jar:na] at org.artifactory.repo.service.RepositoryServiceImpl.getResourceStreamHandle(RepositoryServiceImpl.java:1169) [artifactory-core-2.0.0.jar:na] at sun.reflect.GeneratedMethodAccessor283.invoke(Unknown Source) [na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_07] at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_07] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310) [spring-aop-2.5.5.jar:2.5.5] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [spring-aop-2.5.5.jar:2.5.5] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [spring-aop-2.5.5.jar:2.5.5] at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) [spring-tx-2.5.5.jar:2.5.5] at org.artifactory.jcr.lock.LockingAdvice.invoke(LockingAdvice.java:79) [artifactory-core-2.0.0.jar:na] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [spring-aop-2.5.5.jar:2.5.5] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [spring-aop-2.5.5.jar:2.5.5] at $Proxy14.getResourceStreamHandle(Unknown Source) [na:na] at org.artifactory.engine.DownloadServiceImpl.respond(DownloadServiceImpl.java:468) [artifactory-core-2.0.0.jar:na] at org.artifactory.engine.DownloadServiceImpl.processSnapshot(DownloadServiceImpl.java:272) [artifactory-core-2.0.0.jar:na] at org.artifactory.engine.DownloadServiceImpl.process(DownloadServiceImpl.java:128) [artifactory-core-2.0.0.jar:na] at sun.reflect.GeneratedMethodAccessor281.invoke(Unknown Source) [na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_07] at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_07] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310) [spring-aop-2.5.5.jar:2.5.5] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:198) [spring-aop-2.5.5.jar:2.5.5] at $Proxy44.process(Unknown Source) [na:na] at org.artifactory.webapp.servlet.RepoFilter.execute(RepoFilter.java:110) [RepoFilter.class:na] at org.artifactory.webapp.servlet.RepoFilter.doFilter(RepoFilter.java:73) [RepoFilter.class:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) [catalina.jar:na] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) [catalina.jar:na] at org.artifactory.webapp.servlet.AccessFilter.useAuthentication(AccessFilter.java:190) [AccessFilter.class:na] at org.artifactory.webapp.servlet.AccessFilter.authenticateAndExecute(AccessFilter.java:135) [AccessFilter.class:na] at org.artifactory.webapp.servlet.AccessFilter.doFilterInternal(AccessFilter.java:120) [AccessFilter.class:na] at org.artifactory.webapp.servlet.AccessFilter.doFilter(AccessFilter.java:90) [AccessFilter.class:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) [catalina.jar:na] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) [catalina.jar:na] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) [catalina.jar:na] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172) [catalina.jar:na] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) [catalina.jar:na] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) [catalina.jar:na] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108) [catalina.jar:na] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174) [catalina.jar:na] on access log I find: 2009-01-12 11:31:22,964 [DENIED DEPLOY] repo1-cache:org/apache/maven/plugins/maven-resources-plugin/maven-metadata.xml for egovdev/10.159.32.131 but we don't deploy anything (executing mvn package) on client the exception is (it refers to a different artifact but the error is the same) [INFO] Repository 'egov-default' will be blacklisted [DEBUG] Exception org.apache.maven.wagon.TransferFailedException: Error transferring file at org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData(LightweightHttpWagon.java:104) at org.apache.maven.wagon.StreamWagon.get(StreamWagon.java:68) at org.apache.maven.artifact.manager.DefaultWagonManager.getRemoteFile(DefaultWagonManager.java:462) at org.apache.maven.artifact.manager.DefaultWagonManager.getArtifactMetadata(DefaultWagonManager.java:363) at org.apache.maven.artifact.repository.metadata.DefaultRepositoryMetadataManager.resolveAlways(DefaultRepositoryMetadataManager.jav a:364) at org.apache.maven.artifact.repository.metadata.DefaultRepositoryMetadataManager.resolve(DefaultRepositoryMetadataManager.java:97) at org.apache.maven.artifact.transform.AbstractVersionTransformation.resolveVersion(AbstractVersionTransformation.java:65) at org.apache.maven.artifact.transform.LatestArtifactTransformation.transformForResolve(LatestArtifactTransformation.java:41) at org.apache.maven.artifact.transform.DefaultArtifactTransformationManager.transformForResolve(DefaultArtifactTransformationManager .java:57) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:123) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:73) at org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:524) at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(DefaultMavenProjectBuilder.java:231) at org.apache.maven.project.artifact.MavenMetadataSource.retrieve(MavenMetadataSource.java:105) at org.apache.maven.plugin.version.DefaultPluginVersionManager.resolveMetaVersion(DefaultPluginVersionManager.java:673) at org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePluginVersion(DefaultPluginVersionManager.java:187) at org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePluginVersion(DefaultPluginVersionManager.java:91) at org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPluginManager.java:167) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor.java:1257) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(DefaultLifecycleExecutor.java:1522) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.bindLifecycleForPackaging(DefaultLifecycleExecutor.java:1016) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.constructLifecycleMappings(DefaultLifecycleExecutor.java:980) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:458) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:333) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:126) at org.apache.maven.cli.MavenCli.main(MavenCli.java:282) 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: https://samson.prov.bz/artifactory/repo/org/apache/maven/pl ugins/maven-site-plugin/maven-metadata.xml at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1290) at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:234) at org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData(LightweightHttpWagon.java:83) ... 36 more now all our builds fails. as workaround can we rollback to previous version? how?

    JFrog JIRA | 8 years ago | ??tzi
    java.io.IOException: User egovdev is not permitted to deploy 'cosm/framework/DependencyAnalyzer/0.0.1-SNAPSHOT/maven-metadata.xml' into 'herzumsoftware-central-cache:cosm/framework/DependencyAnalyzer/0.0.1-SNAPSHOT/maven-metadata.xml'.
  2. 0

    after upgrade from 1.3.0-beta-4, we get very often the following exception. we execute a 'mvn package', then mvn checks for update some artifacts, and the first to be checked fails. java.io.IOException: User egovdev is not permitted to deploy 'cosm/framework/DependencyAnalyzer/0.0.1-SNAPSHOT/maven-metadata.xml' into 'herzumsoftware-central-cache:cosm/framework/DependencyAnalyzer/0.0.1-SNAPSHOT/maven-metadata.xml'. at org.artifactory.repo.RemoteRepoBase.downloadAndSave(RemoteRepoBase.java:265) [artifactory-core-2.0.0.jar:na] at org.artifactory.repo.service.RepositoryServiceImpl.downloadAndSave(RepositoryServiceImpl.java:1142) [artifactory-core-2.0.0.jar:na] at sun.reflect.GeneratedMethodAccessor311.invoke(Unknown Source) [na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_07] at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_07] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310) [spring-aop-2.5.5.jar:2.5.5] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [spring-aop-2.5.5.jar:2.5.5] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [spring-aop-2.5.5.jar:2.5.5] at org.artifactory.jcr.lock.LockingAdvice.invoke(LockingAdvice.java:81) [artifactory-core-2.0.0.jar:na] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [spring-aop-2.5.5.jar:2.5.5] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [spring-aop-2.5.5.jar:2.5.5] at $Proxy14.downloadAndSave(Unknown Source) [na:na] at org.artifactory.repo.RemoteRepoBase.getResourceStreamHandle(RemoteRepoBase.java:236) [artifactory-core-2.0.0.jar:na] at org.artifactory.repo.service.RepositoryServiceImpl.getResourceStreamHandle(RepositoryServiceImpl.java:1169) [artifactory-core-2.0.0.jar:na] at sun.reflect.GeneratedMethodAccessor283.invoke(Unknown Source) [na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_07] at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_07] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310) [spring-aop-2.5.5.jar:2.5.5] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [spring-aop-2.5.5.jar:2.5.5] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [spring-aop-2.5.5.jar:2.5.5] at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) [spring-tx-2.5.5.jar:2.5.5] at org.artifactory.jcr.lock.LockingAdvice.invoke(LockingAdvice.java:79) [artifactory-core-2.0.0.jar:na] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [spring-aop-2.5.5.jar:2.5.5] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [spring-aop-2.5.5.jar:2.5.5] at $Proxy14.getResourceStreamHandle(Unknown Source) [na:na] at org.artifactory.engine.DownloadServiceImpl.respond(DownloadServiceImpl.java:468) [artifactory-core-2.0.0.jar:na] at org.artifactory.engine.DownloadServiceImpl.processSnapshot(DownloadServiceImpl.java:272) [artifactory-core-2.0.0.jar:na] at org.artifactory.engine.DownloadServiceImpl.process(DownloadServiceImpl.java:128) [artifactory-core-2.0.0.jar:na] at sun.reflect.GeneratedMethodAccessor281.invoke(Unknown Source) [na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_07] at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_07] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310) [spring-aop-2.5.5.jar:2.5.5] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:198) [spring-aop-2.5.5.jar:2.5.5] at $Proxy44.process(Unknown Source) [na:na] at org.artifactory.webapp.servlet.RepoFilter.execute(RepoFilter.java:110) [RepoFilter.class:na] at org.artifactory.webapp.servlet.RepoFilter.doFilter(RepoFilter.java:73) [RepoFilter.class:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) [catalina.jar:na] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) [catalina.jar:na] at org.artifactory.webapp.servlet.AccessFilter.useAuthentication(AccessFilter.java:190) [AccessFilter.class:na] at org.artifactory.webapp.servlet.AccessFilter.authenticateAndExecute(AccessFilter.java:135) [AccessFilter.class:na] at org.artifactory.webapp.servlet.AccessFilter.doFilterInternal(AccessFilter.java:120) [AccessFilter.class:na] at org.artifactory.webapp.servlet.AccessFilter.doFilter(AccessFilter.java:90) [AccessFilter.class:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) [catalina.jar:na] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) [catalina.jar:na] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) [catalina.jar:na] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172) [catalina.jar:na] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) [catalina.jar:na] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) [catalina.jar:na] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108) [catalina.jar:na] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174) [catalina.jar:na] on access log I find: 2009-01-12 11:31:22,964 [DENIED DEPLOY] repo1-cache:org/apache/maven/plugins/maven-resources-plugin/maven-metadata.xml for egovdev/10.159.32.131 but we don't deploy anything (executing mvn package) on client the exception is (it refers to a different artifact but the error is the same) [INFO] Repository 'egov-default' will be blacklisted [DEBUG] Exception org.apache.maven.wagon.TransferFailedException: Error transferring file at org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData(LightweightHttpWagon.java:104) at org.apache.maven.wagon.StreamWagon.get(StreamWagon.java:68) at org.apache.maven.artifact.manager.DefaultWagonManager.getRemoteFile(DefaultWagonManager.java:462) at org.apache.maven.artifact.manager.DefaultWagonManager.getArtifactMetadata(DefaultWagonManager.java:363) at org.apache.maven.artifact.repository.metadata.DefaultRepositoryMetadataManager.resolveAlways(DefaultRepositoryMetadataManager.jav a:364) at org.apache.maven.artifact.repository.metadata.DefaultRepositoryMetadataManager.resolve(DefaultRepositoryMetadataManager.java:97) at org.apache.maven.artifact.transform.AbstractVersionTransformation.resolveVersion(AbstractVersionTransformation.java:65) at org.apache.maven.artifact.transform.LatestArtifactTransformation.transformForResolve(LatestArtifactTransformation.java:41) at org.apache.maven.artifact.transform.DefaultArtifactTransformationManager.transformForResolve(DefaultArtifactTransformationManager .java:57) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:123) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:73) at org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:524) at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(DefaultMavenProjectBuilder.java:231) at org.apache.maven.project.artifact.MavenMetadataSource.retrieve(MavenMetadataSource.java:105) at org.apache.maven.plugin.version.DefaultPluginVersionManager.resolveMetaVersion(DefaultPluginVersionManager.java:673) at org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePluginVersion(DefaultPluginVersionManager.java:187) at org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePluginVersion(DefaultPluginVersionManager.java:91) at org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPluginManager.java:167) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor.java:1257) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(DefaultLifecycleExecutor.java:1522) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.bindLifecycleForPackaging(DefaultLifecycleExecutor.java:1016) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.constructLifecycleMappings(DefaultLifecycleExecutor.java:980) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:458) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:333) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:126) at org.apache.maven.cli.MavenCli.main(MavenCli.java:282) 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: https://samson.prov.bz/artifactory/repo/org/apache/maven/pl ugins/maven-site-plugin/maven-metadata.xml at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1290) at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:234) at org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData(LightweightHttpWagon.java:83) ... 36 more now all our builds fails. as workaround can we rollback to previous version? how?

    JFrog JIRA | 8 years ago | Ötzi
    java.io.IOException: User egovdev is not permitted to deploy 'cosm/framework/DependencyAnalyzer/0.0.1-SNAPSHOT/maven-metadata.xml' into 'herzumsoftware-central-cache:cosm/framework/DependencyAnalyzer/0.0.1-SNAPSHOT/maven-metadata.xml'.
  3. 0

    {code} 2010-10-17 12:39:43,662 [pool-1-thread-5] [ERROR] (o.a.r.v.i.PomInterceptor:79) Failed to transform pom file java.io.IOException: User bob is not permitted to deploy 'org/apache/maven/plugins/maven-clean-plugin/2.2/maven-clean-plugin-2.2.pom' into 'remote-repo-cache:org/apache/maven/plugins/maven-clean-plugin/2.2/maven-clean-plugin-2.2.pom'. at org.artifactory.repo.virtual.interceptor.PomInterceptor.transformPomResource(PomInterceptor.java:121) [classes/:na] at org.artifactory.repo.virtual.interceptor.PomInterceptor.onBeforeReturn(PomInterceptor.java:73) [classes/:na] at org.artifactory.repo.virtual.VirtualRepo.interceptBeforeReturn(VirtualRepo.java:416) [classes/:na] at org.artifactory.repo.virtual.VirtualRepoDownloadStrategy.getInfo(VirtualRepoDownloadStrategy.java:138) [classes/:na] at org.artifactory.repo.virtual.VirtualRepo.getInfo(VirtualRepo.java:527) [classes/:na] at org.artifactory.engine.DownloadServiceImpl.getInfo(DownloadServiceImpl.java:174) [classes/:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_22] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_22] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_22] at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_22] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309) [spring-aop-3.0.4.RELEASE.jar:3.0.4.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) [spring-aop-3.0.4.RELEASE.jar:3.0.4.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) [spring-aop-3.0.4.RELEASE.jar:3.0.4.RELEASE] at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110) [spring-tx-3.0.4.RELEASE.jar:3.0.4.RELEASE] at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:75) [classes/:na] at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:47) [classes/:na] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) [spring-aop-3.0.4.RELEASE.jar:3.0.4.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) [spring-aop-3.0.4.RELEASE.jar:3.0.4.RELEASE] at $Proxy51.getInfo(Unknown Source) [na:na] at org.artifactory.engine.DownloadServiceImpl.callGetInfoInTransaction(DownloadServiceImpl.java:313) [classes/:na] at org.artifactory.engine.DownloadServiceImpl.process(DownloadServiceImpl.java:143) [classes/:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_22] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_22] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_22] at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_22] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309) [spring-aop-3.0.4.RELEASE.jar:3.0.4.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) [spring-aop-3.0.4.RELEASE.jar:3.0.4.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) [spring-aop-3.0.4.RELEASE.jar:3.0.4.RELEASE] at org.artifactory.request.aop.RequestAdvice.invoke(RequestAdvice.java:67) [classes/:na] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) [spring-aop-3.0.4.RELEASE.jar:3.0.4.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) [spring-aop-3.0.4.RELEASE.jar:3.0.4.RELEASE] at $Proxy51.process(Unknown Source) [na:na] at org.artifactory.webapp.servlet.RepoFilter.doDownload(RepoFilter.java:181) [classes/:na] at org.artifactory.webapp.servlet.RepoFilter.execute(RepoFilter.java:113) [classes/:na] at org.artifactory.webapp.servlet.RepoFilter.doFilter(RepoFilter.java:80) [classes/:na] at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1190) [jetty-servlet-7.0.2.v20100331.jar:7.0.2.v20100331] at org.artifactory.webapp.servlet.AccessFilter.useAuthentication(AccessFilter.java:213) [classes/:na] at org.artifactory.webapp.servlet.AccessFilter.authenticateAndExecute(AccessFilter.java:144) [classes/:na] at org.artifactory.webapp.servlet.AccessFilter.doFilterInternal(AccessFilter.java:125) [classes/:na] at org.artifactory.webapp.servlet.AccessFilter.doFilter(AccessFilter.java:93) [classes/:na] at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1190) [jetty-servlet-7.0.2.v20100331.jar:7.0.2.v20100331] at org.artifactory.webapp.servlet.RequestFilter.doFilter(RequestFilter.java:54) [classes/:na] at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1190) [jetty-servlet-7.0.2.v20100331.jar:7.0.2.v20100331] at org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:66) [classes/:na] at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1190) [jetty-servlet-7.0.2.v20100331.jar:7.0.2.v20100331] at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:424) [jetty-servlet-7.0.2.v20100331.jar:7.0.2.v20100331] at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119) [jetty-server-7.0.2.v20100331.jar:7.0.2.v20100331] at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:494) [jetty-security-7.0.2.v20100331.jar:7.0.2.v20100331] at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:229) [jetty-server-7.0.2.v20100331.jar:7.0.2.v20100331] at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:931) [jetty-server-7.0.2.v20100331.jar:7.0.2.v20100331] at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:361) [jetty-servlet-7.0.2.v20100331.jar:7.0.2.v20100331] at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:186) [jetty-server-7.0.2.v20100331.jar:7.0.2.v20100331] at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:867) [jetty-server-7.0.2.v20100331.jar:7.0.2.v20100331] at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117) [jetty-server-7.0.2.v20100331.jar:7.0.2.v20100331] at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:245) [jetty-server-7.0.2.v20100331.jar:7.0.2.v20100331] at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:126) [jetty-server-7.0.2.v20100331.jar:7.0.2.v20100331] at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:113) [jetty-server-7.0.2.v20100331.jar:7.0.2.v20100331] at org.eclipse.jetty.server.Server.handle(Server.java:337) [jetty-server-7.0.2.v20100331.jar:7.0.2.v20100331] at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:581) [jetty-server-7.0.2.v20100331.jar:7.0.2.v20100331] at org.eclipse.jetty.server.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:1005) [jetty-server-7.0.2.v20100331.jar:7.0.2.v20100331] at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:560) [jetty-http-7.0.2.v20100331.jar:7.0.2.v20100331] at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:222) [jetty-http-7.0.2.v20100331.jar:7.0.2.v20100331] at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:417) [jetty-server-7.0.2.v20100331.jar:7.0.2.v20100331] at org.eclipse.jetty.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:474) [jetty-io-7.0.2.v20100331.jar:7.0.2.v20100331] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [na:1.6.0_22] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [na:1.6.0_22] at java.lang.Thread.run(Thread.java:662) [na:1.6.0_22] {code}

    JFrog JIRA | 6 years ago | Noam Y. Tenne
    java.io.IOException: User bob is not permitted to deploy 'org/apache/maven/plugins/maven-clean-plugin/2.2/maven-clean-plugin-2.2.pom' into 'remote-repo-cache:org/apache/maven/plugins/maven-clean-plugin/2.2/maven-clean-plugin-2.2.pom'.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    {code} 2010-10-17 12:39:43,662 [pool-1-thread-5] [ERROR] (o.a.r.v.i.PomInterceptor:79) Failed to transform pom file java.io.IOException: User bob is not permitted to deploy 'org/apache/maven/plugins/maven-clean-plugin/2.2/maven-clean-plugin-2.2.pom' into 'remote-repo-cache:org/apache/maven/plugins/maven-clean-plugin/2.2/maven-clean-plugin-2.2.pom'. at org.artifactory.repo.virtual.interceptor.PomInterceptor.transformPomResource(PomInterceptor.java:121) [classes/:na] at org.artifactory.repo.virtual.interceptor.PomInterceptor.onBeforeReturn(PomInterceptor.java:73) [classes/:na] at org.artifactory.repo.virtual.VirtualRepo.interceptBeforeReturn(VirtualRepo.java:416) [classes/:na] at org.artifactory.repo.virtual.VirtualRepoDownloadStrategy.getInfo(VirtualRepoDownloadStrategy.java:138) [classes/:na] at org.artifactory.repo.virtual.VirtualRepo.getInfo(VirtualRepo.java:527) [classes/:na] at org.artifactory.engine.DownloadServiceImpl.getInfo(DownloadServiceImpl.java:174) [classes/:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_22] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_22] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_22] at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_22] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309) [spring-aop-3.0.4.RELEASE.jar:3.0.4.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) [spring-aop-3.0.4.RELEASE.jar:3.0.4.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) [spring-aop-3.0.4.RELEASE.jar:3.0.4.RELEASE] at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110) [spring-tx-3.0.4.RELEASE.jar:3.0.4.RELEASE] at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:75) [classes/:na] at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:47) [classes/:na] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) [spring-aop-3.0.4.RELEASE.jar:3.0.4.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) [spring-aop-3.0.4.RELEASE.jar:3.0.4.RELEASE] at $Proxy51.getInfo(Unknown Source) [na:na] at org.artifactory.engine.DownloadServiceImpl.callGetInfoInTransaction(DownloadServiceImpl.java:313) [classes/:na] at org.artifactory.engine.DownloadServiceImpl.process(DownloadServiceImpl.java:143) [classes/:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_22] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_22] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_22] at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_22] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309) [spring-aop-3.0.4.RELEASE.jar:3.0.4.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) [spring-aop-3.0.4.RELEASE.jar:3.0.4.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) [spring-aop-3.0.4.RELEASE.jar:3.0.4.RELEASE] at org.artifactory.request.aop.RequestAdvice.invoke(RequestAdvice.java:67) [classes/:na] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) [spring-aop-3.0.4.RELEASE.jar:3.0.4.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) [spring-aop-3.0.4.RELEASE.jar:3.0.4.RELEASE] at $Proxy51.process(Unknown Source) [na:na] at org.artifactory.webapp.servlet.RepoFilter.doDownload(RepoFilter.java:181) [classes/:na] at org.artifactory.webapp.servlet.RepoFilter.execute(RepoFilter.java:113) [classes/:na] at org.artifactory.webapp.servlet.RepoFilter.doFilter(RepoFilter.java:80) [classes/:na] at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1190) [jetty-servlet-7.0.2.v20100331.jar:7.0.2.v20100331] at org.artifactory.webapp.servlet.AccessFilter.useAuthentication(AccessFilter.java:213) [classes/:na] at org.artifactory.webapp.servlet.AccessFilter.authenticateAndExecute(AccessFilter.java:144) [classes/:na] at org.artifactory.webapp.servlet.AccessFilter.doFilterInternal(AccessFilter.java:125) [classes/:na] at org.artifactory.webapp.servlet.AccessFilter.doFilter(AccessFilter.java:93) [classes/:na] at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1190) [jetty-servlet-7.0.2.v20100331.jar:7.0.2.v20100331] at org.artifactory.webapp.servlet.RequestFilter.doFilter(RequestFilter.java:54) [classes/:na] at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1190) [jetty-servlet-7.0.2.v20100331.jar:7.0.2.v20100331] at org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:66) [classes/:na] at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1190) [jetty-servlet-7.0.2.v20100331.jar:7.0.2.v20100331] at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:424) [jetty-servlet-7.0.2.v20100331.jar:7.0.2.v20100331] at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119) [jetty-server-7.0.2.v20100331.jar:7.0.2.v20100331] at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:494) [jetty-security-7.0.2.v20100331.jar:7.0.2.v20100331] at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:229) [jetty-server-7.0.2.v20100331.jar:7.0.2.v20100331] at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:931) [jetty-server-7.0.2.v20100331.jar:7.0.2.v20100331] at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:361) [jetty-servlet-7.0.2.v20100331.jar:7.0.2.v20100331] at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:186) [jetty-server-7.0.2.v20100331.jar:7.0.2.v20100331] at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:867) [jetty-server-7.0.2.v20100331.jar:7.0.2.v20100331] at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117) [jetty-server-7.0.2.v20100331.jar:7.0.2.v20100331] at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:245) [jetty-server-7.0.2.v20100331.jar:7.0.2.v20100331] at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:126) [jetty-server-7.0.2.v20100331.jar:7.0.2.v20100331] at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:113) [jetty-server-7.0.2.v20100331.jar:7.0.2.v20100331] at org.eclipse.jetty.server.Server.handle(Server.java:337) [jetty-server-7.0.2.v20100331.jar:7.0.2.v20100331] at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:581) [jetty-server-7.0.2.v20100331.jar:7.0.2.v20100331] at org.eclipse.jetty.server.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:1005) [jetty-server-7.0.2.v20100331.jar:7.0.2.v20100331] at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:560) [jetty-http-7.0.2.v20100331.jar:7.0.2.v20100331] at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:222) [jetty-http-7.0.2.v20100331.jar:7.0.2.v20100331] at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:417) [jetty-server-7.0.2.v20100331.jar:7.0.2.v20100331] at org.eclipse.jetty.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:474) [jetty-io-7.0.2.v20100331.jar:7.0.2.v20100331] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [na:1.6.0_22] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [na:1.6.0_22] at java.lang.Thread.run(Thread.java:662) [na:1.6.0_22] {code}

    JFrog JIRA | 6 years ago | Noam Y. Tenne
    java.io.IOException: User bob is not permitted to deploy 'org/apache/maven/plugins/maven-clean-plugin/2.2/maven-clean-plugin-2.2.pom' into 'remote-repo-cache:org/apache/maven/plugins/maven-clean-plugin/2.2/maven-clean-plugin-2.2.pom'.
  6. 0

    {{mvn -e deploy}} for maven-specs2-plugin (exact source available [here|https://github.com/mmakowski/maven-specs2-plugin/tree/db343e5e8ef3620c261136f3bca928dd88350e85] fails with the following output: {code} [INFO] [deploy:deploy {execution: default-deploy}] [INFO] Retrieving previous build number from oss.sonatype.org [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Error retrieving previous build number for artifact 'com.mmakowski:maven-specs2-plugin:maven-plugin': repository metadata for: 'snapshot com.mmakowski:maven-specs2-plugin:0.3.0-SNAPSHOT' could not be retrieved from repository: oss.sonatype.org due to an error: Error transferring file: Server returned HTTP response code: 502 for URL: http://nexus.scala-tools.org/content/repositories/snapshots/com/mmakowski/maven-specs2-plugin/0.3.0-SNAPSHOT/maven-metadata.xml [INFO] ------------------------------------------------------------------------ [INFO] Trace org.apache.maven.lifecycle.LifecycleExecutionException: Error retrieving previous build number for artifact 'com.mmakowski:maven-specs2-plugin:maven-plugin': repository metadata for: 'snapshot com.mmakowski:maven-specs2-plugin:0.3.0-SNAPSHOT' could not be retrieved from repository: oss.sonatype.org due to an error: Error transferring file: Server returned HTTP response code: 502 for URL: http://nexus.scala-tools.org/content/repositories/snapshots/com/mmakowski/maven-specs2-plugin/0.3.0-SNAPSHOT/maven-metadata.xml 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:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) 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 retrieving previous build number for artifact 'com.mmakowski:maven-specs2-plugin:maven-plugin': repository metadata for: 'snapshot com.mmakowski:maven-specs2-plugin:0.3.0-SNAPSHOT' could not be retrieved from repository: oss.sonatype.org due to an error: Error transferring file: Server returned HTTP response code: 502 for URL: http://nexus.scala-tools.org/content/repositories/snapshots/com/mmakowski/maven-specs2-plugin/0.3.0-SNAPSHOT/maven-metadata.xml at org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:195) 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 retrieving previous build number for artifact 'com.mmakowski:maven-specs2-plugin:maven-plugin': repository metadata for: 'snapshot com.mmakowski:maven-specs2-plugin:0.3.0-SNAPSHOT' could not be retrieved from repository: oss.sonatype.org due to an error: Error transferring file: Server returned HTTP response code: 502 for URL: http://nexus.scala-tools.org/content/repositories/snapshots/com/mmakowski/maven-specs2-plugin/0.3.0-SNAPSHOT/maven-metadata.xml at org.apache.maven.artifact.transform.SnapshotTransformation.transformForDeployment(SnapshotTransformation.java:106) at org.apache.maven.artifact.transform.DefaultArtifactTransformationManager.transformForDeployment(DefaultArtifactTransformationManager.java:74) at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:86) at org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:173) ... 19 more Caused by: org.apache.maven.artifact.repository.metadata.RepositoryMetadataResolutionException: repository metadata for: 'snapshot com.mmakowski:maven-specs2-plugin:0.3.0-SNAPSHOT' could not be retrieved from repository: oss.sonatype.org due to an error: Error transferring file: Server returned HTTP response code: 502 for URL: http://nexus.scala-tools.org/content/repositories/snapshots/com/mmakowski/maven-specs2-plugin/0.3.0-SNAPSHOT/maven-metadata.xml at org.apache.maven.artifact.repository.metadata.DefaultRepositoryMetadataManager.resolveAlways(DefaultRepositoryMetadataManager.java:351) at org.apache.maven.artifact.transform.SnapshotTransformation.resolveLatestSnapshotBuildNumber(SnapshotTransformation.java:161) at org.apache.maven.artifact.transform.SnapshotTransformation.transformForDeployment(SnapshotTransformation.java:100) ... 22 more Caused by: org.apache.maven.wagon.TransferFailedException: Error transferring file: Server returned HTTP response code: 502 for URL: http://nexus.scala-tools.org/content/repositories/snapshots/com/mmakowski/maven-specs2-plugin/0.3.0-SNAPSHOT/maven-metadata.xml 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.getArtifactMetadataFromDeploymentRepository(DefaultWagonManager.java:452) at org.apache.maven.artifact.repository.metadata.DefaultRepositoryMetadataManager.getArtifactMetadataFromDeploymentRepository(DefaultRepositoryMetadataManager.java:379) at org.apache.maven.artifact.repository.metadata.DefaultRepositoryMetadataManager.resolveAlways(DefaultRepositoryMetadataManager.java:347) ... 24 more Caused by: java.io.IOException: Server returned HTTP response code: 502 for URL: http://nexus.scala-tools.org/content/repositories/snapshots/com/mmakowski/maven-specs2-plugin/0.3.0-SNAPSHOT/maven-metadata.xml at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:532) at sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1458) at java.security.AccessController.doPrivileged(Native Method) at sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1452) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1106) at org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData(LightweightHttpWagon.java:122) ... 31 more Caused by: java.io.IOException: Server returned HTTP response code: 502 for URL: http://nexus.scala-tools.org/content/repositories/snapshots/com/mmakowski/maven-specs2-plugin/0.3.0-SNAPSHOT/maven-metadata.xml at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1403) at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:397) at org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData(LightweightHttpWagon.java:115) ... 31 more {code}

    Sonatype JIRA | 5 years ago | Maciek Makowski
    org.apache.maven.lifecycle.LifecycleExecutionException: Error retrieving previous build number for artifact 'com.mmakowski:maven-specs2-plugin:maven-plugin': repository metadata for: 'snapshot com.mmakowski:maven-specs2-plugin:0.3.0-SNAPSHOT' could not be retrieved from repository: oss.sonatype.org due to an error: Error transferring file: Server returned HTTP response code: 502 for URL: http://nexus.scala-tools.org/content/repositories/snapshots/com/mmakowski/maven-specs2-plugin/0.3.0-SNAPSHOT/maven-metadata.xml

    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. java.io.IOException

      User egovdev is not permitted to deploy 'cosm/framework/DependencyAnalyzer/0.0.1-SNAPSHOT/maven-metadata.xml' into 'herzumsoftware-central-cache:cosm/framework/DependencyAnalyzer/0.0.1-SNAPSHOT/maven-metadata.xml'.

      at org.artifactory.repo.RemoteRepoBase.downloadAndSave()
    2. org.artifactory.repo
      RepositoryServiceImpl.downloadAndSave
      1. org.artifactory.repo.RemoteRepoBase.downloadAndSave(RemoteRepoBase.java:265)[artifactory-core-2.0.0.jar:na]
      2. org.artifactory.repo.service.RepositoryServiceImpl.downloadAndSave(RepositoryServiceImpl.java:1142)[artifactory-core-2.0.0.jar:na]
      2 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor311.invoke(Unknown Source)[na:na]
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[na:1.6.0_07]
      3. java.lang.reflect.Method.invoke(Method.java:597)[na:1.6.0_07]
      3 frames
    4. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)[spring-aop-2.5.5.jar:2.5.5]
      2. org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)[spring-aop-2.5.5.jar:2.5.5]
      3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)[spring-aop-2.5.5.jar:2.5.5]
      3 frames
    5. org.artifactory.jcr
      LockingAdvice.invoke
      1. org.artifactory.jcr.lock.LockingAdvice.invoke(LockingAdvice.java:81)[artifactory-core-2.0.0.jar:na]
      1 frame
    6. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)[spring-aop-2.5.5.jar:2.5.5]
      2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)[spring-aop-2.5.5.jar:2.5.5]
      2 frames
    7. Unknown
      $Proxy14.downloadAndSave
      1. $Proxy14.downloadAndSave(Unknown Source)[na:na]
      1 frame
    8. org.artifactory.repo
      RepositoryServiceImpl.getResourceStreamHandle
      1. org.artifactory.repo.RemoteRepoBase.getResourceStreamHandle(RemoteRepoBase.java:236)[artifactory-core-2.0.0.jar:na]
      2. org.artifactory.repo.service.RepositoryServiceImpl.getResourceStreamHandle(RepositoryServiceImpl.java:1169)[artifactory-core-2.0.0.jar:na]
      2 frames
    9. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor283.invoke(Unknown Source)[na:na]
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[na:1.6.0_07]
      3. java.lang.reflect.Method.invoke(Method.java:597)[na:1.6.0_07]
      3 frames
    10. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)[spring-aop-2.5.5.jar:2.5.5]
      2. org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)[spring-aop-2.5.5.jar:2.5.5]
      3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)[spring-aop-2.5.5.jar:2.5.5]
      3 frames
    11. Spring Tx
      TransactionInterceptor.invoke
      1. org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)[spring-tx-2.5.5.jar:2.5.5]
      1 frame
    12. org.artifactory.jcr
      LockingAdvice.invoke
      1. org.artifactory.jcr.lock.LockingAdvice.invoke(LockingAdvice.java:79)[artifactory-core-2.0.0.jar:na]
      1 frame
    13. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)[spring-aop-2.5.5.jar:2.5.5]
      2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)[spring-aop-2.5.5.jar:2.5.5]
      2 frames
    14. Unknown
      $Proxy14.getResourceStreamHandle
      1. $Proxy14.getResourceStreamHandle(Unknown Source)[na:na]
      1 frame
    15. org.artifactory.engine
      DownloadServiceImpl.process
      1. org.artifactory.engine.DownloadServiceImpl.respond(DownloadServiceImpl.java:468)[artifactory-core-2.0.0.jar:na]
      2. org.artifactory.engine.DownloadServiceImpl.processSnapshot(DownloadServiceImpl.java:272)[artifactory-core-2.0.0.jar:na]
      3. org.artifactory.engine.DownloadServiceImpl.process(DownloadServiceImpl.java:128)[artifactory-core-2.0.0.jar:na]
      3 frames
    16. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor281.invoke(Unknown Source)[na:na]
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[na:1.6.0_07]
      3. java.lang.reflect.Method.invoke(Method.java:597)[na:1.6.0_07]
      3 frames
    17. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)[spring-aop-2.5.5.jar:2.5.5]
      2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:198)[spring-aop-2.5.5.jar:2.5.5]
      2 frames
    18. Unknown
      $Proxy44.process
      1. $Proxy44.process(Unknown Source)[na:na]
      1 frame
    19. org.artifactory.webapp
      RepoFilter.doFilter
      1. org.artifactory.webapp.servlet.RepoFilter.execute(RepoFilter.java:110)[RepoFilter.class:na]
      2. org.artifactory.webapp.servlet.RepoFilter.doFilter(RepoFilter.java:73)[RepoFilter.class:na]
      2 frames
    20. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)[catalina.jar:na]
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)[catalina.jar:na]
      2 frames
    21. org.artifactory.webapp
      AccessFilter.doFilter
      1. org.artifactory.webapp.servlet.AccessFilter.useAuthentication(AccessFilter.java:190)[AccessFilter.class:na]
      2. org.artifactory.webapp.servlet.AccessFilter.authenticateAndExecute(AccessFilter.java:135)[AccessFilter.class:na]
      3. org.artifactory.webapp.servlet.AccessFilter.doFilterInternal(AccessFilter.java:120)[AccessFilter.class:na]
      4. org.artifactory.webapp.servlet.AccessFilter.doFilter(AccessFilter.java:90)[AccessFilter.class:na]
      4 frames
    22. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)[catalina.jar:na]
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)[catalina.jar:na]
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)[catalina.jar:na]
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)[catalina.jar:na]
      5. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)[catalina.jar:na]
      6. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)[catalina.jar:na]
      7. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)[catalina.jar:na]
      8. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)[catalina.jar:na]
      8 frames