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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
Expert tip

Check if you didn't set RequestProperty Content-Type to the wrong type or if you're trying to send the wrong file to the server.

Solutions on the web

via Sonatype JIRA by Maciek Makowski, 1 year ago
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
via Sonatype JIRA by Maciek Makowski, 1 year ago
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
via Google Groups by Victor Neiman, 2 years ago
Error transferring file: Connection timed out org.mobicents.protocols.ss7.mtp:mtp:jar:2.0.0-20121022.191602-25 from the specified remote repositories: jboss-releases (http://repository.jboss.org/nexus/content/repositories/releases/), central
via Sonatype JIRA by Andrea Aime, 1 year ago
Error deploying artifact: Failed to transfer file: http://oss.sonatype.org/content/repositories/snapshots/com/googlecode/jaitools/jaitools/1.1-SNAPSHOT/jaitools-1.1-SNAPSHOT.pom. Return code is: 401
via Sonatype JIRA by Andrea Aime, 1 year ago
Error deploying artifact: Failed to transfer file: http://oss.sonatype.org/content/repositories/snapshots/com/googlecode/jaitools/jaitools/1.1-SNAPSHOT/jaitools-1.1-SNAPSHOT.pom. Return code is: 401
via GitHub by michael-conway
, 1 year ago
required artifact is missing. for artifact: org.irods.jargon:irods-webdav:war:0.0.1-SNAPSHOT from the specified remote repositories: dice.repository snaps (https://raw.github.com/DICE-UNC/DICE-Maven/master/snapshots), central (http://repo1
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 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)
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)
at org.apache.maven.artifact.transform.SnapshotTransformation.resolveLatestSnapshotBuildNumber(SnapshotTransformation.java:161)
at org.apache.maven.artifact.transform.SnapshotTransformation.transformForDeployment(SnapshotTransformation.java:100)
at org.apache.maven.artifact.transform.DefaultArtifactTransformationManager.transformForDeployment(DefaultArtifactTransformationManager.java:74)
at org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:173)
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: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)

Users with the same issue

Once, 3 months ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Once, 1 year ago
59 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.