I've been able to compile and run our Maven servicemix applications by
configuring a mirror for the repository that used to be at servicemix.org
and was known to maven as 'servicemix-m2-repo'. I'm definately not a maven
expert, so although these have worked for me I'm not in a position to say
that they're a good idea or not, but hopefully they may help anyone stuck
and not able to compile their servicemix applications until the maven
references are updated to the correct repository.

In my ~/.m2/settings.xml file I configured maven to use
http://people.apache.org/repo as a mirror of the missing/lapsed repostiory,
I also had to add a reference to a repository that contained opensaml as it
wasn't found on the mirror (presumably it used to exist on servicemix.org).  

<settings>
   <profiles>
     <profile>
         ....
          <!-- Required following mirror of servicemix-m2-repo to support
opensaml -->
          <repository>
             <id>intalio-repository</id>
             <url>http://pxe.intalio.org/public/maven2/</url>
          </repository>
          <!-- END OF - Required following mirror of servicemix-m2-repo to 
support
opensaml -->
          ....
      </profile>
    </profiles>
   ......
    <!-- Mirror the servicemix.org Repository -->
  <mirrors>
    <mirror>
      <id>apache-incubating</id>
      <name>Apache Repository</name>
      <url>http://people.apache.org/repo</url>
      <mirrorOf>servicemix-m2-repo</mirrorOf>
    </mirror>
  </mirrors>
   ....
</settings>


krhansen wrote:
> 
> I guess the real address of the servicemix homepage is
> http://incubator.apache.org/servicemix/home.html so it's probably okay
> that the old domain has expired - only somebody should change the maven
> references, so it won't go looking at servicemix.org.
> 


-- 
View this message in context: 
http://www.nabble.com/BUILD-ERROR-FROM-MAVEN-maven-metadata-servicemix-m2-repo.xml-tf3734366s12049.html#a10605293
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to