-- javadocs and site improvements

-- forgot wcmqs in archetype

git-svn-id: http://maven-alfresco-archetypes.googlecode.com/svn/trunk@630 04253f4f-3451-0410-a141-5562f1e59037
This commit is contained in:
mindthegab
2012-11-03 20:34:31 +00:00
parent a869e55b25
commit 11ff4a2942
10 changed files with 103 additions and 54 deletions

View File

@@ -5,8 +5,8 @@
<groupId>org.alfresco.maven.archetype</groupId> <groupId>org.alfresco.maven.archetype</groupId>
<artifactId>alfresco-allinone-archetype</artifactId> <artifactId>alfresco-allinone-archetype</artifactId>
<packaging>maven-archetype</packaging> <packaging>maven-archetype</packaging>
<name>alfresco-allinone-archetype</name> <name>All-in-One Archetype from Maven Alfresco SDK</name>
<description>Sample multi-module project for All-in-One development on the Alfresco plaftorm. Includes modules for: Repository, AMP, Share, Solr and embedded Jetty run</description> <description>Sample multi-module project for All-in-One development on the Alfresco plaftorm. Includes modules for: Repository, AMP, Share, Solr, Web Quick Start and embedded Jetty run</description>
<parent> <parent>
<groupId>org.alfresco.maven</groupId> <groupId>org.alfresco.maven</groupId>

View File

@@ -56,6 +56,10 @@
<war>${project.basedir}/../share/target/share.war</war> <war>${project.basedir}/../share/target/share.war</war>
<contextPath>/share</contextPath> <contextPath>/share</contextPath>
</contextHandler> </contextHandler>
<contextHandler implementation="org.mortbay.jetty.webapp.WebAppContext">
<war>${project.basedir}/../wcmqs/target/wcmqs.war</war>
<contextPath>/wcmqs</contextPath>
</contextHandler>
</contextHandlers> </contextHandlers>
<systemProperties> <systemProperties>
<systemProperty> <systemProperty>

View File

@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources"/>
<classpathentry excluding="**" kind="src" output="target/test-classes" path="src/test/resources"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.4"/>
<classpathentry kind="con" path="org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER"/>
<classpathentry kind="output" path="target/classes"/>
</classpath>

View File

@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>alfresco-amp-archetype</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.maven.ide.eclipse.maven2Builder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.maven.ide.eclipse.maven2Nature</nature>
</natures>
</projectDescription>

View File

@@ -36,6 +36,7 @@ import org.codehaus.plexus.archiver.jar.JarArchiver;
* @phase package * @phase package
* @requiresProject * @requiresProject
* @threadSafe * @threadSafe
* @since 1.0
* @requiresDependencyResolution runtime * @requiresDependencyResolution runtime
* @description Packages an Alfresco AMP file in ${project.build.directory} using the content found in ${project.build.directory}/${project.build.finalName} * @description Packages an Alfresco AMP file in ${project.build.directory} using the content found in ${project.build.directory}/${project.build.finalName}
*/ */

View File

@@ -16,6 +16,7 @@ import org.apache.maven.plugin.MojoFailureException;
* *
* @version $Id:$ * @version $Id:$
* @requiresDependencyResolution * @requiresDependencyResolution
* @since 1.0
* @goal install * @goal install
* @description Installs one or more AMPs onto an Alfresco / Share WAR (or * @description Installs one or more AMPs onto an Alfresco / Share WAR (or
* exploded WAR folder) * exploded WAR folder)

View File

@@ -20,6 +20,7 @@ import org.apache.maven.project.MavenProject;
* @goal set-version * @goal set-version
* @phase initialize * @phase initialize
* @requiresProject * @requiresProject
* @since 1.0
* @threadSafe * @threadSafe
* @description Parses Maven version and removes literals as not allowed in AMP versions, making a noSnapshotVersion property available for POM filtering * @description Parses Maven version and removes literals as not allowed in AMP versions, making a noSnapshotVersion property available for POM filtering
*/ */

13
pom.xml
View File

