Open fernandor777 opened 5 years ago
Running full build I got this summary:
Reactor Summary:
[INFO]
[INFO] Parent for all HALE plug-in projects ............... SUCCESS [ 0.320 s]
[INFO] it.geosolutions.hale.doc.appschema ................. SUCCESS [ 0.857 s]
[INFO] it.geosolutions.hale.doc.appschema.feature ......... SUCCESS [ 0.166 s]
[INFO] it.geosolutions.hale.io.appschema.model.jaxb ....... SUCCESS [ 3.015 s]
[INFO] it.geosolutions.hale.io.appschema .................. SUCCESS [ 1.206 s]
[INFO] it.geosolutions.hale.io.appschema.ui ............... SUCCESS [ 0.779 s]
[INFO] it.geosolutions.hale.io.appschema.feature .......... SUCCESS [ 0.063 s]
[INFO] it.geosolutions.hale.io.appschema.test ............. SUCCESS [ 0.389 s]
[INFO] it.geosolutions.hale.io.appschema.test.product ..... FAILURE [ 9.848 s]
[INFO] it.geosolutions.hale.appschema.site ................ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 54.114 s
[INFO] Finished at: 2019-04-10T11:06:50-04:00
[INFO] Final Memory: 86M/1008M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.eclipse.tycho:tycho-p2-director-plugin:0.25.0:materialize-products (materialize-products) on project it.geosolutions.hale.io.appschema.test.product: Installation of product it.geosolutions.hale.appschema.tests for environment linux/gtk/x86_64 failed: Call to p2 director application failed with exit code 13. Program arguments were: [-metadataRepository, file:/home/fernando/Documents/hale/hale-appschema-plugin/io/plugins/it.geosolutions.hale.io.appschema.test.product/target/,file:/home/fernando/Documents/hale/hale-appschema-plugin/io/plugins/it.geosolutions.hale.io.appschema.test.product/target/targetPlatformRepository/, -artifactRepository, file:/home/fernando/Documents/hale/hale-appschema-plugin/io/plugins/it.geosolutions.hale.io.appschema.test.product/target/,file:/resolution-context-artifacts@/home/fernando/Documents/hale/hale-appschema-plugin/io/plugins/it.geosolutions.hale.io.appschema.test.product,file:/home/fernando/Documents/hale/hale-appschema-plugin/io/plugins/it.geosolutions.hale.io.appschema.test.product/target/,file:/home/fernando/Documents/hale/hale-appschema-plugin/io/plugins/it.geosolutions.hale.io.appschema/target/,file:/home/fernando/Documents/hale/hale-appschema-plugin/io/plugins/it.geosolutions.hale.io.appschema.model.jaxb/target/,file:/home/fernando/Documents/hale/hale-appschema-plugin/io/plugins/it.geosolutions.hale.io.appschema.test/target/,file:/home/fernando/.m2/repository/, -installIU, it.geosolutions.hale.appschema.tests, -destination, /home/fernando/Documents/hale/hale-appschema-plugin/io/plugins/it.geosolutions.hale.io.appschema.test.product/target/products/it.geosolutions.hale.appschema.tests/linux/gtk/x86_64, -profile, DefaultProfile, -profileProperties, org.eclipse.update.install.features=true, -roaming, -p2.os, linux, -p2.ws, gtk, -p2.arch, x86_64]. -> [Help 1]
Digging into failure detail we got this dependency error:
[INFO] --- tycho-p2-repository-plugin:0.25.0:assemble-repository (default-assemble-repository) @ it.geosolutions.hale.io.appschema.test.product ---
[WARNING] Mirror tool: Problems resolving provisioning plan.: [Unable to satisfy dependency from toolinggtk.linux.x86_64org.springframework.aop 3.5.0.SNAPSHOT to bundle org.springframework.aop 3.1.1.RELEASE-i20150413.; Unable to satisfy dependency from toolinggtk.linux.x86_64org.springframework.aop 3.5.0.SNAPSHOT to bundle org.springframework.aop 3.1.1.RELEASE-i20150413.]
[WARNING] More information on the preceding warning(s) can be found here:
[WARNING] - http://wiki.eclipse.org/Tycho_Messages_Explained#Mirror_tool
As side note compiling all modules except "appschema.test.product" works and site module exports the dropins distribution bundle successfully.
Seems like the root problem is this unsatisfied dependency:
requires 'bundle org.springframework.aop 3.1.1.RELEASE-i20150413' but it could not be found
So where come from such "org.springframework.aop 3.1.1.RELEASE-i20150413" strange spring aop version?
Building with debug options was located folder "/home/fernando/Documents/hale/hale-appschema-plugin/io/plugins/it.geosolutions.hale.io.appschema.test.product/target/repository/plugins/" which contains matching version of spring components but doesn't have aop module (only, core, beans and context).
Seems like build is fixed adding this line to "plugins" xml element into file "t.geosolutions.hale.io.appschema.test.product/AppSchemaTests.product"
<plugin id="org.springframework.aop"/>
I am moving this issue to the inspire-issues repository.
I would suggest to use that one from now on for app-schema generic issues. I might decide to rename it to app-schema issues rather than inspire issues.
I need a description of what the problem is and what you intend to do to fix it.