You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you dont have access to a public nexus/mvn repo with this archetype you can release it locally and create your modules from this archetype
1. In the archetyperoot ( Where this readme is located ), open cmd and type [ mvn archetype:create-from-project ]
2. cd into \target\generated-sources\archetype ( from the archetype root )
3. Type [ mvn install ]
Now your archetype is released to your local .m2 repository
To create a project from archetype do as follows
1. Create a new folder where you want the project to be
2. open cmd and cd to that folder
3. type [ mvn archetype:generate -DarchetypeCatalog=local ]
4. You will be presented with options from your local artifact repo. Chose the one that have the namespace "eu.europa.ec.fisheries.uvms.activity.eu.europa.ec.fisheries.uvms.activityropa.ec.fisheries.uvms.movement:movement-archetype"
5. Define value for property 'groupId': : eu.europa.ec.fisheries.uvms.activity.eu.europa.ec.fisheries.uvms.activityropa.ec.fisheries.uvms.YOUR_COMPONENT_NAME
6. Define value for property 'artifactId': : YOUR_COMPONENT_NAME
7. Define value for property 'version': 1.0-SNAPSHOT: : LEAVE_THIS_EMPTY ( Just hit ENTER )
8. Define value for property 'package': eu.europa.ec.fisheries.uvms.activity.eu.europa.ec.fisheries.uvms.activityropa.ec.fisheries.uvms.YOUR_COMPONENT_NAME: : eu.europa.ec.fisheries.uvms.activity.eu.europa.ec.fisheries.uvms.activityropa.ec.fisheries.uvms.YOUR_COMPONENT_NAME
9. Select Y and Enter and youre done!
Open the generated movement in your ide and mvn clean build to ensure that the movement is correctly configured