Skip to content

bug-guru/javacourses-webproject-archetype

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

javacourses-webproject-archetype

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.

How to start

From Intellij IDEA

  1. Start creating new project File -> New -> Project

  2. In the New Project dialog from the left sidebar select Maven.

  3. Select checkbox Create from archetype

  4. Press button Add Archetype...

  5. Enter following data and click OK:

    Group Id: guru.bug.javacourses

    Artifact Id: webproject

    Version: 2.0.0

    Repository: leave empty

  6. Find guru.bug.javacourses:webproject in the list and expand it. There is entry webproject:2.0.0 - select it. Press Next

  7. 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.

  8. Next form is informational, you may skip it pressing Next

  9. Ensure right directory is selected for you project to be created. And press Finish

  10. Examine created project

  11. Follow instructions of README.md to continue

  12. Create Run Configuration for WildFly - app should work if everything is configured correctly.