Hi devs,
I got the following error while I was building [1]
[1] - http://svn.apache.org/repos/asf/ode/branches/ode-1.3.5.x/
[INFO] Building ODE :: Axis2 Based Web Application
[INFO] task-segment: [clean, install]
[INFO]
------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] [site:attach-descriptor {execution: default-attach-descriptor}]
[INFO] [dependency:unpack {execution: unpack-axis2-webapp}]
[INFO] Configured Artifact: org.apache.axis2:axis2-webapp:1.3:war
Downloading:
https://repository.apache.org/content/groups/public/org/apache/axis2/axis2-webapp/1.3/axis2-webapp-1.3.war
[INFO] Unable to find resource 'org.apache.axis2:axis2-webapp:war:1.3' in
repository servicemix-repo (
https://repository.apache.org/content/groups/public)
Downloading:
http://people.apache.org/~rr/saxon-repo/org/apache/axis2/axis2-webapp/1.3/axis2-webapp-1.3.war
[INFO] Unable to find resource 'org.apache.axis2:axis2-webapp:war:1.3' in
repository saxon-repo (http://people.apache.org/~rr/saxon-repo)
Downloading:
http://repo1.maven.org/maven2/org/apache/axis2/axis2-webapp/1.3/axis2-webapp-1.3.war
[INFO] Unable to find resource 'org.apache.axis2:axis2-webapp:war:1.3' in
repository central (http://repo1.maven.org/maven2)
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Unable to find artifact.
Embedded error: 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=org.apache.axis2
-DartifactId=axis2-webapp -Dversion=1.3 -Dpackaging=war -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file
there:
mvn deploy:deploy-file -DgroupId=org.apache.axis2
-DartifactId=axis2-webapp -Dversion=1.3 -Dpackaging=war -Dfile=/path/to/file
-Durl=[url] -DrepositoryId=[id]
org.apache.axis2:axis2-webapp:war:1.3
from the specified remote repositories:
central (http://repo1.maven.org/maven2),
servicemix-repo (https://repository.apache.org/content/groups/public),
saxon-repo (http://people.apache.org/~rr/saxon-repo)
Thanks,
Waruna
--
-----------------------------------------------------
Regards,
Waruna Ranasinghe
blog: http://warunapw.blogspot.com
twitter: http://twitter.com/warunapww
http://lk.linkedin.com/in/waruna
www.facebook.com/waruna.ranasinghe