Archetype to create simple WEB project using JSF, JPA, CDI, security etc.
This archetype helps you to create boilerplate project with all configuration and set of pages for user registration, login and resetting password.
For registration and password resetting this app will send emails with confirmation code.
After entering data email will be sent to confirm email address:
If users lost their password it will be possible to change it. Confirmation code will be sent by email.
Start creating new project File -> New -> Project
In the New Project dialog from the left sidebar select Maven.
Select checkbox Create from archetype
Press button Add Archetype...
Enter following data and click OK
:
Group Id: guru.bug.javacourses
Artifact Id: webproject
Version: 2.0.0
Repository: leave empty
Find guru.bug.javacourses:webproject
in the list and expand it.
There is entry webproject:2.0.0
- select it.
Press Next
Fill the form and press Next
:
Group Id: your project’s group id. This is also base package for the project. For example lv.tsi.javacourses
Artifact Id: name of your project. Please don’t use dashes, dots, spaces - only latin letters and numbers. For example myCatalog
.
This will be used not only maven artifact id, but as datasource, database and context root.
Version: 1.0-SNAPSHOT
by default, but any version number you like.
Next form is informational, you may skip it pressing Next
Ensure right directory is selected for you project to be created.
And press Finish
Examine created project
Follow instructions in README.md
to continue