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/15 09:01:34 UTC
svn commit: r1558318 -
/incubator/olingo/site/trunk/content/doc/tutorials/AnnotationProcessorExtension.mdtext
Author: mibo
Date: Wed Jan 15 08:01:34 2014
New Revision: 1558318
URL: http://svn.apache.org/r1558318
Log:
CMS commit to olingo by mibo
Modified:
incubator/olingo/site/trunk/content/doc/tutorials/AnnotationProcessorExtension.mdtext
Modified: incubator/olingo/site/trunk/content/doc/tutorials/AnnotationProcessorExtension.mdtext
URL: http://svn.apache.org/viewvc/incubator/olingo/site/trunk/content/doc/tutorials/AnnotationProcessorExtension.mdtext?rev=1558318&r1=1558317&r2=1558318&view=diff
==============================================================================
--- incubator/olingo/site/trunk/content/doc/tutorials/AnnotationProcessorExtension.mdtext (original)
+++ incubator/olingo/site/trunk/content/doc/tutorials/AnnotationProcessorExtension.mdtext Wed Jan 15 08:01:34 2014
@@ -22,22 +22,22 @@ Notice: Licensed to the Apache Softwa
As a shortcut it is possible to create a sample project which use the Annotation Processor Extension via a Maven Archetype.
Therefore Maven must be called as shown below:
-```
-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
-```
+ 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
In the generated sample project you now can simply run Maven with the default goal (run `mvn` in the shell) which compiles the sources and starts an Jetty web server at `http://localhost:8080`.
For more detailed documentation about Archetypes in Olingo take a look into the [sample setup](/doc/sample-setup) section.
## Creation from Scratch
+A project which use the Annotation Processor Extension mainly of the model and the `ODataServiceFactory` implementation.
+In addition we use Maven so that a `pom.xml` is necessary for project build and dependency resolution.
### Create pom.xml