You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by jv...@apache.org on 2005/10/19 20:40:27 UTC
svn commit: r326641 - in /maven/components/trunk/maven-site: notes.txt
src/site/apt/guides/index.apt
src/site/apt/guides/mini/guide-using-modello.apt
Author: jvanzyl
Date: Wed Oct 19 11:40:25 2005
New Revision: 326641
URL: http://svn.apache.org/viewcvs?rev=326641&view=rev
Log: (empty)
Added:
maven/components/trunk/maven-site/src/site/apt/guides/mini/guide-using-modello.apt (with props)
Modified:
maven/components/trunk/maven-site/notes.txt
maven/components/trunk/maven-site/src/site/apt/guides/index.apt
Modified: maven/components/trunk/maven-site/notes.txt
URL: http://svn.apache.org/viewcvs/maven/components/trunk/maven-site/notes.txt?rev=326641&r1=326640&r2=326641&view=diff
==============================================================================
--- maven/components/trunk/maven-site/notes.txt (original)
+++ maven/components/trunk/maven-site/notes.txt Wed Oct 19 11:40:25 2005
@@ -29,3 +29,10 @@
- plugin expressions (look at bob allison's work)
- overriding the central repository (use central)
- description of what packagings are available and how they work
+- creating upload bundles
+- modello example
+- changing the snapshot policy frequency
+- overriding central repo
+- using POM info in applications: the POM is packaged so there is acccess
+ continuum example to get the version.
+- quick description of scm,wagon,continuum
Modified: maven/components/trunk/maven-site/src/site/apt/guides/index.apt
URL: http://svn.apache.org/viewcvs/maven/components/trunk/maven-site/src/site/apt/guides/index.apt?rev=326641&r1=326640&r2=326641&view=diff
==============================================================================
--- maven/components/trunk/maven-site/src/site/apt/guides/index.apt (original)
+++ maven/components/trunk/maven-site/src/site/apt/guides/index.apt Wed Oct 19 11:40:25 2005
@@ -70,6 +70,8 @@
* {{{mini/guide-using-extensions.html}Guide to using Extensions}}
+ * {{{mini/guide-using-modello.htmlt}Guide to using Modello}}
+
* {{{mini/guide-webapp.html}Guide to Webapps}}
Added: maven/components/trunk/maven-site/src/site/apt/guides/mini/guide-using-modello.apt
URL: http://svn.apache.org/viewcvs/maven/components/trunk/maven-site/src/site/apt/guides/mini/guide-using-modello.apt?rev=326641&view=auto
==============================================================================
--- maven/components/trunk/maven-site/src/site/apt/guides/mini/guide-using-modello.apt (added)
+++ maven/components/trunk/maven-site/src/site/apt/guides/mini/guide-using-modello.apt Wed Oct 19 11:40:25 2005
@@ -0,0 +1,66 @@
+ ------
+ Guide to using Modello
+ ------
+ Jason van Zyl
+ ------
+ 12 October 2005
+ ------
+
+Guide to using Modello
+
+ Modello is a tool for generating resources from a simple model. From a simple model you can generate
+ things like:
+
+ * Java sources
+
+ * XML serialization code for the model
+
+ * XML deserialization code for model
+
+ * Model documentation
+
+ * XSD
+
+ * JDO bindings
+
+ []
+
+ A typical modello model looks like the following:
+
+%{snippet|id=modello-model|url=http://svn.apache.org/repos/asf/maven/components/trunk/maven-archetype/maven-archetype-core/src/main/mdo/archetype.mdo}
+
+ To utilize Modello you would configure the <<<maven-modello-plugin>>> something like the following where you want
+ to generate the Java sources for the model, the xpp3 serialization code and the xpp3 deserialization code:
+
++----+
+
+<project>
+ ...
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.codehaus.modello</groupId>
+ <artifactId>modello-maven-plugin</artifactId>
+ <executions>
+ <execution>
+ <goals>
+ <!-- Generate the xpp3 reader code -->
+ <goal>xpp3-reader</goal>
+ <!-- Generate the xpp3 writer code -->
+ <goal>xpp3-writer</goal>
+ <!-- Generate the Java sources for the model itself -->
+ <goal>java</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <model>src/main/mdo/descriptor.mdo</model>
+ <version>1.0.0</version>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ ...
+</project>
+
++----+
\ No newline at end of file
Propchange: maven/components/trunk/maven-site/src/site/apt/guides/mini/guide-using-modello.apt
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: maven/components/trunk/maven-site/src/site/apt/guides/mini/guide-using-modello.apt
------------------------------------------------------------------------------
svn:keywords = "Author Date Id Revision"