incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From conflue...@apache.org
Subject [CONF] Apache Sling Website > Maven Archetypes
Date Wed, 13 Oct 2010 19:50:00 GMT
<html>
<head>
    <base href="https://cwiki.apache.org/confluence">
            <link rel="stylesheet" href="/confluence/s/1810/9/1/_/styles/combined.css?spaceKey=SLINGxSITE&amp;forWysiwyg=true"
type="text/css">
    </head>
<body style="background: white;" bgcolor="white" class="email-body">
<div id="pageContent">
<div id="notificationFormat">
<div class="wiki-content">
<div class="email">
    <h2><a href="https://cwiki.apache.org/confluence/display/SLINGxSITE/Maven+Archetypes">Maven
Archetypes</a></h2>
    <h4>Page  <b>added</b> by             <a href="https://cwiki.apache.org/confluence/display/~justinedelson">Justin
Edelson</a>
    </h4>
         <br/>
    <div class="notificationGreySide">
         <p>Sling includes four Maven archetypes to quick start development. See <a
href="http://maven.apache.org/archetype/maven-archetype-plugin/" class="external-link" rel="nofollow">http://maven.apache.org/archetype/maven-archetype-plugin/</a>
for general information on using Maven archetypes. The Maven groupId for all Sling archetypes
is <tt>org.apache.sling</tt>.</p>

<h3><a name="MavenArchetypes-slinglaunchpadstandalonearchetype"></a>sling-launchpad-standalone-archetype</h3>

<p>This archetype generates a Maven project which will build a standalone Launchpad
JAR file using the default bundle set. For demonstration purposes, the generated project includes
an extra bundle list file (<tt>src/main/bundles/list</tt>) which includes Apache
Felix FileInstall as well as a test configuration file (<tt>src/test/config/sling.properties</tt>).</p>

<h3><a name="MavenArchetypes-slinglaunchpadwebapparchetype"></a>sling-launchpad-webapp-archetype</h3>

<p>This archetype generates a Maven project which will build a Launchpad WAR file using
the default bundle set. For demonstration purposes, the generated project includes an extra
bundle list file (<tt>src/main/bundles/list</tt>) which includes Apache Felix
FileInstall as well as a test configuration file (<tt>src/test/config/sling.properties</tt>).</p>

<h3><a name="MavenArchetypes-slingresourcesarchetype"></a>sling-resources-archetype</h3>

<p>This archetype generates a Maven project which will build an OSGi bundle that supports
JCR NodeType registration (in <tt>SLING-INF/nodetypes/nodetypes.cnd</tt>) and
initial content loading (in <tt>SLING-INF/scripts</tt> and <tt>SLING-INF/content</tt>).</p>

<h3><a name="MavenArchetypes-slingservletarchetype"></a>sling-servlet-archetype</h3>

<p>This archetype generates a Maven project which will build an OSGi bundle containing
two Servlets registered with Sling, one registered by path and one registered by resource
type.</p>
    </div>
    <div id="commentsSection" class="wiki-content pageSection">
       <div style="float: right;">
            <a href="https://cwiki.apache.org/confluence/users/viewnotifications.action"
class="grey">Change Notification Preferences</a>
       </div>
       <a href="https://cwiki.apache.org/confluence/display/SLINGxSITE/Maven+Archetypes">View
Online</a>
              |
       <a href="https://cwiki.apache.org/confluence/display/SLINGxSITE/Maven+Archetypes?showComments=true&amp;showCommentArea=true#addcomment">Add
Comment</a>
           </div>
</div>
</div>
</div>
</div>
</body>
</html>

Mime
View raw message