Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Buckminster dev » buckminster 4.5 can't materialize maven
buckminster 4.5 can't materialize maven [message #1716917] Wed, 09 December 2015 02:53 Go to next message
hiep lq is currently offline hiep lqFriend
Messages: 6
Registered: December 2015
Junior Member
Hi everyone.
does anyone can confirm to me, buckminster headless 4.5 (or buckminster 4.5 in mars) can success materialize maven?

i still run well with buckminster 4.4. but can't with 4.5. error at end.
i use mint 17.x

maven provide like that:
<rm:searchPath name="bundles.maven">
        <rm:provider xsi:type="maven:MavenProvider" componentTypes="osgi.bundle" readerType="maven2">
            <rm:property key="buckminster.source" value="false" />
            <rm:property key="buckminster.mutable" value="false" />
            <rm:uri format="xxxx:##central.maven.org/maven2" />
            <maven:mappings>
                <maven:entry groupId="org.mortbay.jasper" artifactId="apache-jsp" name="org.mortbay.jasper.apache-jsp" />
                <maven:entry groupId="org.mortbay.jasper" artifactId="apache-el" name="org.mortbay.jasper.apache-el" />
                <maven:entry groupId="org.eclipse.jetty" artifactId="apache-jsp" name="org.eclipse.jetty.apache-jsp" />
            .
            .
            .
            </maven:mappings>
        </rm:provider>
    </rm:searchPath>


error log like that

Quote:

!ENTRY org.eclipse.buckminster.core 0 293 2015-12-09 09:31:30.912
!MESSAGE bcprov:osgi.bundle/1.53.0: No provider was found that could resolve the request
bcprov:osgi.bundle/1.53.0: No provider was found that could resolve the request

!ENTRY org.eclipse.buckminster.core 4 293 2015-12-09 09:31:30.913
!MESSAGE ERROR [0185] : No suitable provider for component bcprov:osgi.bundle/1.53.0 was found in resourceMap file:/mnt/data/dev/project/me/repository/idempiere-hsv-group-new/vn.hsv.idempiere.bundles/vn.hsv.feature.idempiere.sdk/adempiere.rmap
ERROR [0185] : No suitable provider for component bcprov:osgi.bundle/1.53.0 was found in searchPath bundles.maven
ERROR [0185] : Resolution attempt ended with exception: Provider maven2(xxxx:##central.maven.org/maven2): Missing CSpec source required by component type osgi.bundle
ERROR Provider maven2(xxxx://central.maven.org/maven2): Missing CSpec source required by component type osgi.bundleorg.eclipse.buckminster.core.ctype.MissingCSpecSourceException: Provider maven2(xxxx:##central.maven.org/maven2): Missing CSpec source required by component type osgi.bundle
at org.eclipse.buckminster.pde.cspecgen.bundle.BundleBuilder.parsePluginModelBase(BundleBuilder.java:243)
at org.eclipse.buckminster.pde.cspecgen.bundle.BundleBuilder.parseFile(BundleBuilder.java:270)
at org.eclipse.buckminster.pde.cspecgen.PDEBuilder.build(PDEBuilder.java:70)
at org.eclipse.buckminster.core.ctype.AbstractComponentType.getResolution(AbstractComponentType.java:319)
at org.eclipse.buckminster.core.ctype.AbstractComponentType.getResolution(AbstractComponentType.java:201)
at org.eclipse.buckminster.core.rmap.model.ResourceMap.resolve(ResourceMap.java:340)
at org.eclipse.buckminster.core.rmap.model.ResourceMap.resolve(ResourceMap.java:252)
at org.eclipse.buckminster.core.resolver.ResourceMapResolver.innerResolve(ResourceMapResolver.java:218)
at org.eclipse.buckminster.core.resolver.ResolverNodeWithJob.resolve(ResolverNodeWithJob.java:217)
at org.eclipse.buckminster.core.resolver.ResolverNodeWithJob.run(ResolverNodeWithJob.java:102)
at org.eclipse.buckminster.core.resolver.ResolverNodeWithJob$NodeResolutionJob.run(ResolverNodeWithJob.java:47)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

ERROR [0185] : No suitable provider for component bcprov:osgi.bundle/1.53.0 was found in resourceMap file:/mnt/data/dev/project/me/repository/idempiere-hsv-group-new/vn.hsv.idempiere.bundles/vn.hsv.feature.idempiere.sdk/adempiere.rmap
ERROR [0185] : No suitable provider for component bcprov:osgi.bundle/1.53.0 was found in searchPath bundles.maven
ERROR [0185] : Resolution attempt ended with exception: Provider maven2(xxxx:##central.maven.org/maven2): Missing CSpec source required by component type osgi.bundle
ERROR Provider maven2(xxxx://central.maven.org/maven2): Missing CSpec source required by component type osgi.bundleorg.eclipse.buckminster.core.ctype.MissingCSpecSourceException: Provider maven2(xxxx:##central.maven.org/maven2): Missing CSpec source required by component type osgi.bundle
at org.eclipse.buckminster.pde.cspecgen.bundle.BundleBuilder.parsePluginModelBase(BundleBuilder.java:243)
at org.eclipse.buckminster.pde.cspecgen.bundle.BundleBuilder.parseFile(BundleBuilder.java:270)
at org.eclipse.buckminster.pde.cspecgen.PDEBuilder.build(PDEBuilder.java:70)
at org.eclipse.buckminster.core.ctype.AbstractComponentType.getResolution(AbstractComponentType.java:319)
at org.eclipse.buckminster.core.ctype.AbstractComponentType.getResolution(AbstractComponentType.java:201)
at org.eclipse.buckminster.core.rmap.model.ResourceMap.resolve(ResourceMap.java:340)
at org.eclipse.buckminster.core.rmap.model.ResourceMap.resolve(ResourceMap.java:252)
at org.eclipse.buckminster.core.resolver.ResourceMapResolver.innerResolve(ResourceMapResolver.java:218)
at org.eclipse.buckminster.core.resolver.ResolverNodeWithJob.resolve(ResolverNodeWithJob.java:217)
at org.eclipse.buckminster.core.resolver.ResolverNodeWithJob.run(ResolverNodeWithJob.java:102)
at org.eclipse.buckminster.core.resolver.ResolverNodeWithJob$NodeResolutionJob.run(ResolverNodeWithJob.java:47)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

Re: buckminster 4.5 can't materialize maven [message #1740463 is a reply to message #1716917] Sat, 13 August 2016 18:03 Go to previous message
hiep lq is currently offline hiep lqFriend
Messages: 6
Registered: December 2015
Junior Member
by debug i catch bellow logic, it give issue to maven.

class org.eclipse.buckminster.pde.cspecgen.bundle.BundleBuilder
line 104 always return null

model.load(bld.getInputStream(), true);
return null;


this code is ok, it here for long time ago.

but new code add at commit 3ced2949599e81dc4ef9cbac4ca261d1f3fd9208
change class org.eclipse.buckminster.core.reader.ZipArchiveReader, function innerReadFile like bellow

                                while ((ze = zi.getNextEntry()) != null)
				if (ze.getName().equals(fileName)) {
					result = consumer.consumeStream(this, fileName, zi, new NullProgressMonitor());
					break;
				}
			if (result == null)
				throw new FileNotFoundException(fileName);


so FileNotFoundException always fire when use maven. let issue description at #1
Previous Topic:Buckminster download for Eclipse Neon (4.6.x)?
Next Topic:news.eclipse.org is shutting down.
Goto Forum:
  


Current Time: Wed Sep 26 07:22:45 GMT 2018

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

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

Back to the top