Description
Building a sample project with a pom.xml, like /samples/version/ or /samples/jaxws-version/, returns this:
Downloading: http://repo1.maven.org/maven2/org/apache/axis2/axis2-parent/1.5.1/axis2-parent-1.5.1.pom
[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
GroupId: org.apache.axis2
ArtifactId: axis2-parent
Version: 1.5.1
Reason: Unable to download the artifact from any repository
org.apache.axis2:axis2-parent:pom:1.5.1
from the specified remote repositories:
central (http://repo1.maven.org/maven2)
This is because the corresponding parent pom has not yet been deployed to public Maven repository on repo1.maven.org
If you go to http://repo1.maven.org/maven2/org/apache/axis2/axis2-parent/ you'll see there is no 1.5.1 directory yet.
The fix is to deploy the corresponding pom files for this release.