Skip to main content

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

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(EquinoxResolver.java:244)
> 	at org.eclipse.tycho.core.osgitools.EquinoxResolver.newState(EquinoxResolver.java:156)
> 	at org.eclipse.tycho.core.osgitools.EquinoxResolver.newResolvedState(EquinoxResolver.java:64)
> 	at org.eclipse.tycho.core.osgitools.OsgiBundleProject.getResolverState(OsgiBundleProject.java:250)
> 	at org.eclipse.tycho.core.osgitools.OsgiBundleProject.resolveClassPath(OsgiBundleProject.java:158)
> 	at org.eclipse.tycho.core.resolver.DefaultTychoDependencyResolver.resolveProject(DefaultTychoDependencyResolver.java:122)
> 	at org.eclipse.tycho.core.maven.TychoMavenLifecycleParticipant.afterProjectsRead(TychoMavenLifecycleParticipant.java:82)
> 	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:273)
> 	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)

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?

Regards,

Andreas

[1] <https://repo.eclipse.org/content/repositories/recommenders-snapshots/>
[2]
<https://repo.eclipse.org/content/repositories/recommenders-snapshots/org/eclipse/recommenders/org.eclipse.recommenders.rcp/1.100.0-SNAPSHOT/>

-- 
Codetrails UG (haftungsbeschränkt)
The knowledge transfer company

Robert-Bosch-Str. 7, 64293 Darmstadt
Mobile: +49-170-811-3791
http://www.codetrails.com/

Managing Director: Dr. Marcel Bruch
Handelsregister: Darmstadt HRB 91940


Back to the top