Nevermind. I just downloaded from the link you posted and it ran fine. I
must have something messed up with my pom somewhere. 

On 2015-06-29 15:40, [email protected] wrote: 

> No. It is downloading the artifact and unzipping it. If I then go and run 
> bin/karaf from the folder that it was unzipped to I get an error. However 
> when I download from the web and unzip if I run bin/karaf then everything 
> runs fine. 
> 
> On 2015-06-29 14:51, Jean-Baptiste Onofré wrote: 
> 
> The artifact is there:
> 
> http://repo.maven.apache.org/maven2/org/apache/karaf/apache-karaf/4.0.0/apache-karaf-4.0.0.tar.gz
>  [1]
> 
> and the framework is there:
> 
> http://repo.maven.apache.org/maven2/org/apache/felix/org.apache.felix.framework/5.0.1/org.apache.felix.framework-5.0.1.jar
>  [2]
> 
> Do you use a proxy to access Internet ?
> 
> Regards
> JB
> 
> On 06/29/2015 08:31 PM, [email protected] wrote:
> I got back to trying again now that 4.0.0 has been released. When I download 
> karaf 4 from the website everything starts fine but when I download it 
> through maven it does not seem to start. Here is how I am pulling it through 
> maven <dependency> <groupId>org.apache.karaf</groupId> 
> <artifactId>apache-karaf</artifactId> <version>${karaf.version}</version> 
> <type>tar.gz</type> </dependency> <properties> 
> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> 
> <karaf.version>4.0.0</karaf.version> 
> <karaf.tooling.exam.version>${karaf.version}</karaf.tooling.exam.version> 
> </properties> On 2015-06-25 11:41, [email protected] wrote: It has to 
> be something with my setup I think. I tried to run the karaf that was 
> downloaded into my target directory that my custom project builds on. When 
> running that I got the error Could not resolve 
> mvn:org.apache.felix/org.apache.felix.framework/5.0.1 However I see that in 
> central and central listed in the repos
org.ops4j.pax.url.mvn.repositories= http://repo1.maven.org/maven2@id=central 
[3], 
http://repository.springsource.com/maven/bundles/release@id=spring.ebr.release 
[4], 
http://repository.springsource.com/maven/bundles/external@id=spring.ebr.external
 [5], http://zodiac.springsource.com/maven/bundles/release@id=gemini [6], 
http://repository.apache.org/content/groups/snapshots-group@id=apache@snapshots@noreleases
 [7], 
https://oss.sonatype.org/content/repositories/snapshots@id=sonatype.snapshots.deploy@snapshots@noreleases
 [8], 
https://oss.sonatype.org/content/repositories/ops4j-snapshots@id=ops4j.sonatype.snapshots.deploy@snapshots@noreleases
 [9], 
http://repository.springsource.com/maven/bundles/external@id=spring-ebr-repository@snapshots@noreleases
 [10] On 2015-06-25 09:37, [email protected] wrote: I deleted the folder 
from ~/.m2 and tried to rerun. I got the same error but it did not repull the 
folder. Should I do a build the pom again so it is re downloaded. On 2015-06-25 
09:30,
Charlie Mordant wrote: Hi, Can you try to wipe your local m2 repo (~/.m2)? Or 
remove the org/apache/felix/org.apache.felix.metatype folder Regards, 
2015-06-25 14:40 GMT+02:00 <[email protected] 
<mailto:[email protected]>>: Hello all, I was trying to use the rc for 
karaf 4.0.0 When starting I get the following error. Jun 25, 2015 8:26:28 AM 
org.apache.karaf.main.Main main SEVERE: Could not launch framework 
java.lang.RuntimeException: Error installing bundle listed in 
startup.properties with url: 
mvn:org.apache.felix/org.apache.felix.metatype/1.0.12 and startlevel: 5 at 
org.apache.karaf.main.Main.installAndStartBundles(Main.java:450) at 
org.apache.karaf.main.Main.launch(Main.java:303) at 
org.apache.karaf.main.Main.main(Main.java:175) Caused by: 
java.lang.RuntimeException: Could not resolve 
mvn:org.apache.felix/org.apache.felix.metatype/1.0.12 at 
org.apache.karaf.main.util.SimpleMavenResolver.resolve(SimpleMavenResolver.java:59)
 at