@@ -9,6 +9,8 @@
<description>This aggregator Project builds all modules required for the Maven Alfresco SDK</description> <description>This aggregator Project builds all modules required for the Maven Alfresco SDK</description>
<packaging>pom</packaging> <packaging>pom</packaging>
<url>${maven.site.url}</url>
<prerequisites> <prerequisites>
<maven>3.0.3</maven> <maven>3.0.3</maven>
</prerequisites> </prerequisites>
@@ -28,7 +30,7 @@
<url>http://mindthegab.com</url> <url>http://mindthegab.com</url>
<organization>Alfresco Software</organization> <organization>Alfresco Software</organization>
<organizationUrl>http://www.alfresco.com</organizationUrl> <organizationUrl>http://www.alfresco.com</organizationUrl>
<timezone>GMT+1</timezone> <timezone>+1</timezone>
<roles> <roles>
<role>Founder</role> <role>Founder</role>
<role>Architect</role> <role>Architect</role>
@@ -42,7 +44,7 @@
<url>http://session.it</url> <url>http://session.it</url>
<organization>Alfresco Software</organization> <organization>Alfresco Software</organization>
<organizationUrl>http://www.alfresco.com</organizationUrl> <organizationUrl>http://www.alfresco.com</organizationUrl>
<timezone>GMT+1</timezone> <timezone>+1</timezone>
<roles> <roles>
<role>Architect</role> <role>Architect</role>
<role>Developer</role> <role>Developer</role>
@@ -56,7 +58,7 @@
<email>carlo@backbase.com</email> <email>carlo@backbase.com</email>
<organization>Backbase</organization> <organization>Backbase</organization>
<organizationUrl>http://www.backbase.com</organizationUrl> <organizationUrl>http://www.backbase.com</organizationUrl>
<timezone>GMT+1</timezone> <timezone>+1</timezone>
<url>http://skuro.tk</url> <url>http://skuro.tk</url>
</contributor> </contributor>
</contributors> </contributors>
@@ -84,10 +86,15 @@
<url>https://artifacts.alfresco.com/nexus/content/repositories/snapshots <url>https://artifacts.alfresco.com/nexus/content/repositories/snapshots
</url> </url>
</snapshotRepository> </snapshotRepository>
<site>
<id>alfresco-docs</id>
<url>dav:${maven.site.url}</url>
</site>
</distributionManagement> </distributionManagement>
<properties> <properties>
<maven.archetype.version>2.2</maven.archetype.version> <maven.archetype.version>2.2</maven.archetype.version>
<maven.site.url>https://artifacts.alfresco.com/nexus/content/repositories/alfresco-docs/maven-alfresco-sdk/latest</maven.site.url>
</properties> </properties>
<build> <build>

View File

