Revision: e1c3fd86ddb5
Branch: default
Author:
lucio.b...@gmail.com
Date: Sun Sep 29 16:29:40 2013 UTC
Log: Created wiki page through web user interface.
http://code.google.com/p/lambico/source/detail?r=e1c3fd86ddb5&repo=wiki
Added:
/UsingTheLambicoWebServiceArchetype.wiki
=======================================
--- /dev/null
+++ /UsingTheLambicoWebServiceArchetype.wiki Sun Sep 29 16:29:40 2013 UTC
@@ -0,0 +1,35 @@
+#summary How to use the Lambico Web Service Archetype for starting a
project.
+
+= Introduction =
+
+The Lambico Web Service Archetype is an archetype for producing a project
with REST Web Service. After few seconds you will have a running service,
ready for your next developments.
+
+= Running the archetype =
+
+Type the following command:
+
+{{{
+mvn -DarchetypeGroupId=org.lambico
-DarchetypeArtifactId=lambico-ws-archetype -DarchetypeVersion=1.0-SNAPSHOT
-DarchetypeRepository=
https://oss.sonatype.org/content/repositories/snapshots
-Darchetype.repository=
https://oss.sonatype.org/content/repositories/snapshots
--update-snapshots archetype:generate
+}}}
+
+You will be asked for the parameters of your own project (`groupId`,
`artifactId` and `version`).
+
+= Build your project =
+
+Go to the main directory of your new project (the one with the `pom.xml`
file).
+
+The first operation You'll have to do is to update the licence header of
your file.
+
+Type:
+
+{{{
+mvn license:format
+}}}
+
+You can customize the header with your license updating the
`LICENSE_HEADER` file in the main directory of the project.
+
+Then build your project:
+
+{{{
+mvn clean install
+}}}