Hi Jean-Baptiste, The "smx-m2" repository was added in the .m2/settings.xml, but unfortunately the log is still complaining about missing "region" bundle. Don't know whether Karaf uses the settings.xml or not. Is it possible to obtain your settings.xml?
We are making a custom distribution in order to deliver a well-configured Karaf which includes our application. Seems it is made for, isn't it? JP [@@ OPEN @@] -----Message d'origine----- De : Jean-Baptiste Onofré [mailto:[email protected]] Envoyé : jeudi 14 août 2014 15:34 À : [email protected] Objet : Re: Using Maven SNAPSHOT Hi, the equinox region 1.0 jar is on SMX M2 repo, so you have to add: <repository> <id>smx-m2</id> <url>http://svn.apache.org/repos/asf/servicemix/m2-repo</url> ... </repository> Regards JB On 08/14/2014 03:31 PM, MICHEL Jerome wrote: > After using the Karaf custom release we are able to create a zip file with > the right version of karaf in it. But after launching it, karaf is apparently > not founding an artifact as you can see in the log below : > " artifactorg.eclipse.equinox:region:jar:1.0.0.v20110506:Could not find > artifact org.eclipse.equinox:region:jar:1.0.0.v20110506 in defaultlocal " > > We are using this settings.xml file which permits us to create the custom > distribution : > > <settings> > <profiles> > <profile> > <id>global</id> > <repositories> > <repository> > <id>maven-central</id> > > <url>http://repo.maven.apache.org/maven2</url> > <releases> > <enabled>true</enabled> > </releases> > <snapshots> > <enabled>false</enabled> > </snapshots> > </repository> > <repository> > <id>apache-snapshots</id> > > <url>http://repository.apache.org/snapshots</url> > <releases> > <enabled>false</enabled> > </releases> > <snapshots> > <enabled>true</enabled> > </snapshots> > </repository> > </repositories> > </profile> > </profiles> > > <activeProfiles> > <activeProfile>global</activeProfile> > </activeProfiles> > </settings> > > With this error I think that we missed a server to help maven found all the > artifacts. Do you know the minimum settings.xml file or maven servers for > Karaf lanching ? > > Regards > J. > > [@@ THALES GROUP INTERNAL @@] > > -----Message d'origine----- > De : Jean-Baptiste Onofré [mailto:[email protected]] Envoyé : jeudi 14 > août 2014 14:15 À : [email protected] Objet : Re: Using Maven > SNAPSHOT > > Hi, > > the SNAPSHOTs repo is there: > > https://repository.apache.org/content/groups/snapshots/ > > I will deploy an updated SNAPSHOT soon. > > Regards > JB > > On 08/14/2014 02:09 PM, MICHEL Jerome wrote: >> Dear Karaf Team, >> >> I would like to make a Custom Release of Karaf with the maven plugin. >> It works as expected with the Karaf 3.0.1 version, but we would like >> to use the 3.0.2-SNAPSHOT. We didn't find the snapshot repository, is >> it available to public ? which is the url ? >> >> Regards >> >> JM >> >> [@@ OPEN @@] >> > > -- > Jean-Baptiste Onofré > [email protected] > http://blog.nanthrax.net > Talend - http://www.talend.com > -- Jean-Baptiste Onofré [email protected] http://blog.nanthrax.net Talend - http://www.talend.com
