Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[tycho-user] Switching from Tycho 1.6 -> 1.7: Missing Constraint: Bundle-RequiredExecutionEnvironment: JavaSE-11
  • From: <Robert.Hilbrich@xxxxxx>
  • Date: Sat, 20 Jun 2020 13:33:14 +0000
  • Accept-language: de-DE, en-US
  • Delivered-to: tycho-user@xxxxxxxxxxx
  • Ironport-phdr: 9a23:nYe9mhU4Ra+KXptD8vL4ti/94SrV8LGtZVwlr6E/grcLSJyIuqrYbB2At8tkgFKBZ4jH8fUM07OQ7/m9HzVfsd3d6TgrS99lb1c9k8IYnggtUoauKHbQC7rUVRE8B9lIT1R//nu2YgB/Ecf6YEDO8DXptWZBUhrwOhBoKevrB4Xck9q41/yo+53Ufg5EmCexbal9IRmrrQjdrNQajIlhJ6o+xRbFv2ZDdvhLy29vOV+dhQv36N2q/J5k/SRQuvYh+NBFXK7nYak2TqFWASo/PWwt68LlqRfMTQ2U5nsBSWoWiQZHAxLE7B7hQJj8tDbxu/dn1ymbOc32Sq00WSin4qx2RhLklDsLOjgk+2zRl8d+jr9UoAi5qhJ/3YDafZ2VOvR9cK3afNMVWWVPUclKWixdGYy8apcDD+odMetaqYT2ulsArQG5BQmpHO7izSNGhnjt0qIkyeQhDRvK0g4hH9IKq3vUttT1O7sSUe2u0abIyS/DY+lL1jjj8YXFdA0qrv6QU7xqa8XR1VUvGB3fjlWWsYHrPzKY2/oDvWaV8eZuW/yjh3Akpg1svjWhxschhIbJi48Wyl3I6Ct0zYc1K9C6VkN2fN+pHIVMuyyGK4Z7Q8cvTmd1syg0zb0GvIS0fCkMyJk/yB7fauCHc4iV4h34TuqePTB4hHd9dL2hmxmy9UmgyvXnVsaqylpKqTBFktbKu3sQ1BLT8tCKRuZh8ku7xDqC1A/e5vtZLU06lqfXMYAtzqMompYOs0nPADX6lFvrgKOMa0kp+Oml5/76brjgu5SSLZV7ihvkPaQrgsG/BOM4PRUQUGWD4uS80aHj/VX+QLVXkv06iqnZv47eJcQcvqO3DQlb3Igs5Ri/Dzmo19cWk34dIl5bZR6JgInmNk/ULPD5C/e/n06sny1xy//bOr3hGI/BIWXdn7v5fLZ97VBTyBYrwNxC+55YEKwNLfH8V0PrqdDVABw0Pxaqz+r6ENl905kRWWOLAq+XKqPStlqI6/ozLemLf4Aapiz9K+Q/6/DsjH85nUQSfbOo3ZQLaHC1BelpI0GDYXb2n9gOD38GvhAiQ+zylF2CTTlTam6uX6M8+j47CIWmAZ7eRoC2nrOBxjy2EYNKaWBCC1CMCWzoeJueV/cLciKSLZwprjtRAaSwQI8mkAy1uRXSxrFjL/LP92sfr521h/Zv4OiGwSs1/zFuE4K90mWHVWB/nksEQyVw0K0p8h818UuKzaUt268QLtdU/f4cCgo=
  • Ironport-sdr: NYo8E2kva1cOGpfgyC+cZGY/LKJqwb7u30XpgS560ESLDNTrxk4Cp5mXm9OePbxXxoPZ8CR2vu hadnRtoykhnQ==
  • List-archive: <https://www.eclipse.org/mailman/private/tycho-user>
  • List-help: <mailto:tycho-user-request@eclipse.org?subject=help>
  • List-subscribe: <https://www.eclipse.org/mailman/listinfo/tycho-user>, <mailto:tycho-user-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://www.eclipse.org/mailman/options/tycho-user>, <mailto:tycho-user-request@eclipse.org?subject=unsubscribe>
  • Thread-index: AQHWRwdZCiM6elDedE2ZxZEB5VlfWA==
  • Thread-topic: Switching from Tycho 1.6 -> 1.7: Missing Constraint: Bundle-RequiredExecutionEnvironment: JavaSE-11

Hi,
I am working on a small E4 RCP application called BlackAnt (see: https://www.github.com/roberthilbrich/blackant). I was using tycho 1.6 and `mvn verify` worked just fine.

[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  26.191 s
[INFO] Finished at: 2020-06-20T15:25:23+02:00
[INFO] ------------------------------------------------------------------------

In my releng pom file (https://github.com/RobertHilbrich/blackant/blob/master/ch.hilbri.blackant.releng/pom.xml) I changed the tycho version from 1.6 to 1.7. Suddenly my build breaks:

[robert:...t/ch.hilbri.blackant.releng] $ mvn verify                                                                                                                                                                       
[INFO] Scanning for projects...
[INFO] Computing target platform for MavenProject: blackant:ch.hilbri.blackant.gui:2.1.0-SNAPSHOT @ /Users/robert/Git-Repositories/BlackAnt/ch.hilbri.blackant.gui/pom.xml
[INFO] Fetching p2.index from http://download.eclipse.org/releases/2020-03/
[INFO] Adding repository http://download.eclipse.org/releases/2020-03
[INFO] Fetching p2.index from http://download.eclipse.org/technology/epp/packages/2020-03/
[INFO] Fetching p2.index from http://download.eclipse.org/releases/2020-03/202003181000/
[INFO] Fetching p2.index from https://download.eclipse.org/tools/orbit/downloads/drops/R20200224183213/repository/
[INFO] Adding repository https://download.eclipse.org/tools/orbit/downloads/drops/R20200224183213/repository
[INFO] Fetching p2.index from https://download.eclipse.org/tools/orbit/downloads/drops2/R20200224183213/repository/
[INFO] Resolving dependencies of MavenProject: blackant:ch.hilbri.blackant.gui:2.1.0-SNAPSHOT @ /Users/robert/Git-Repositories/BlackAnt/ch.hilbri.blackant.gui/pom.xml
[INFO] Resolving class path of MavenProject: blackant:ch.hilbri.blackant.gui:2.1.0-SNAPSHOT @ /Users/robert/Git-Repositories/BlackAnt/ch.hilbri.blackant.gui/pom.xml
[ERROR] Internal error: java.lang.RuntimeException: org.osgi.framework.BundleException: Bundle ch.hilbri.blackant.gui cannot be resolved
[ERROR] Resolution errors:
[ERROR]    Bundle ch.hilbri.blackant.gui - Missing Constraint: Bundle-RequiredExecutionEnvironment: JavaSE-11
[ERROR] -> [Help 1]
org.apache.maven.InternalErrorException: Internal error: java.lang.RuntimeException: org.osgi.framework.BundleException: Bundle ch.hilbri.blackant.gui cannot be resolved
Resolution errors:
   Bundle ch.hilbri.blackant.gui - Missing Constraint: Bundle-RequiredExecutionEnvironment: JavaSE-11
….

Is there something I missed in the release of tycho 1.7? Is there something wrong on my end? I appreciate any pointers …

Best,
Robert

Back to the top