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 Mon, 28 Nov 2011 14:47:00 GMT
<html>
<head>
    <base href="https://cwiki.apache.org/confluence">
            <link rel="stylesheet" href="/confluence/s/2042/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>
        <div id="versionComment">
        <b>Comment:</b>
        adding bundle archetypes<br />
    </div>
        <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" > <br>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. <br></td></tr>
            <tr><td class="diff-added-lines" style="background-color: #dfd;">
<br>h3. sling-bundle-archetype <br> <br>This archetype generates a Maven
project which will build a basic OSGi bundle including support for the Felix SCR Annotations.
It is pre-configured to install using the Felix Web Console when the profile {{autoInstallBundle}}
is activated. <br> <br> <br>h3. sling-jcrinstall-bundle-archetype <br>
<br>This archetype generates a Maven project which will build a basic OSGi bundle including
support for the Felix SCR Annotations. It is pre-configured to install using a WebDAV PUT
into the JCR when the profile {{autoInstallBundle}} is activated. <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>

<h3><a name="MavenArchetypes-slingbundlearchetype"></a>sling-bundle-archetype</h3>

<p>This archetype generates a Maven project which will build a basic OSGi bundle including
support for the Felix SCR Annotations. It is pre-configured to install using the Felix Web
Console when the profile <tt>autoInstallBundle</tt> is activated.</p>


<h3><a name="MavenArchetypes-slingjcrinstallbundlearchetype"></a>sling-jcrinstall-bundle-archetype</h3>

<p>This archetype generates a Maven project which will build a basic OSGi bundle including
support for the Felix SCR Annotations. It is pre-configured to install using a WebDAV PUT
into the JCR when the profile <tt>autoInstallBundle</tt> is activated.</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=3&originalVersion=2">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