@@ -1,9 +1,21 @@
<document> <document>
<properties> <properties>
<title>Maven Alfresco Lifecycle</title> <title>Maven Alfresco SDK (former Maven Alfresco Lifecycle)</title>
<author email="gabriele.columbro@alfresco.com">Gabriele Columbro</author> <author email="gabriele.columbro@alfresco.com">Gabriele Columbro</author>
</properties> </properties>
<body> <body>
<release version="1.0" date="2012-11-03" description="Major feature release making the project to a fully fledged SDK, rebranded to Maven Alfresco SDK 1.0">
<action type="improvement">Complete re-write of alfresco-maven-plugin to embed Alfresco MMT, therefore maximize alignment / supportability of the build process</action>
<action type="add">Introduced a common SDK parent POM (alfresco-sdk-parent), single entry point to access SDK features</action>
<action type="add">Introduced a Alfresco platform distribution POM (alfresco-sdk-parent) describing Alfresco artifacts per every release</action>
<action type="add">Alfresco Artifacts Repository (https://artifacts.alfresco.com) now hosts Community and Enterprise artifacts with POMs</action>
<action type="update">Updated archetypes to provide samples to use the new SDK. An AMP and an All-in-One archetypes are available</action>
<action type="add">New support for customization / run of Repository, Share, Solr and Web Quick Start</action>
<action type="improvement">Support for rapid development with AMP unit testing and full embedded run and integration-test (NOTE: Jetty + H2 is NOT supported)</action>
<action type="improvement">Introduced a common SDK parent POM (alfresco-sdk-parent) to provide common SDK features</action>
<action type="update">Documentation clean up</action>
<action type="remove">Deprecated maven-amp-plugin and all old 3.9.1 maven-alfresco-* archetypes based on maven-amp-plugin</action>
</release>
<release version="3.9.1" date="2012-04-06" description="Cleaned all defects in the framework and tested with 4.0b"> <release version="3.9.1" date="2012-04-06" description="Cleaned all defects in the framework and tested with 4.0b">
<action dev="maurizio@session.it" type="fix">Fixed all existing defects to date in Google Code. See http://code.google.com/p/maven-alfresco-archetypes/issues/list?q=label:Milestone-Release391 for details</action> <action dev="maurizio@session.it" type="fix">Fixed all existing defects to date in Google Code. See http://code.google.com/p/maven-alfresco-archetypes/issues/list?q=label:Milestone-Release391 for details</action>
<action dev="columbro" type="update">Updated and released maven-alfresco-lifecycle and maven-alfresco-archetypes to version 3.9.1</action> <action dev="columbro" type="update">Updated and released maven-alfresco-lifecycle and maven-alfresco-archetypes to version 3.9.1</action>

View File

@@ -8,12 +8,6 @@
<fluidoSkin> <fluidoSkin>
<topBarEnabled>true</topBarEnabled> <topBarEnabled>true</topBarEnabled>
<sideBarEnabled>true</sideBarEnabled> <sideBarEnabled>true</sideBarEnabled>
<topBarIcon>
<name>Maven Alfresco Lifecycle</name>
<alt>Maven Alfresco Lifecycle</alt>
<src>/img/Alfresco-logo-transparent.gif</src>
<href>/index.html</href>
</topBarIcon>
<twitter> <twitter>
<user>mindthegabz</user> <user>mindthegabz</user>
<showUser>true</showUser> <showUser>true</showUser>
@@ -25,41 +19,39 @@
</custom> </custom>
<poweredBy> <poweredBy>
<logo name="Maven" href="http://maven.apache.org" img="http://maven.apache.org/images/logos/maven-feather.png" /> <logo name="Maven" href="http://maven.apache.org" img="http://maven.apache.org/images/logos/maven-feather.png" />
<logo name="Alfresco - Open source ECM" img="http://alfresco.com/assets/images/icons/powered_by_alfresco.gif" <logo name="Alfresco Software" img="img/Alfresco-logo-transparent.gif"
href="http://www.alfresco.com" /> href="http://www.alfresco.com" />
</poweredBy> </poweredBy>
<publishDate position="navigation-bottom" format="MM-dd-yy" /> <publishDate position="navigation-bottom" format="MM-dd-yy" />
<bannerLeft>
<name>Maven Alfresco Lifecycle - v. ${project.version}</name>
<href>http://www.alfresco.com</href>
<src>img/Alfresco-logo-transparent.gif</src>
</bannerLeft>
<body> <body>
<links>
<item name="Maven" href="http://maven.apache.org/" />
<item name="Alfresco" href="http://www.alfresco.com/" />
<item name="Project founder's blog" href="http://www.mindthegab.com/" />
<item name="Apache" href="http://www.apache.org/" />
</links>
<menu ref="modules" inherit="bottom"/> <menu ref="modules" inherit="bottom"/>
<menu ref="parent" inherit="bottom"/> <menu ref="parent" inherit="bottom"/>
<menu name="Maven2 Lifecycle Alfresco Resources"> <menu name="SDK Resources">
<item name="Google Code Project" href="http://code.google.com/p/maven-alfresco-archetypes/" />
<item name="Alfresco Maven Wiki Docs" href="http://wiki.alfresco.com/wiki/Managing_Alfresco_Lifecyle_with_Maven" />
<item name="Alfresco with Maven for Dummies" href="https://wiki.alfresco.com/wiki/Maven_For_Dummies" />
<item name="Third party how to" href="http://www.cybermagic.co.nz/wiki/display/CM/Building+Alfresco+apps+with+Maven" />
<item name="Enterprise use case" href="http://www.slideshare.net/guest67a9ba/maven-application-lifecycle-management-for-alfresco" />
<item name="FAQ" href="faq.html" /> <item name="FAQ" href="faq.html" />
</menu> <item name="Alfresco SDK POM" href="https://artifacts.alfresco.com/nexus/content/repositories/alfresco-docs/alfresco-lifecycle-aggregator/latest/poms/alfresco-sdk-parent/index.html" />
<item name="Alfresco Platform Distribution POM" href="https://artifacts.alfresco.com/nexus/content/repositories/alfresco-docs/alfresco-platform-distribution/latest/index.html" />
<menu name="See also">
<item name="Maven Alfresco AMP Archetype" href="http://maven.alfresco.com/nexus/content/repositories/alfresco-docs/maven-alfresco-lifecycle/latest/maven-alfresco-archetype/maven-alfresco-amp-archetype/index.html" />
<item name="Maven AMP Plugin" href="http://maven.alfresco.com/nexus/content/repositories/alfresco-docs/maven-alfresco-lifecycle/latest/plugins/maven-amp-plugin/index.html" /> <item name="Maven AMP Plugin" href="http://maven.alfresco.com/nexus/content/repositories/alfresco-docs/maven-alfresco-lifecycle/latest/plugins/maven-amp-plugin/index.html" />
</menu> </menu>
<menu name="Maven Alfresco Community">
<item name="Alfresco Maven Wiki Docs" href="http://wiki.alfresco.com/wiki/Maven_Alfresco_SDK" />
<item name="Alfresco with Maven for Dummies" href="https://wiki.alfresco.com/wiki/Maven_For_Dummies" />
<item name="Developer Access (Google Code)" href="http://code.google.com/p/maven-alfresco-archetypes/" />
<item name="Gabriele Columbro's blog" href="http://www.mindthegab.com/" />
<item name="Maurizio Pillitu's blog" href="http://www.session.it/" />
<item name="Carlo Sciolla's blog" href="http://skuro.tk/" />
<item name="Enterprise adoption" href="http://www.slideshare.net/guest67a9ba/maven-application-lifecycle-management-for-alfresco" />
</menu>
<menu ref="reports" /> <menu ref="reports" />
<links>
<item name="Alfresco" href="http://www.alfresco.com/" />
<item name="Apache Maven" href="http://maven.apache.org/" />
</links>
</body> </body>
</project> </project>