https://github.com/premium-minds/pm-wicket-archetype
Template to create a web application with Wicket + Guice + Hibernate
https://github.com/premium-minds/pm-wicket-archetype
archetype guice hibernate maven wicket
Last synced: 11 months ago
JSON representation
Template to create a web application with Wicket + Guice + Hibernate
- Host: GitHub
- URL: https://github.com/premium-minds/pm-wicket-archetype
- Owner: premium-minds
- License: lgpl-3.0
- Created: 2014-08-28T16:12:06.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2025-07-02T13:15:21.000Z (12 months ago)
- Last Synced: 2025-07-11T03:34:34.320Z (12 months ago)
- Topics: archetype, guice, hibernate, maven, wicket
- Language: Java
- Size: 928 KB
- Stars: 5
- Watchers: 6
- Forks: 2
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
pm-wicket-archetype
===================
Web application template with support for Wicket + Guice + Hibernate
## Requirements
* Java 8
* Maven
* PostgreSQL server 9.x
* Bash (optional)
* PostgreSQL client (optional)
## Run your project in less than 5 minutes
### Setup project
Open your terminal and run the following command:
```bash
mvn archetype:generate -DarchetypeGroupId=com.premiumminds -DarchetypeArtifactId=pm-wicket-archetype
```
Next, you will be asked to fill in the following properties:
* `groupId` - the group id for your application artifact
* `artifactId` - the artifact name of the application
* `version` - your initial version (defaults to *1.0-SNAPSHOT*)
* `package` - the project's base java package (usually `groupId`.`artifactId`)
* `SMTPFrom` - your SMTP from address (used when you are in debug only)
* `SMTPPassword` - your SMTP account password (used when you are in debug only)
* `SMTPServer` - your SMTP host address (used when you are in debug only)
* `SMTPUsername` - your SMTP account username (used when you are in debug only)
* `applicationTitle` - the full name of your project. It will show up in your application's homepage
* `databaseHost` - the development database host. Usually *localhost* (port defaults to *5432*)
* `databaseName` - the development database name (doesn't need to already exist)
* `databasePassword` - The database password
* `databaseUsername` - The database username
* `debugEmail` - all emails will be sent to this address, while in DEV environment
Now validate that all your properties are correct and confirm. Your project is now set up :)
### Create database schema
Create the database manually. The archetype includes Flyway and will create the schema automatically when it runs.
### Run it
...now for the moment you've been waiting for, just type in:
```bash
mvn jetty:run
```
Open your favorite browser at [http://localhost:8080](http://localhost:8080). You will be presented with your application's login screen.
The default user is `template@premium-minds.com` with password `test`
## Continuous Integration
[](https://github.com/premium-minds/pm-wicket-archetype/actions/workflows/maven.yml)
## License
Copyright (C) 2014 [Premium Minds](http://www.premium-minds.com/)
Licensed under the [GNU Lesser General Public Licence](http://www.gnu.org/licenses/lgpl.html)