forked from apache/wicket
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
57 lines (46 loc) · 1.36 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
Apache Wicket Archetypes
========================
This is the README file for the archetypes directory
Wicket's archetypes directory is a collection of Apache Maven project
archetypes designed for Wicket.
Contents
--------
- Requirements
- Getting started
- Usage
Requirements
------------
To install and use these archetypes Apache Maven (http://maven.apache.org)
needs to be present.
Getting started
---------------
Installation:
>cd archetypes
>cd <archetype-folder>
>mvn install
Usage
-----
Creating a maven project using one of the archetypes:
>mvn archetype:create \
-DarchetypeGroupId=org.apache.wicket \
-DarchetypeArtifactId=<archetypeArtifactId> \
-DarchetypeVersion=<archetypeVersion> \
-DgroupId=<groupId> \
-DartifactId=<artifactId>
e.g.:
>mvn archetype:create \
-DarchetypeGroupId=org.apache.wicket\
-DarchetypeArtifactId=wicket-archetype-quickstart \
-DarchetypeVersion=9.0.0-SNAPSHOT \
-DgroupId=com.mycompany \
-DartifactId=myproject
Launching Generated Application Using Jetty
-------------------------------------------
>cd myproject
>mvn jetty:run
Browse to http://localhost:8080/
Generated Eclipse Project From Generated Application
----------------------------------------------------
>cd myproject
>mvn eclipse:eclipse -DdownloadSources=true
Open Eclipse. Choose File/Import/Existing Project and point it to myproject directory