How to create an archetype for my java maven project and upload it into GitHub artifact?

299 Views Asked by At

I developed a java maven project and published it to the GitHub. I'm using GitHub actions as ci/cd pipeline. Now I want to create an archetype of this project and publish it to the GitHub artifact, so that all other people in my team could use this archetype as base one whenever they are creating a java maven project. Generally we use mvn archetype: create-from-project to create an archetype. But I'm not getting the desired outcome. How can I achieve this? Anyone help me.

Thankyou.

0

There are 0 best solutions below