You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by bu...@apache.org on 2014/02/22 21:25:28 UTC
svn commit: r898878 - in /websites/staging/myfaces/trunk/content: ./
wiki/core/user-guide/getting-started/myfaces-archetypes-for-maven.html
Author: buildbot
Date: Sat Feb 22 20:25:27 2014
New Revision: 898878
Log:
Staging update by buildbot for myfaces
Modified:
websites/staging/myfaces/trunk/content/ (props changed)
websites/staging/myfaces/trunk/content/wiki/core/user-guide/getting-started/myfaces-archetypes-for-maven.html
Propchange: websites/staging/myfaces/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Sat Feb 22 20:25:27 2014
@@ -1 +1 @@
-1570905
+1570906
Modified: websites/staging/myfaces/trunk/content/wiki/core/user-guide/getting-started/myfaces-archetypes-for-maven.html
==============================================================================
--- websites/staging/myfaces/trunk/content/wiki/core/user-guide/getting-started/myfaces-archetypes-for-maven.html (original)
+++ websites/staging/myfaces/trunk/content/wiki/core/user-guide/getting-started/myfaces-archetypes-for-maven.html Sat Feb 22 20:25:27 2014
@@ -454,11 +454,11 @@ like.)</p>
<p>If we want to test the basic application created, we can just run the
command:</p>
-<p><ac:macro ac:name="code"><ac:plain-text-body><![CDATA[
-cd testApp
-mvn package
-]
-]></ac:plain-text-body></ac:macro></p>
+<div class="codehilite"><pre><span class="n">cd</span> <span class="n">testApp</span>
+<span class="n">mvn</span> <span class="n">package</span>
+</pre></div>
+
+
<p>And we will have a war-file created at testApp/target folder!</p>
<p>This whole process can save a lot of time while setting up a new web
@@ -476,38 +476,36 @@ simple edit the <code>pom.xml</code> fil
version numbers within the generated <code>pom.xml</code>. Example for
version 1.1.5:</p>
-<p><ac:macro
-ac:name="code"><ac:default-parameter>xml</ac:default-parameter><ac:plain-text-body><![CDATA[
- <dependency>
- <groupId>org.apache.myfaces.core</groupId>
- <artifactId>myfaces-api</artifactId>
- <version>1.1.5</version>
- <scope>compile</scope>
- </dependency></p>
<div class="codehilite"><pre><span class="nt"><dependency></span>
-<span class="nt"><groupId></span>org.apache.myfaces.core<span class="nt"></groupId></span>
-<span class="nt"><artifactId></span>myfaces-impl<span class="nt"></artifactId></span>
-<span class="nt"><version></span>1.1.5<span class="nt"></version></span>
-<span class="nt"><scope></span>compile<span class="nt"></scope></span>
+ <span class="nt"><groupId></span>org.apache.myfaces.core<span class="nt"></groupId></span>
+ <span class="nt"><artifactId></span>myfaces-api<span class="nt"></artifactId></span>
+ <span class="nt"><version></span>1.1.5<span class="nt"></version></span>
+ <span class="nt"><scope></span>compile<span class="nt"></scope></span>
+<span class="nt"></dependency></span>
+
+<span class="nt"><dependency></span>
+ <span class="nt"><groupId></span>org.apache.myfaces.core<span class="nt"></groupId></span>
+ <span class="nt"><artifactId></span>myfaces-impl<span class="nt"></artifactId></span>
+ <span class="nt"><version></span>1.1.5<span class="nt"></version></span>
+ <span class="nt"><scope></span>compile<span class="nt"></scope></span>
<span class="nt"></dependency></span>
</pre></div>
-<p>]
-]></ac:plain-text-body></ac:macro></p>
-<p><ac:macro ac:name="note"><ac:rich-text-body><p>Make sure the version of the
+<p>Make sure the version of the
<code><strong>-api</strong></code><strong> and </strong><code>-impl</code>
-libraries are the same!</p></ac:rich-text-body></ac:macro></p>
+libraries are the same!</p>
+
<h3>Jetty plugin</h3>
<p>The Jetty6 plugin has been added to the <code>pom.xml</code> of the
archetype. This makes it easy to start your application, without the need
to install and configure any container or application server. Just type</p>
-<p><ac:macro ac:name="code"><ac:plain-text-body><![CDATA[
-mvn -PjettyConfig clean jetty:run
-]
-]></ac:plain-text-body></ac:macro></p>
+<div class="codehilite"><pre><span class="n">mvn</span> <span class="o">-</span><span class="n">PjettyConfig</span> <span class="n">clean</span> <span class="n">jetty</span><span class="p">:</span><span class="n">run</span>
+</pre></div>
+
+
<p>This will create a war, launch the Jetty container and it will server
your project at <a class="external-link"
href="http://localhost:8080/testApp"