mardi 5 mai 2020

How to extract group id and artifact id from maven plugin?

I have a custom maven plugin which scan's for custom annotations in the source code.

ex:

test-parent-project
pom.xml

test-child-project1
src/
pom.xml

test-child-project2
src/
pom.xml

let's say if my custom annotation is found in test-child-project2, I want to retrieve group id and artifact id from test-child-project2

I am scanning the annotations using reflections.





Aucun commentaire:

Enregistrer un commentaire