openwebbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rmannibu...@apache.org
Subject svn commit: r1855399 - /openwebbeans/meecrowave/trunk/meecrowave-doc/src/main/jbake/content/start.adoc
Date Wed, 13 Mar 2019 10:25:52 GMT
Author: rmannibucau
Date: Wed Mar 13 10:25:52 2019
New Revision: 1855399

URL: http://svn.apache.org/viewvc?rev=1855399&view=rev
Log:
adding dependencies to start.adoc

Modified:
    openwebbeans/meecrowave/trunk/meecrowave-doc/src/main/jbake/content/start.adoc

Modified: openwebbeans/meecrowave/trunk/meecrowave-doc/src/main/jbake/content/start.adoc
URL: http://svn.apache.org/viewvc/openwebbeans/meecrowave/trunk/meecrowave-doc/src/main/jbake/content/start.adoc?rev=1855399&r1=1855398&r2=1855399&view=diff
==============================================================================
--- openwebbeans/meecrowave/trunk/meecrowave-doc/src/main/jbake/content/start.adoc (original)
+++ openwebbeans/meecrowave/trunk/meecrowave-doc/src/main/jbake/content/start.adoc Wed Mar
13 10:25:52 2019
@@ -8,6 +8,32 @@
 
 == Your first application
 
+=== Dependencies
+
+Just add in any Maven `pom.xml` - or gradle `build.gradle` the following dependency:
+
+[source,xml]
+----
+<dependency>
+  <groupId>org.apache.meecrowave</groupId>
+  <artifactId>meecrowave-core</artifactId>
+  <version>${meecrowave.version}</version>
+</dependency>
+----
+
+If you intend to reuse our `Cli` main you should also add:
+
+[source,xml]
+----
+<dependency>
+  <groupId>commons-cli</groupId>
+  <artifactId>commons-cli</artifactId>
+  <version>1.4</version>
+</dependency>
+----
+
+=== Runtime
+
 Meecrowave relies on JAX-RS and CDI so to start you just need to write a JAX-RS endpoint:
 
 [source,java]
@@ -22,7 +48,7 @@ public class HelloKitchen {
 }
 ----
 
-Then booting Meecrowave is as easy as launching:
+Then booting Meecrowave is as easy as launching - or reuse `org.apache.meecrowave.runner.Cli`
provided main:
 
 [source,java]
 ----



Mime
View raw message