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 19:29:41 UTC
svn commit: r929223 - 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 18:29:41 2014
New Revision: 929223
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 18:29:41 2014
@@ -1 +1 @@
-1639704
+1639722
Propchange: websites/staging/isis/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Fri Nov 14 18:29:41 2014
@@ -1 +1 @@
-1639704
+1639722
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 18:29:41 2014
@@ -451,33 +451,10 @@
<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 apply: some features still in development may be unstable.</p>
-<p>The process is almost identical to that for stable releases, however you do 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>
+<p>The process is almost identical to that for stable releases, however the <code>archetype:generate</code> goal is called with slightly different arguments:</p>
<pre><code>mvn archetype:generate \
+ -D archetypeRepository=http://repository-estatio.forge.cloudbees.com/snapshot/ \
-D archetypeGroupId=org.apache.isis.archetype \
-D archetypeArtifactId=simpleapp-archetype \
-D archetypeVersion=1.8.0-SNAPSHOT \
@@ -487,7 +464,7 @@
-B
</code></pre>
-<p>where:</p>
+<p>where as before:</p>
<ul>
<li><code>groupId</code> represents your own organization, and</li>
@@ -495,6 +472,13 @@
<li><code>version</code> is the initial (snapshot) version of your app</li>
</ul>
+<p>but also:</p>
+
+<ul>
+<li><code>archetypeRepository</code> specifies the location of our snapshot repo (hosted on <a href="http://www.cloudbees.com">CloudBees</a>), and</li>
+<li><code>archetypeVersion</code> is the SNAPSHOT version of Isis.</li>
+</ul>
+
<p>The archetype generation process will then run; it only takes a few seconds.</p>
<h2>Building the App</h2>
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 18:29:41 2014
@@ -475,35 +475,12 @@
<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 apply: some features still in development may be unstable.</p>
-<p>The process is almost identical to that for stable releases, however you do 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>
+<p>The process is almost identical to that for stable releases, however the <code>archetype:generate</code> goal is called with slightly different arguments:</p>
<pre><code>mvn archetype:generate \
+ -D archetypeRepository=http://repository-estatio.forge.cloudbees.com/snapshot/ \
-D archetypeGroupId=org.apache.isis.archetype \
- -D archetypeArtifactId=todoapp-archetype \
+ -D archetypeArtifactId=simpleapp-archetype \
-D archetypeVersion=1.8.0-SNAPSHOT \
-D groupId=com.mycompany \
-D artifactId=myapp \
@@ -511,7 +488,7 @@
-B
</code></pre>
-<p>where:</p>
+<p>where as before:</p>
<ul>
<li><code>groupId</code> represents your own organization, and</li>
@@ -519,6 +496,13 @@
<li><code>version</code> is the initial (snapshot) version of your app</li>
</ul>
+<p>but also:</p>
+
+<ul>
+<li><code>archetypeRepository</code> specifies the location of our snapshot repo (hosted on <a href="http://www.cloudbees.com">CloudBees</a>), and</li>
+<li><code>archetypeVersion</code> is the SNAPSHOT version of Isis.</li>
+</ul>
+
<p>The archetype generation process will then run; it only takes a few seconds.</p>
<h2>Building the App</h2>