org.apache.karaf.main.Main.installAndStartBundles(Main.java:442) ... 2 more I 
was wondering if there was something wrong with my mvn config or my start 
order. org.ops4j.pax.url.mvn.repositories= 
http://repo1.maven.org/maven2@id=central [3], 
http://repository.springsource.com/maven/bundles/release@id=spring.ebr.release 
[4], 
http://repository.springsource.com/maven/bundles/external@id=spring.ebr.external
 [5], http://zodiac.springsource.com/maven/bundles/release@id=gemini [6], 
http://repository.apache.org/content/groups/snapshots-group@id=apache@snapshots@noreleases
 [7], 
https://oss.sonatype.org/content/repositories/snapshots@id=sonatype.snapshots.deploy@snapshots@noreleases
 [8], 
https://oss.sonatype.org/content/repositories/ops4j-snapshots@id=ops4j.sonatype.snapshots.deploy@snapshots@noreleases
 [9], 
http://artifactory.orbistechnologies.com/artifactory/repo@id=swlocal@snapshots 
[11], 
http://repository.springsource.com/maven/bundles/external@id=spring-ebr-repository@snapshots@noreleases
[10] enterprise=mvn:org.apache.karaf.features/enterprise/LATEST/xml/features 
cellar=mvn:org.apache.karaf.cellar/apache-karaf-cellar/LATEST/xml/features 
cave=mvn:org.apache.karaf.cave/apache-karaf-cave/LATEST/xml/features 
camel=mvn:org.apache.camel.karaf/apache-camel/LATEST/xml/features 
camel-extras=mvn:org.apache-extras.camel-extra.karaf/camel-extra/LATEST/xml/features
 cxf=mvn:org.apache.cxf.karaf/apache-cxf/3.0.5/xml/features 
cxf-dosgi=mvn:org.apache.cxf.dosgi/cxf-dosgi/LATEST/xml/features 
activemq=mvn:org.apache.activemq/activemq-karaf/LATEST/xml/features 
jclouds=mvn:org.apache.jclouds.karaf/jclouds-karaf/LATEST/xml/features 
openejb=mvn:org.apache.openejb/openejb-feature/LATEST/xml/features 
wicket=mvn:org.ops4j.pax.wicket/features/LATEST/xml/features 
hawtio=mvn:io.hawt/hawtio-karaf/LATEST/xml/features 
pax-cdi=mvn:org.ops4j.pax.cdi/pax-cdi-features/LATEST/xml/features 
pax-jdbc=mvn:org.ops4j.pax.jdbc/pax-jdbc-features/LATEST/xml/features
ecf=http://download.eclipse.org/rt/ecf/latest/site.p2/karaf-features.xml [12] 
karaf.systemBundlesStartLevel=50 Thanks for any help that can be given, David 
Daniel -- Charlie Mordant Full OSGI/EE stack made with Karaf: 
https://github.com/OsgiliathEnterprise/net.osgiliath.parent [13]
 

Links:
------
[1]
http://repo.maven.apache.org/maven2/org/apache/karaf/apache-karaf/4.0.0/apache-karaf-4.0.0.tar.gz
[2]
http://repo.maven.apache.org/maven2/org/apache/felix/org.apache.felix.framework/5.0.1/org.apache.felix.framework-5.0.1.jar
[3] http://repo1.maven.org/maven2@id=central
[4]
http://repository.springsource.com/maven/bundles/release@id=spring.ebr.release
[5]
http://repository.springsource.com/maven/bundles/external@id=spring.ebr.external
[6] http://zodiac.springsource.com/maven/bundles/release@id=gemini
[7]
http://repository.apache.org/content/groups/snapshots-group@id=apache@snapshots@noreleases
[8]
https://oss.sonatype.org/content/repositories/snapshots@id=sonatype.snapshots.deploy@snapshots@noreleases
[9]
https://oss.sonatype.org/content/repositories/ops4j-snapshots@id=ops4j.sonatype.snapshots.deploy@snapshots@noreleases
[10]
http://repository.springsource.com/maven/bundles/external@id=spring-ebr-repository@snapshots@noreleases
[11]
http://artifactory.orbistechnologies.com/artifactory/repo@id=swlocal@snapshots
[12]
http://download.eclipse.org/rt/ecf/latest/site.p2/karaf-features.xml
[13] https://github.com/OsgiliathEnterprise/net.osgiliath.parent

Reply via email to