You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@olingo.apache.org by mi...@apache.org on 2014/01/14 07:54:02 UTC

svn commit: r1557952 - /incubator/olingo/site/trunk/content/doc/sample-setup.mdtext

Author: mibo
Date: Tue Jan 14 06:54:02 2014
New Revision: 1557952

URL: http://svn.apache.org/r1557952
Log:
CMS commit to olingo by mibo

Modified:
    incubator/olingo/site/trunk/content/doc/sample-setup.mdtext

Modified: incubator/olingo/site/trunk/content/doc/sample-setup.mdtext
URL: http://svn.apache.org/viewvc/incubator/olingo/site/trunk/content/doc/sample-setup.mdtext?rev=1557952&r1=1557951&r2=1557952&view=diff
==============================================================================
--- incubator/olingo/site/trunk/content/doc/sample-setup.mdtext (original)
+++ incubator/olingo/site/trunk/content/doc/sample-setup.mdtext Tue Jan 14 06:54:02 2014
@@ -31,29 +31,42 @@ can be deployed to any JEE compliant app
 ### Maven Archetype
 
 Apache Olingo supports Maven archetypes that are a kind of project template for 
-setting up new projects from scratch. To begin start with:
+setting up new projects from scratch. Currently exists an archetype with an `ODataSingleProcessor` implementation as `olingo-odata2-sample-cars-service-archetype-incubating` 
+and an archetype with an annotation based `ODataService` implementation as `olingo-odata2-sample-cars-annotation-archetype-incubating`.
+
+To generate the sample project for the `ODataSingleProcessor` implementation start with:
 
     mvn archetype:generate 
       -DinteractiveMode=false
-      -Dversion=1.0-SNAPSHOT 
+      -Dversion=1.0.0-SNAPSHOT 
       -DgroupId=com.sample
       -DartifactId=my-car-service 
       -DarchetypeGroupId=org.apache.olingo 
       -DarchetypeArtifactId=olingo-odata2-sample-cars-service-archetype-incubating 
       -DarchetypeVersion=1.1.0-SNAPSHOT 
 
-If the archetype is not available via Maven standard configuration then an 
+To generate the sample project for the `ODataService` implementation start with:
+
+    mvn archetype:generate 
+      -DinteractiveMode=false
+      -Dversion=1.0.0-SNAPSHOT 
+      -DgroupId=com.sample
+      -DartifactId=my-car-service 
+      -DarchetypeGroupId=org.apache.olingo 
+      -DarchetypeArtifactId=olingo-odata2-sample-cars-annotation-archetype-incubating 
+      -DarchetypeVersion=1.1.0-SNAPSHOT 
+
+If an archetype is not available via Maven standard configuration then an 
 additional parameter `-DarchetypeRepository=http://repository.apache.org/snapshots` 
 can solve the issue.
 
 Based on the Olingo project template Maven will generate a new project with 
-the specified GAV*) coordinates: `com.sample:my-car-service:1.0-SNAPSHOT`. GAV 
-coordinates can be freely chosen.
+the specified GAV*) coordinates: `com.sample:my-car-service:1.0.0-SNAPSHOT`. 
+GAV coordinates can be freely chosen.
 
 If the interactive mode is true then Maven will ask for GAV coordinates.
 
-The result is a new and ready to build Maven project. Switch to *my-car-service* 
-directory and execute:
+The result is a new and ready to build Maven project. Switch to *my-car-service* directory and execute:
 
     mvn clean install
 
@@ -67,12 +80,11 @@ Call the OData service with this URI in 
 
 ### Eclipse IDE Support
 
-The archetype template supports Eclipse as IDE. Additionally to a Maven clean 
-and install it is possible to call the following Maven goal:
+The archetype template supports Eclipse as IDE. 
+Additionally to a Maven clean and install it is possible to call the following Maven goal:
 
     mvn eclipse:clean eclipse:eclipse
 
-This will generate Eclipse project files including all transitive dependencies
-and the web application facet. Import the project to Eclipse and it should be 
-recognized as a web application project. Deploy the Eclipse project to a server
-and it should run as well.
\ No newline at end of file
+This will generate Eclipse project files including all transitive dependencies and the web application facet. 
+Import the project to Eclipse and it should be recognized as a web application project. 
+Deploy the Eclipse project to a server and it should run as well.
\ No newline at end of file