If you have a settings.xml file, you can add that repository to there,
and it'll be picked up. Ideally you don't want to clutter the root pom
with the repositories. Tammo's the suggestion is actually the correct
course of action, get Axis2/WSO2 to add the missing WAR back to maven
central, or make sure that the Apache hosted Nexus repo is Proxying the
appropriate sites.
Dave
On 01/31/2011 10:57 AM, Waruna Ranasinghe wrote:
Hi Tammo,
I was able to build with
http://www.intalio.org/public/maven2<http://www.intalio.org/public/maven2/org/apache/axis2/axis2-webapp/1.3/>repo
with maven.
I think it's better to include this repo in the root pom, so that maven
users can also build ode with out a problem.
Thanks,
Waruna
On 31 January 2011 18:56, Tammo van Lessen<[email protected]> wrote:
Hi Waruna,
it looks like this file has been removed from Maven Central (if it has
been there at all). I have asked the axis community to upload it to
Apache's mvn repository. It looks like Intalio is providing a mvn
repository that contains this war:
http://www.intalio.org/public/maven2/org/apache/axis2/axis2-webapp/1.3/
Also, please note that ODE 1.3.5 is build best with Buildr (as it
provides the more polished build).
Tammo
On 31.01.2011 11:36, Waruna Ranasinghe wrote:
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<http://people.apache.org/%7Err/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<http://people.apache.org/%7Err/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<http://people.apache.org/%7Err/saxon-repo>
)
Thanks,
Waruna
--
Tammo van Lessen - http://www.taval.de