-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# Java Challenge Template for the EntwicklerHeld Platform | ||
This is a template (Maven Archetype) which sets up a java challenge project | ||
|
||
## Installation Variant 1: | ||
* Clone repo | ||
* Run `mvn clean install` | ||
|
||
## Installation Variant 2: | ||
* Download a release as jar file | ||
* Run | ||
``` | ||
mvn install:install-file -Dfile=<path-to-jar> -DgroupId=de.entwicklerheld -DartifactId=java-challenge-template -Dversion=1.0-SNAPSHOT -Dpackaging=jar | ||
``` | ||
|
||
## Usage | ||
* Run following command in the target folder. It will create a new directory for the project according to your artifact id | ||
``` | ||
mvn archetype:generate -DarchetypeGroupId=de.entwicklerheld -DarchetypeArtifactId=java-challenge-template -DarchetypeVersion=1.0-SNAPSHOT -DgroupId=de.entwicklerheld -DartifactId=<name-of-your-challenge> | ||
``` | ||
* You will be asked after a short name: Enter here the name of you challenge without dashed or underscores (it is used in package names) | ||
* You will be asked after a version: Just press Enter here |