Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] IllegalArgumentException: bundleLocation not found

Do you use P2 repositories, Maven ones or a mix of both ?
Did you declare your remote Maven repo as snapshots aware ?


On Fri, Aug 30, 2013 at 9:27 AM, Andreas Sewe <andreas.sewe@xxxxxxxxxxxxxx> wrote:
Hi all,

when building against an empty local repository I get (using Tycho
0.18.1) the following IllegalArgumentException (bundleLocation not
found) despite the fact that each project POM declares a remote
repository [1] that as far as I can see contains all required bundles.

> Caused by: java.lang.IllegalArgumentException: bundleLocation not found: /Users/sewe/.m2/repository/org/eclipse/recommenders/org.eclipse.recommenders.rcp/1.100.0-SNAPSHOT/org.eclipse.recommenders.rcp-1.100.0-SNAPSHOT.jar
>       at org.eclipse.tycho.core.osgitools.EquinoxResolver.loadManifest(
>       at org.eclipse.tycho.core.osgitools.EquinoxResolver.newState(
>       at org.eclipse.tycho.core.osgitools.EquinoxResolver.newResolvedState(
>       at org.eclipse.tycho.core.osgitools.OsgiBundleProject.getResolverState(
>       at org.eclipse.tycho.core.osgitools.OsgiBundleProject.resolveClassPath(
>       at org.eclipse.tycho.core.resolver.DefaultTychoDependencyResolver.resolveProject(
>       at org.eclipse.tycho.core.maven.TychoMavenLifecycleParticipant.afterProjectsRead(
>       at org.apache.maven.DefaultMaven.doExecute(
>       at org.apache.maven.DefaultMaven.execute(

Maybe I am misunderstanding what the EquinoxResolver wants to tell me
here, but Tycho doesn't download the artifact in question
(org.eclipse.recommenders.rcp-1.100.0-SNAPSHOT.jar) even though it is
contained in the remote repo [2]. Only if I manually install the
artifact into the local repository does the build go through. Any idea
what the problem might be?



[1] <>

Codetrails UG (haftungsbeschränkt)
The knowledge transfer company

Robert-Bosch-Str. 7, 64293 Darmstadt
Mobile: +49-170-811-3791

Managing Director: Dr. Marcel Bruch
Handelsregister: Darmstadt HRB 91940
tycho-user mailing list


"Legacy code" often differs from its suggested alternative by actually working and scaling.
 - Bjarne Stroustrup

Back to the top