-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathREADME!.txt
More file actions
21 lines (16 loc) · 1.58 KB
/
README!.txt
File metadata and controls
21 lines (16 loc) · 1.58 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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