You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by bu...@apache.org on 2014/11/14 16:15:02 UTC
svn commit: r929202 - in /websites/staging/isis/trunk: cgi-bin/ content/
content/intro/getting-started/simpleapp-archetype.html
content/intro/getting-started/todoapp-archetype.html
Author: buildbot
Date: Fri Nov 14 15:15:02 2014
New Revision: 929202
Log:
Staging update by buildbot for isis
Modified:
websites/staging/isis/trunk/cgi-bin/ (props changed)
websites/staging/isis/trunk/content/ (props changed)
websites/staging/isis/trunk/content/intro/getting-started/simpleapp-archetype.html
websites/staging/isis/trunk/content/intro/getting-started/todoapp-archetype.html
Propchange: websites/staging/isis/trunk/cgi-bin/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Fri Nov 14 15:15:02 2014
@@ -1 +1 @@
-1639661
+1639664
Propchange: websites/staging/isis/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Fri Nov 14 15:15:02 2014
@@ -1 +1 @@
-1639661
+1639664
Modified: websites/staging/isis/trunk/content/intro/getting-started/simpleapp-archetype.html
==============================================================================
--- websites/staging/isis/trunk/content/intro/getting-started/simpleapp-archetype.html (original)
+++ websites/staging/isis/trunk/content/intro/getting-started/simpleapp-archetype.html Fri Nov 14 15:15:02 2014
@@ -421,7 +421,7 @@
<p>If you want to see a more functionally complete example, also check out the <a href="todoapp-archetype.html">TodoApp archetype</a>; this will give you a good idea of what makes up a not-too-complex Isis application. In fact, we recommend that you run both archetypes: this archetype generates a very simple application for you to refactor and extend, while the ToDo app provides to guide your own development.</p>
-<h2>Generating the App</h2>
+<h2>Generating the App (stable release)</h2>
<p>Create a new directory, and <code>cd</code> into that directory.</p>
@@ -447,6 +447,56 @@
<p>The archetype generation process will then run; it only takes a few seconds.</p>
+<h2>Generating the App (snapshot release)</h2>
+
+<p>We also maintain the archetype for the most current <code>-SNAPSHOT</code>; an app generated with this archetype will contain the latest features of Isis, but the usual caveats that some of those features may still be unstable.</p>
+
+<p>The process is almost identical, however you first need to configure your Maven instance to point to our snapshot repository (hosted on <a href="http://www.cloudbees.com">Cloudbees</a>. Add the following to your <code>~/.m2/settings.xml</code> file:</p>
+
+<pre><code><profile>
+ <id>cloudbees-snapshots</id>
+ <activation>
+ <activeByDefault>true</activeByDefault>
+ </activation>
+ <repositories>
+ <repository>
+ <id>snapshots-repo</id>
+ <url>http://repository-estatio.forge.cloudbees.com/snapshot/</url>
+ <releases>
+ <enabled>false</enabled>
+ </releases>
+ <snapshots>
+ <enabled>true</enabled>
+ </snapshots>
+ </repository>
+ </repositories>
+</profile>
+</code></pre>
+
+<p>This should be places within the <profiles> element of the file.</p>
+
+<p>With this done you should then be able to generate from the SNAPSHOT (note the different <code>archetypeVersion</code>):</p>
+
+<pre><code>mvn archetype:generate \
+ -D archetypeGroupId=org.apache.isis.archetype \
+ -D archetypeArtifactId=simpleapp-archetype \
+ -D archetypeVersion=1.8.0-SNAPSHOT \
+ -D groupId=com.mycompany \
+ -D artifactId=myapp \
+ -D version=1.0-SNAPSHOT \
+ -B
+</code></pre>
+
+<p>where:</p>
+
+<ul>
+<li><code>groupId</code> represents your own organization, and</li>
+<li><code>artifactId</code> is a unique identifier for this app within your organization.</li>
+<li><code>version</code> is the initial (snapshot) version of your app</li>
+</ul>
+
+<p>The archetype generation process will then run; it only takes a few seconds.</p>
+
<h2>Building the App</h2>
<p>Switch into the root directory of your newly generated app, and build your app:</p>
Modified: websites/staging/isis/trunk/content/intro/getting-started/todoapp-archetype.html
==============================================================================
--- websites/staging/isis/trunk/content/intro/getting-started/todoapp-archetype.html (original)
+++ websites/staging/isis/trunk/content/intro/getting-started/todoapp-archetype.html Fri Nov 14 15:15:02 2014
@@ -445,7 +445,7 @@
<p>An earlier screencast, relating to v1.2.0, is available <a href="https://www.youtube.com/watch?v=1_vc01LIBUU">here</a>.></p>
-<h3>Generating the App</h3>
+<h3>Generating the App (stable release)</h3>
<p>Create a new directory, and <code>cd</code> into that directory.</p>
@@ -471,6 +471,56 @@
<p>The archetype generation process will then run; it only takes a few seconds.</p>
+<h2>Generating the App (snapshot release)</h2>
+
+<p>We also maintain the archetype for the most current <code>-SNAPSHOT</code>; an app generated with this archetype will contain the latest features of Isis, but the usual caveats that some of those features may still be unstable.</p>
+
+<p>The process is almost identical, however you first need to configure your Maven instance to point to our snapshot repository (hosted on <a href="http://www.cloudbees.com">Cloudbees</a>. Add the following to your <code>~/.m2/settings.xml</code> file:</p>
+
+<pre><code><profile>
+ <id>cloudbees-snapshots</id>
+ <activation>
+ <activeByDefault>true</activeByDefault>
+ </activation>
+ <repositories>
+ <repository>
+ <id>snapshots-repo</id>
+ <url>http://repository-estatio.forge.cloudbees.com/snapshot/</url>
+ <releases>
+ <enabled>false</enabled>
+ </releases>
+ <snapshots>
+ <enabled>true</enabled>
+ </snapshots>
+ </repository>
+ </repositories>
+</profile>
+</code></pre>
+
+<p>This should be places within the <profiles> element of the file.</p>
+
+<p>With this done you should then be able to generate from the SNAPSHOT (note the different <code>archetypeVersion</code>):</p>
+
+<pre><code>mvn archetype:generate \
+ -D archetypeGroupId=org.apache.isis.archetype \
+ -D archetypeArtifactId=todoapp-archetype \
+ -D archetypeVersion=1.8.0-SNAPSHOT \
+ -D groupId=com.mycompany \
+ -D artifactId=myapp \
+ -D version=1.0-SNAPSHOT \
+ -B
+</code></pre>
+
+<p>where:</p>
+
+<ul>
+<li><code>groupId</code> represents your own organization, and</li>
+<li><code>artifactId</code> is a unique identifier for this app within your organization.</li>
+<li><code>version</code> is the initial (snapshot) version of your app</li>
+</ul>
+
+<p>The archetype generation process will then run; it only takes a few seconds.</p>
+
<h2>Building the App</h2>
<p>Switch into the root directory of your newly generated app, and build your app:</p>