Thanks for your answer. But it did not work. The file was corrupted so I
deleted it and downloaded it manually. But the problem still is not solved.
felix is using Dependencies to Snapshot-Artifacts, which do not exist. Like 
1) org.apache.felix:org.apache.felix.shell:jar:1.1.0-SNAPSHOT
2) org.apache.felix:org.apache.felix.bundlerepository:jar:1.1.0-SNAPSHOT
3) org.apache.felix:org.osgi.compendium:jar:1.1.0-SNAPSHOT

I replaced the Versions in the pomx, where 1 and 2 are used with version
1.2.0, but in 3, I could not find out, where it is used. And even if I find
it, there could be more SNAPSHOTS, which cannot be found by maven. Did you
not have the same problem?



clement escoffier wrote:
> 
> Hi,
> 
> I don't get the error.
> Can you try to:
> -delete bndlib from your local maven repo (in .m2/repository/biz/aQute)
> - compile the trunk with mvn clean install -Dpackaging=plugins
> -Check that you download bnd, so you should see something like:
> Downloading:
> http://repo1.maven.org/maven2/biz/aQute/bndlib/0.0.311/bndlib-0.0.311.pom
> 864b downloaded  (bndlib-0.0.311.pom)
> Downloading:
> http://repo1.maven.org/maven2/biz/aQute/bndlib/0.0.311/bndlib-0.0.311.jar
> 150K downloaded  (bndlib-0.0.311.jar)
> 
> Regards,
> 
> Clement
> 
> 
> On 27.04.2009, at 15:05, itripleeee wrote:
> 
>>
>> I wanted to build felix, so I downloaded the sources and followed the
>> instruction here: http://felix.apache.org/site/building-felix.html
>>
>> When I run the command "mvn -Dpackaging=plugins install"
>>
>> D:\Test\felix\bundleplugin\src\main\java\org\apache\felix 
>> \bundleplugin\AbstractDependencyFilter.java:[53,22]
>> cannot find symbol
>> symbol  : class Instruction
>> location: class
>> org 
>> .apache.felix.bundleplugin.AbstractDependencyFilter.DependencyFilter
>>
>> and a lot of Erros looking like this.
>>
>> And after that, when I run the command "mvn -Dpackaging=bundle  
>> install" I
>> get the followeing error message
>> [INFO] Internal error in the plugin manager executing goal
>> 'org.apache.felix:mav
>> en-bundle-plugin:1.4.3:bundle': Unable to load the mojo
>> 'org.apache.felix:maven-
>> bundle-plugin:1.4.3:bundle' in the plugin
>> 'org.apache.felix:maven-bundle-plugin'
>> . A required class is missing: aQute/lib/osgi/Resource
>>
>> What I'm doing wrong? I could not find an error msg like this in  
>> google or
>> here. May some please explain me, why the build does not work? Thanks.
>> -- 
>> View this message in context:
>> http://www.nabble.com/Felix-Build-Error---Unable-to-load-the-mojo-org.apache.felix%3Amaven-bundle-plugin%3A1.4.3%3Abundle-tp23255846p23255846.html
>> Sent from the Apache Felix - Users mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Felix-Build-Error---Unable-to-load-the-mojo-org.apache.felix%3Amaven-bundle-plugin%3A1.4.3%3Abundle-tp23255846p23258672.html
Sent from the Apache Felix - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to