PoC: Use Eclipse b3 aggregator to create maven library from Trace Compass Eclipse plug-ins (CTF)#241
Draft
bhufmann wants to merge 2 commits intoeclipse-tracecompass:masterfrom
Draft
PoC: Use Eclipse b3 aggregator to create maven library from Trace Compass Eclipse plug-ins (CTF)#241bhufmann wants to merge 2 commits intoeclipse-tracecompass:masterfrom
bhufmann wants to merge 2 commits intoeclipse-tracecompass:masterfrom
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What it does
releng: add b3 aggregator for generating a maven repository for CTFThis 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 parsingThe 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
cd releng/org.eclipse.tracecompass.aggregation mvn clean installThe resulting maven repository is stored under
releng/org.eclipse.tracecompass/org.eclipse.tracecompass.aggregation/target/finaldoc/org.eclipse.tracecompass.maven.example/pom.xmlandMyTest.javato build and run example.cd doc/org.eclipse.tracecompass.maven.example/ mvn clean installFollow-ups
Proof-of-concept. Possible follow-ups
releng/org.eclipse.tracecompass.aggregation/tracecompass.aggrReview checklist