myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r898880 - in /websites/staging/myfaces/trunk/content: ./ wiki/core/user-guide/getting-started/myfaces-archetypes-for-maven.html
Date Sat, 22 Feb 2014 20:29:43 GMT
Author: buildbot
Date: Sat Feb 22 20:29:42 2014
New Revision: 898880

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:29:42 2014
@@ -1 +1 @@
-1570906
+1570908

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:29:42 2014
@@ -517,10 +517,10 @@ rel="nofollow">http://localhost:8080/tes
 development of custom JSF components. To create your new project, the only
 thing you have to do is to execute this command;</p>
 
-<p><ac:macro ac:name="code"><ac:plain-text-body>&lt;![CDATA[
-mvn archetype:generate -DarchetypeCatalog=http://myfaces.apache.org
-]
-]&gt;</ac:plain-text-body></ac:macro></p>
+<div class="codehilite"><pre><span class="n">mvn</span> <span
class="n">archetype</span><span class="p">:</span><span class="n">generate</span>
<span class="o">-</span><span class="n">DarchetypeCatalog</span><span
class="p">=</span><span class="n">http</span><span class="p">:</span><span
class="o">//</span><span class="n">myfaces</span><span class="p">.</span><span
class="n">apache</span><span class="p">.</span><span class="n">org</span>
+</pre></div>
+
+
 <p>It might be the case that the central archetype catalog is not yet up to
 date and does not contain the Component Library archetype. In that case,
 you have to install the archetype module locally, as described above under
@@ -532,31 +532,32 @@ locally</ac:link-body></ac:link>. The ar
 <p>Now, you can create the project in the folder of your choice! Just go to
 that folder and run the <code>archetype:create</code> goal.</p>
 
-<p><ac:macro ac:name="code"><ac:plain-text-body>&lt;![CDATA[
-cd yourFolder</p>
-<p>mvn archetype:create -DarchetypeGroupId=org.apache.myfaces.buildtools   <br />
-\
-             -DarchetypeArtifactId=myfaces-archetype-jsfcomponents
-\
-             -DarchetypeVersion=1.0.1               <br />
-\
-             -DgroupId=myAppId                  <br />
-\
-             -DartifactId=myJsfComponents
-]
-]&gt;</ac:plain-text-body></ac:macro></p>
+<div class="codehilite"><pre><span class="n">cd</span> <span class="n">yourFolder</span>
+
+<span class="n">mvn</span> <span class="n">archetype</span><span
class="p">:</span><span class="n">create</span> <span class="o">-</span><span
class="n">DarchetypeGroupId</span><span class="p">=</span><span class="n">org</span><span
class="p">.</span><span class="n">apache</span><span class="p">.</span><span
class="n">myfaces</span><span class="p">.</span><span class="n">buildtools</span>
    
+<span class="o">\</span>
+             <span class="o">-</span><span class="n">DarchetypeArtifactId</span><span
class="p">=</span><span class="n">myfaces</span><span class="o">-</span><span
class="n">archetype</span><span class="o">-</span><span class="n">jsfcomponents</span>
+<span class="o">\</span>
+             <span class="o">-</span><span class="n">DarchetypeVersion</span><span
class="p">=</span>1<span class="p">.</span>0<span class="p">.</span>1
                
+<span class="o">\</span>
+             <span class="o">-</span><span class="n">DgroupId</span><span
class="p">=</span><span class="n">myAppId</span>                    
+<span class="o">\</span>
+             <span class="o">-</span><span class="n">DartifactId</span><span
class="p">=</span><span class="n">myJsfComponents</span>
+</pre></div>
+
+
 <p>And there you have it, you can start coding without the hassle of
 project configuration. The archetype generates a multi-module project with
 this structure:</p>
 
-<p><ac:macro ac:name="code"><ac:plain-text-body>&lt;![CDATA[
- -+ project base (parent pom)
+<div class="codehilite"><pre> -+ project base (parent pom)
   |
   +--- core (component library)
   |
   +--- examples (examples for the components)
-]
-]&gt;</ac:plain-text-body></ac:macro></p>
+</pre></div>
+
+
 <p>The layout of the project is almost identical to the layout of the
 MyFaces sandbox. This also ensures that your components could go to the
 sandbox without having too handle major conversions.</p>
@@ -585,17 +586,17 @@ handy to test that your components work 
 instance, if you want to execute your application directly from Jetty and
 using MyFaces, execute this in the examples folder:</p>
 
-<p><ac:macro ac:name="code"><ac:plain-text-body>&lt;![CDATA[
-mvn -PjettyConfig clean package jetty:run
-]
-]&gt;</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">package</span> <span class="n">jetty</span><span
class="p">:</span><span class="n">run</span>
+</pre></div>
+
+
 <p>Alternately, to build your example app using the JSF Reference
 Implementation, execute this in the examples folder:</p>
 
-<p><ac:macro ac:name="code"><ac:plain-text-body>&lt;![CDATA[
-mvn -PjettyConfig -Djsf=ri clean package jetty:run
-]
-]&gt;</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="o">-</span><span
class="n">Djsf</span><span class="p">=</span><span class="n">ri</span>
<span class="n">clean</span> <span class="n">package</span> <span
class="n">jetty</span><span class="p">:</span><span class="n">run</span>
+</pre></div>
+
+
 <p>And you can go to [<a href="http://localhost:8080/myJsfComponents-examples">http://localhost:8080/myJsfComponents-examples</a>](<a-href="http://localhost:8080/myjsfcomponents-examples">http://localhost:8080/myjsfcomponents-examples</a>.html)
  to see the examples.</p>
 



Mime
View raw message