Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Buckminster » Problem resolving maven2 bundle
Problem resolving maven2 bundle [message #1710814] Fri, 09 October 2015 13:46 Go to next message
thomas huster is currently offline thomas husterFriend
Messages: 21
Registered: June 2012
Junior Member
I am trying to resolve liquibase-osgi from maven cetral repository. I got my rmap configured
	<rm:searchPath name="maven-central">
		<rm:provider xsi:type="mp:MavenProvider" componentTypes="maven" readerType="maven2" source="false" mutable="false">
			<rm:uri format="http://central.maven.org/maven2/" />
			<mp:mappings>
				<mp:entry name="liquibase-osgi" artifactId="liquibase-osgi" groupId="org.liquibase"/>
		    </mp:mappings>
		    <mp:scopes>
				<mp:scope name="test" exclude="true"/>
				<mp:scope name="compile" exclude="true"/>
			</mp:scopes>
		</rm:provider>
	</rm:searchPath>

and in the cspec i try to include the bundle.
<cs:dependency name="liquibase-osgi" componentType="maven"/>

But when i try to resolve and materialize i get the following error.
ERROR   [0002] : java.io.FileNotFoundException: File not found: http://central.maven.org/maven2/org/liquibase/liquibase-osgi/3.4.1/liquibase-osgi-3.4.1.bundle
Errors and Warnings
E [0002] : java.io.FileNotFoundException: File not found: http://central.maven.org/maven2/org/liquibase/liquibase-osgi/3.4.1/liquibase-osgi-3.4.1.bundle: File not found: http://central.maven.org/maven2/org/liquibase/liquibase-osgi/3.4.1/liquibase-osgi-3.4.1.bundle

Any hints on why it is looking for a file with .bundle extension?

Regards,
Thomas
Re: Problem resolving maven2 bundle [message #1717363 is a reply to message #1710814] Sat, 12 December 2015 06:34 Go to previous message
hiep lq is currently offline hiep lqFriend
Messages: 6
Registered: December 2015
Junior Member
by download liquibase-osgi from maven, and look at Bundle-SymbolicName in manifest.mf. it's "org.liquibase.osgi"
so maybe try to change "<mp:entry name="liquibase-osgi" become "<mp:entry name="org.liquibase.osgi".

Previous Topic:Buckminster can't resolve imports from Google Guava (Xtend)
Next Topic:how to change location of just some file in p2 repository when materialize?
Goto Forum:
  


Current Time: Sat Apr 27 04:59:22 GMT 2024

Powered by FUDForum. Page generated in 0.03487 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top