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.
-
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 entrywebproject:2.0.0
- select it. PressNext
-
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 of
README.md
to continue -
Create Run Configuration for WildFly - app should work if everything is configured correctly.