Compatibility issue with Tycho 2.7.3 Upgrade

167 views
Skip to first unread message

hengsin

unread,
Jun 1, 2022, 9:28:27 PM6/1/22
to iDempiere
Hi All,

The master branch (i.e iDempiere 10) have been upgraded to Tycho 2.7.3 and there's a backward compatibility issue with prior Tycho version (that's all existing iDempiere version):


There are 3 possible solution:
1. Use different local maven repository for source using Tycho 2.6 and below (see https://stackoverflow.com/questions/6823462/specifying-mavens-local-repository-location-as-a-cli-parameter).
2. Remove ~/.m2/repository/.meta/p2-artifacts.properties prior to running maven build for source using Tycho 2.6 and below (i.e rm ~/.m2/repository/.meta/p2-artifacts.properties && mvn verify),
3. Upgrade your other source to Tycho 2.7.3 as well. I've attached an example patch for iDempiere 9 source here as reference.

Regards,
Low

Regards,
Low
5301_release-9.patch.txt

Carlos Antonio Ruiz Gomez

unread,
Jun 2, 2022, 4:58:44 AM6/2/22
to idem...@googlegroups.com
Thanks Heng Sin!!

Also to note for all developers, please use eclipse 2022-03 from now on.

I'm planning to integrate the patch in release-9 next week to avoid this
issue between master and release-9.

However, the tips are still useful for compiling with mvn old releases
(f.e. 8.2 or 7.1)

For me the easiest was the 2nd tip from Heng Sin, removing that file
when compiling with mvn an old release worked fine.

Regards,

Carlos Ruiz



El 2/6/22 a las 3:28, hengsin escribió:
Reply all
Reply to author
Forward
0 new messages