Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [orbit-dev] stable photon build

I fail to build the orbit p2 repository locally for
https://git.eclipse.org/r/#/c/115366/
on Mac OS

I follow 
https://git.eclipse.org/r/plugins/gitiles/orbit/orbit-recipes/+/refs/heads/master/README.md
using Java 1.8.0_151 and Maven 3.5.2.

But something goes wrong with mirroring:

$ mvn clean install -DdirtyWorkingTree=ignore
succeeds

$ mvn clean install -f releng/aggregationfeature/pom.xml
succeeds

but building the p2 repository fails:

$ mvn clean package -f releng/repository/pom.xml
[INFO] Scanning for projects...
[INFO] Computing target platform for MavenProject: org.eclipse.orbit.bundles:orbit-bundles-p2-repository:1.0.0-SNAPSHOT @ /Users/d029788/src/git/orbit-recipes/releng/repository/pom.xml
[INFO] Resolving dependencies of MavenProject: org.eclipse.orbit.bundles:orbit-bundles-p2-repository:1.0.0-SNAPSHOT @ /Users/d029788/src/git/orbit-recipes/releng/repository/pom.xml
[WARNING] The following locally built units have been used to resolve project dependencies:
[WARNING]   org.glassfish.jersey.containers.servlet.core.source/2.22.1.v20161103-0227
...
0117-0227.google 1.0.0.9l8-YnbqwcKW6--EKVTl9DvQ_UN4pKr to com.google.code.atinject.tck [1.1.0.v20160901-1938].; Unable to satisfy dependency from v20180117-0227.json 1.0.0.7Z9Q7QcLWSM-ED-z0Um5gopvEwt3D to com.fasterxml.jackson.jaxrs.jackson-jaxrs-json-provider.source [2.6.2.v20161117-2150].; Unable to satisfy dependency from v20180117-0227.json 1.0.0.7Z9Q7QcLWSM-ED-z0Um5gopvEwt3D to com.fasterxml.jackson.jaxrs.jackson-jaxrs-json-provider [2.6.2.v20161117-2150].]
[WARNING] Mirror tool: Messages while mirroring artifact descriptors.: [I/O exception while reading artifact canonical: osgi.bundle,org.eclipse.osgi.services,3.7.0.v20171204-1916]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 15.640 s
[INFO] Finished at: 2018-01-17T22:10:39+01:00
[INFO] Final Memory: 43M/297M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.eclipse.tycho:tycho-p2-repository-plugin:0.26.0:assemble-repository (default-assemble-repository) on project orbit-bundles-p2-repository: Could not assemble p2 repository: Mirroring failed: Messages while mirroring artifact descriptors.: [I/O exception while reading artifact canonical: osgi.bundle,org.eclipse.osgi.services,3.7.0.v20171204-1916]: /Users/d029788/.m2/repository/p2/osgi/bundle/org.eclipse.osgi.services/3.7.0.v20171204-1916/org.eclipse.osgi.services-3.7.0.v20171204-1916.jar (No such file or directory) -> [Help 1]

I have no bundle org.eclipse.osgi.services under
/Users/d029788/.m2/repository/p2/osgi/bundle/

could that be caused by some missing dependency ?

-Matthias



On Tue, Jan 16, 2018 at 6:53 PM, Roland Grunberg <rgrunber@xxxxxxxxxx> wrote:
On Tue, 2018-01-16 at 18:23 +0100, Matthias Sohn wrote:
> Thanks
>
> If the CQ gets approved I'd like to also
> include commons-compress 1.15 https://git.eclipse.org/r/#/c/115366/

Sure, might be worth looking at whether we can get rid of commons-
compress 1.6 but might also be too many packages depending on it.

I've promoted http://download.eclipse.org/tools/orbit/downloads/drops/I20180116173559/
( http://download.eclipse.org/tools/orbit/downloads/drops/I20180116173559/repository )
which should contain gson 2.8.2.

Cheers,
--
Roland Grunberg
_______________________________________________
orbit-dev mailing list
orbit-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/orbit-dev


Back to the top