Mentions légales du service

Skip to content

Setup pom first version of the jars to be used as plain maven

Reorganised pom in 2 sets:

  • previous jars (built with tycho) now use groupId = fr.irisa.atsyra.bundle with a dedicated parent/root in /tycho.root/pom.xml

  • a new set of jars indended to be used with maven dependencies is defined in pomfirst. These jar use groupId = fr.irisa.atsyra

    • versions of dependencies are managed via the bom (Bill Of Materials) (cf. pomfirst/fr.irisa.atsyra.bom)
    • when possible, these jars reproduce the dependencies and rebuild from the sources by copying them from the eclipse/plugins folder (ensuring that the dependencies effectively allow to recompile them
    • when not possible to get a correct version from maven central of a dependency, the pomfirst/thirdparty allows to recreate the dependencies from a binary jar.
  • Adapted CI to build both tycho and pomfirst

  • Added deployment in gitlab registry of the project of the pomfirst jars

    • triggered using a tag with the following format /^v\d+.\d+.\d+-?.*$/ (ex: v2.0.0-SNAPSHOT or v2.0.0 )
    • A manual tag is required to deploy because there is no easy way to clean the package registry (it keeps all the copies 😡 )

Current list of jars in pomfirst:

[INFO] ATSyRA BOM 2.0.0-SNAPSHOT .......................... SUCCESS [  0.066 s]
[INFO] fr.irisa.atsyra.pomfirst.root 2.0.0-SNAPSHOT ....... SUCCESS [  1.786 s]
[INFO] fr.irisa.atsyra.absystem.model 2.0.0-SNAPSHOT ...... SUCCESS [  2.396 s]
[INFO] fr.irisa.atsyra.absystem.commons 2.0.0-SNAPSHOT .... SUCCESS [  3.297 s]
[INFO] fr.irisa.atsyra.absystem.xtext 2.0.0-SNAPSHOT ...... SUCCESS [  4.377 s]
[INFO] fr.irisa.atsyra.pomfirst.thirdparty 2.0.0-SNAPSHOT . SUCCESS [  0.010 s]
[INFO] fr.lip6.move.gal 1.0.0-SNAPSHOT .................... SUCCESS [  0.559 s]
[INFO] org.eclipse.emf.transaction 1.9.1-SNAPSHOT ......... SUCCESS [  1.080 s]
[INFO] org.eclipse.capra.core 0.8.2 ....................... SUCCESS [  0.056 s]
[INFO] fr.irisa.atsyra.absystem.gal.transfo.trace 2.0.0-SNAPSHOT SUCCESS [  0.264 s]
[INFO] fr.irisa.atsyra.absystem.gal.transfo 2.0.0-SNAPSHOT  SUCCESS [ 13.824 s]

Current limitations:

  • some jar may not be correct
    • org.eclipse.emf.transaction (warning, maybe dependencies aren't complete)
    • fr.irisa.atsyra.absystem.gal.transfo.trace (warning, temporary exclusion of ABS2GALTraceQuery.java that requires other dependencies that need refactoring)
  • jar from tycho build aren't deployed in the registry, however, it may be possible to deploy some of them if required (need to take care to deploy only the required ones using <maven.deploy.skip>true</maven.deploy.skip> cf. https://wiki.eclipse.org/Tycho:How_to_deploy_to_a_Maven_repository)

Closes #249 (closed)

Closes #247 (closed)

Edited by Vojtisek Didier

Merge request reports

Loading