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.