Skip to content

Conversation

@bhufmann
Copy link
Contributor

@bhufmann bhufmann commented Mar 21, 2025

What it does

  • releng: add b3 aggregator for generating a maven repository for CTF
    This project creates an maven repository with ctf.core and ctf.parser.
    The location of the generated maven repository is under target/final/
  • example: create an example project that uses maven dependencies only for CTF parsing
    The maven dependencies are generated using b3 aggregator of project:
    releng/org.eclipse.tracecompass.aggregation/.

See link below for more details
https://wiki.eclipse.org/CBI/aggregator/manual

How to test

  • First run the aggregator:
cd releng/org.eclipse.tracecompass.aggregation
mvn clean install

The resulting maven repository is stored under releng/org.eclipse.tracecompass/org.eclipse.tracecompass.aggregation/target/final

  • Fix TODOs doc/org.eclipse.tracecompass.maven.example/pom.xml and MyTest.java to build and run example.
cd doc/org.eclipse.tracecompass.maven.example/
mvn clean install
  • Run the example
mvn exec:exec

Follow-ups

Proof-of-concept. Possible follow-ups

  • Deploy the CTF parser plugin to maven central.
  • Update and deploy other Trace Compass plug-ins to maven central (e.g. tmf.core) by adding relevant plug-in IDs to releng/org.eclipse.tracecompass.aggregation/tracecompass.aggr

Review checklist

  • [x ] As an author, I have thoroughly tested my changes and carefully followed the instructions in this template

This project creates an maven repository with ctf.core and ctf.parser.
The location of the generated maven repository is under target/final/

See link below for more details
https://wiki.eclipse.org/CBI/aggregator/manual

Change-Id: Ia75cfffd9deaaa6e0492ea4ef838c77fc6b94e8c
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
The maven dependencies are generated using b3 aggregator of project:
releng/org.eclipse.tracecompass.aggregation/. Follow instructions
in README there.

Note: Fix TODOs The pom.xml and MyTest.java to build and run example.

Change-Id: I7de860f9f6027609d94b7af429fc98152cd9ba20
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant