2009/4/27 itripleeee <[email protected]> > > well, I'm behind a proxy, which may cause problems. I tried to change > manually everything from SNAPSHOT to release, but it seems not to have an > end. I think it's better, when I try it at home, where I do not have a > proxy. I'm going to post here tomorrow, if it did work, but thanks for your > help guys. >
yep, if your proxy only allows access to the central Maven repository then you won't be able to access the Apache snapshot repository at: http://people.apache.org/repo/m2-snapshot-repository I think most sub-projects should probably move to depend on released versions where possible (any volunteers to look into this?) but there are a few sub-projects that haven't had an initial release, so there are only snapshots available - for those dependencies you'd need the snapshot repository if your company uses a Maven repository manager (like Nexus/Archiva) then you could configure that to pull in snapshots from the Apache URL mentioned above... clement escoffier wrote: > > > > > > On 27.04.2009, at 17:30, Stuart McCulloch wrote: > > > >> 2009/4/27 itripleeee <[email protected]> > >> > >>> > >>> 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 > >>> > >> > >> some subprojects may still depend on snapshots, but those should be > >> downloaded from the Apache snapshot repository, which is configured > >> in the parent pom > >> > >> ( at least that's what happened last time I rebuilt from scratch ) > >> > >> it sounds like you might have an intermittent network connection and > >> that's causing corrupted artifacts in your local maven repository - > >> you > >> might want to try Maven 2.1.0 which has improved download support > >> > >> I have some urgent tasks to finish up, but I'll try rebuilding from > >> scratch > >> in case there are any missing artifacts - note that the error from > >> maven > >> will show you the path from the sub-project to the unavailable > >> artifact, > >> you just have to read all of the error message... > > > > I just tried to rebuild from scratch (empty repository). I don't have > > any issue. > > So, it can come from your Internet connection, as said by Stuart. > > > > Clement > > > > > >> > >> > >> > >>> 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] > >>> > >>> > >> > >> > >> -- > >> Cheers, Stuart > > > > > > --------------------------------------------------------------------- > > 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-tp23255846p23259505.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] > > -- Cheers, Stuart

