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 Fri, 15 Oct 2010 14:25: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>edited</b> by             <a href="https://cwiki.apache.org/confluence/display/~justinedelson">Justin
Edelson</a>
    </h4>
        <br/>
                         <h4>Changes (1)</h4>
                                 
    
<div id="page-diffs">
            <table class="diff" cellpadding="0" cellspacing="0">
            <tr><td class="diff-snipped" >...<br></td></tr>
            <tr><td class="diff-unchanged" >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 ({{src/main/bundles/list}}) which
includes Apache Felix FileInstall as well as a test configuration file ({{src/test/config/sling.properties}}).
<br> <br></td></tr>
            <tr><td class="diff-changed-lines" >h3. <span class="diff-deleted-words"style="color:#999;background-color:#fdd;text-decoration:line-through;">sling-resources-archetype</span>
<span class="diff-added-words"style="background-color: #dfd;">sling-intitial-content-archetype</span>
<br></td></tr>
            <tr><td class="diff-unchanged" > <br>This archetype generates
a Maven project which will build an OSGi bundle that supports JCR NodeType registration (in
{{SLING-INF/nodetypes/nodetypes.cnd}}) and initial content loading (in {{SLING-INF/scripts}}
and {{SLING-INF/content}}). <br></td></tr>
            <tr><td class="diff-snipped" >...<br></td></tr>
        </table>
</div>                            <h4>Full Content</h4>
                    <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-slingintitialcontentarchetype"></a>sling-intitial-content-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/pages/diffpagesbyversion.action?pageId=24182899&revisedVersion=2&originalVersion=1">View
Changes</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