AFAIK, Axis2 is an apache project and would be deploying to repo1.maven.org. The rules for repo1.maven.org are that you cannot rely on any artifacts which are not hosted on repo1.maven.org.
As such, I would expect that Axis2 _should not_ require artifacts from java.net, and should not have any <repository> sections in their pom.xml files. (OK technically they are allowed ones which are only enabled for -SNAPSHOTs... but it cannot be enabled for releases) That is the theory, now it may well be that Axis2 is being bold and depending on java.net. To answer your question. Your best bet is to set up a maven repository manager (e.g. nexus, artifactory, etc) and configure your settings.xml to use that repository manager as <mirrofOf>*</mirrorOf> Then you can add all the repositories you want to source artifacts from to your repository manager, and you should be able to build. Also this sounds more like a question for the Axis2 list -Stephen 2009/11/12 Lahiru Gunathilake <[email protected]>: > Hi all, > > I am trying to build set stack of java products which fails due to the > relocation of https://maven-repository.dev.java.net/nonav/repository/. From > the product stack I am buiding Apache Axis2 very first and I cannot see this > repository in Axis2 pom.xml. So I tried to put the new location in to Axis2 > pom and tried to build but still it's failing with some other artifacts. I > wanted to change the location where we artifacts pointing to this location, > so I ran a grep command inside my .m2 directory but I couldn't find any of > the .pom file where it refer to this repository. > > I'm ahead of a release and have to do a clean repository build, so can > someone please help me to avoid this problem. > > Regards > Lahiru > > -- > Apache Qpid, Worlds dominant messaging middleware..!!! > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
