-- worked around stupid maven site

-- fixed and updated docs

git-svn-id: http://maven-alfresco-archetypes.googlecode.com/svn/trunk@238 04253f4f-3451-0410-a141-5562f1e59037
This commit is contained in:
mindthegab
2009-11-06 18:18:26 +00:00
parent da7537444c
commit b4ad413055
19 changed files with 146 additions and 83 deletions

View File

@@ -28,11 +28,11 @@
minutes to have a compatible AMP module built and its lifecycle supported by Maven, in a fully transparent way also with open source available minutes to have a compatible AMP module built and its lifecycle supported by Maven, in a fully transparent way also with open source available
AMPs. AMPs.
</description> </description>
<url>${project.artifactId}</url>
<parent> <parent>
<groupId>com.sourcesense.alfresco</groupId> <groupId>com.sourcesense.alfresco</groupId>
<artifactId>maven-alfresco-archetypes</artifactId> <artifactId>maven-alfresco-archetypes</artifactId>
<version>1.9.0-SNAPSHOT</version> <version>1.9.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent> </parent>
<build> <build>
<extensions> <extensions>

View File

@@ -99,7 +99,7 @@
<dependency> <dependency>
<groupId>org.alfresco</groupId> <groupId>org.alfresco</groupId>
<artifactId>alfresco-repository</artifactId> <artifactId>alfresco-repository</artifactId>
<version>3.0Stable</version> <version>3.2r</version>
<scope>provided</scope> <scope>provided</scope>
<classifier>labs</classifier> <classifier>labs</classifier>
</dependency> </dependency>
@@ -412,7 +412,7 @@
<dependency> <dependency>
<groupId>org.alfresco</groupId> <groupId>org.alfresco</groupId>
<artifactId>alfresco</artifactId> <artifactId>alfresco</artifactId>
<version>3.0Stable</version> <version>3.0r</version>
<type>war</type> <type>war</type>
<classifier>labs</classifier> <classifier>labs</classifier>
</dependency> </dependency>

View File

@@ -23,7 +23,7 @@ Quick Start (maven2)
For a quick start you can a maven alfresco AMP project created by just running <<(maven 2.0.6+ required)>>: For a quick start you can a maven alfresco AMP project created by just running <<(maven 2.0.6+ required)>>:
-------------------------------------------- --------------------------------------------
mvn archetype:generate -DarchetypeCatalog=http://repository.sourcesense.com/maven2/archetype-catalog.xml mvn archetype:generate -DarchetypeCatalog=http://repository.sourcesense.com/nexus/content/repositories/alfresco.public.releases/archetype-catalog.xml
-------------------------------------------- --------------------------------------------
and then choose the option 'maven-alfresco-amp-archetype' and then choose the option 'maven-alfresco-amp-archetype'

View File

@@ -28,8 +28,8 @@
</menu> </menu>
<menu name="See also"> <menu name="See also">
<item name="Maven Alfresco Extension Archetype" href="http://repository.sourcesense.com/maven2-sites/maven-alfresco-extension-archetype"/> <item name="Maven Alfresco Extension Archetype" href="http://repository.sourcesense.com/nexus/content/repositories/alfresco.public.sites/maven-alfresco-lifecyle/maven-alfresco-archetypes/maven-alfresco-extension-archetype"/>
<item name="Maven AMP Plugin" href="http://repository.sourcesense.com/maven2-sites/maven-amp-plugin"/> <item name="Maven AMP Plugin" href="http://repository.sourcesense.com/nexus/content/repositories/alfresco.public.sites/maven-alfresco-lifecyle/plugins/maven-amp-plugin"/>
<item name="Alfresco AMP files" href="http://wiki.alfresco.com/wiki/AMP_Files" /> <item name="Alfresco AMP files" href="http://wiki.alfresco.com/wiki/AMP_Files" />
</menu> </menu>

View File

@@ -3,29 +3,28 @@
Licensed to the Apache Software Foundation (ASF) under one or more Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership. this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0 The ASF licenses this file to You under the Apache License, Version
(the "License"); you may not use this file except in compliance with 2.0 (the "License"); you may not use this file except in compliance
the License. You may obtain a copy of the License at with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
http://www.apache.org/licenses/LICENSE-2.0 Unless required by
applicable law or agreed to in writing, software distributed under the
License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
CONDITIONS OF ANY KIND, either express or implied. See the License for
the specific language governing permissions and limitations under the
License.
--> -->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<artifactId>maven-alfresco-extension-archetype</artifactId> <artifactId>maven-alfresco-extension-archetype</artifactId>
<packaging>maven-archetype</packaging> <packaging>maven-archetype</packaging>
<name>Maven alfresco Extension archetype</name> <name>Maven alfresco Extension archetype</name>
<url>${project.artifactId}</url>
<parent> <parent>
<groupId>com.sourcesense.alfresco</groupId> <groupId>com.sourcesense.alfresco</groupId>
<artifactId>maven-alfresco-archetypes</artifactId> <artifactId>maven-alfresco-archetypes</artifactId>
<version>1.9.0-SNAPSHOT</version> <version>1.9.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent> </parent>
<description> <description>
This archetype developed aims to provide a standardized approach to development, release and deployment of Alfresco extensions (as opposed to This archetype developed aims to provide a standardized approach to development, release and deployment of Alfresco extensions (as opposed to
@@ -44,8 +43,10 @@
<artifactId>archetype-packaging</artifactId> <artifactId>archetype-packaging</artifactId>
<version>2.0-alpha-2</version> <version>2.0-alpha-2</version>
</extension> </extension>
<!-- Unreleased version of webdav wagon plugin which fixes a boring stacktrace logging from this provider. <!--
FIXME: Improve the fix and submit the patch Unreleased version of webdav wagon plugin which fixes a boring
stacktrace logging from this provider. FIXME: Improve the fix and
submit the patch
--> -->
</extensions> </extensions>
</build> </build>

View File

@@ -62,7 +62,7 @@
<alfresco.db.name>alf_jetty</alfresco.db.name> <alfresco.db.name>alf_jetty</alfresco.db.name>
<alfresco.db.username>alfresco</alfresco.db.username> <alfresco.db.username>alfresco</alfresco.db.username>
<alfresco.db.password>alfresco</alfresco.db.password> <alfresco.db.password>alfresco</alfresco.db.password>
<alfresco.version>3.0Stable</alfresco.version> <alfresco.version>3.2r</alfresco.version>
<!-- Used for 2.1.0 --> <!-- Used for 2.1.0 -->
<desktop.action.package>org.alfresco.filesys.repo.desk</desktop.action.package> <desktop.action.package>org.alfresco.filesys.repo.desk</desktop.action.package>
<!-- Used for 2.9.0+ --> <!-- Used for 2.9.0+ -->

View File

@@ -23,7 +23,7 @@ Quick Start (maven2)
For a quick start you can a maven alfresco extension project created by just running <<(maven 2.0.6+ required)>>: For a quick start you can a maven alfresco extension project created by just running <<(maven 2.0.6+ required)>>:
-------------------------------------------- --------------------------------------------
mvn archetype:generate -DarchetypeCatalog=http://repository.sourcesense.com/maven2/archetype-catalog.xml mvn archetype:generate -DarchetypeCatalog=http://repository.sourcesense.com/nexus/content/repositories/alfresco.public.releases/archetype-catalog.xml
-------------------------------------------- --------------------------------------------
and then choose the option 'maven-alfresco-extension-archetype' and then choose the option 'maven-alfresco-extension-archetype'

View File

@@ -1,4 +1,5 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>com.sourcesense.alfresco</groupId> <groupId>com.sourcesense.alfresco</groupId>
<artifactId>maven-alfresco-archetypes</artifactId> <artifactId>maven-alfresco-archetypes</artifactId>
@@ -8,17 +9,28 @@
<description> <description>
This project is meant to gather all commons configurations and settings between the two maven-alfresco-*-archetypes, i.e. maven-alfresco-extension-archetype and maven-alfresco-amp-archetype This project is meant to gather all commons configurations and settings between the two maven-alfresco-*-archetypes, i.e. maven-alfresco-extension-archetype and maven-alfresco-amp-archetype
</description> </description>
<url>${project.artifactId}</url>
<parent> <parent>
<groupId>org.alfresco</groupId> <groupId>org.alfresco</groupId>
<artifactId>maven-alfresco-lifecycle</artifactId> <artifactId>maven-alfresco-lifecycle</artifactId>
<version>1.0.0-SNAPSHOT</version> <version>1.0.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent> </parent>
<organization>
<name>Sourcesense</name>
<url>http://www.sourcesense.com</url>
</organization>
<modules> <modules>
<module>maven-alfresco-amp-archetype</module> <module>maven-alfresco-amp-archetype</module>
<module>maven-alfresco-extension-archetype</module> <module>maven-alfresco-extension-archetype</module>
</modules> </modules>
<build> <build>
<extensions>
<extension>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-http-shared</artifactId>
<version>1.0-beta-6-patched</version>
</extension>
</extensions>
<plugins> <plugins>
<plugin> <plugin>
<artifactId>maven-archetype-plugin</artifactId> <artifactId>maven-archetype-plugin</artifactId>

View File

@@ -0,0 +1,24 @@
<?xml version="1.0"?>
<faqs id="Maven Alfresco Lifecycle FAQ">
<part id="Project modules">
<title>Backward compatibility</title>
<faq id="project">
<question>I'm lost in versions and repositories. Which one I should use?</question>
<answer>
<ul>
<li>As the introduction of the parent project maven-alfresco-lifecycle you can refer to it as the latest working version of the full support</li>
<li>You might (optionally) want to tweak specific modules versions (archetypes, plugins) in order to match the latest features</li>
</ul>
</answer>
</faq>
<faq id="howmany">
<question>I see many project aroud Maven and Alfresco (m2alfresco, maven4alfresco, this project). Is there a reference one?</question>
<answer>
<p>
The maven-alfresco-lifecycle project gathers all efforts made in previous projects and gather them
under a common application lifecycle management suite.
</p>
</answer>
</faq>
</part>
</faqs>

View File

@@ -0,0 +1 @@
.maven {}

View File

@@ -0,0 +1 @@
.maven {}

View File

@@ -18,7 +18,6 @@
AMPs and WARs. It is a modification of the org.apache.maven.plugins:maven-war-plugin of which it uses the whole core infrastructure. See AMPs and WARs. It is a modification of the org.apache.maven.plugins:maven-war-plugin of which it uses the whole core infrastructure. See
${site.url} for more info ${site.url} for more info
</description> </description>
<url>${project.artifactId}</url>
<properties> <properties>
<site_pom_description>${pom.description}</site_pom_description> <site_pom_description>${pom.description}</site_pom_description>
<site_pom_url>${pom.url}</site_pom_url> <site_pom_url>${pom.url}</site_pom_url>

View File

@@ -36,20 +36,19 @@ References
------------------------------------------- -------------------------------------------
using repository (either in POM or settings.xml) : using this pluginRepository (either in POM or settings.xml) :
------------------------------------------ ------------------------------------------
<repository> <pluginRepository>
<id>ss-public</id> <id>ss-public</id>
<url>http://repository.sourcesense.com/maven2</url> <url>http://repository.sourcesense.com/nexus/content/groups/public</url>
</repository> </pluginRepository>
------------------------------------------- -------------------------------------------
Quick usage Quick usage
Create a project using the maven-alfresco-amp-archetype (see {{ http://repository.sourcesense.com/maven2-sites/maven-alfresco-amp-archetype }} ). Create a project using the maven-alfresco-amp-archetype (see {{ http://repository.sourcesense.com/nexus/content/repositories/alfresco.public.sites/maven-alfresco-lifecycle/maven-alfresco-archetypes/maven-alfresco-amp-archetype/index.html }} ).

View File

@@ -6,7 +6,6 @@
<version>0.0.5-SNAPSHOT</version> <version>0.0.5-SNAPSHOT</version>
<name>Custom version manipulator Maven Plugin</name> <name>Custom version manipulator Maven Plugin</name>
<description>It's non invasive and puts modified versions in configurable pom properties</description> <description>It's non invasive and puts modified versions in configurable pom properties</description>
<url>${project.artifactId}</url>
<parent> <parent>
<groupId>org.alfresco</groupId> <groupId>org.alfresco</groupId>
<artifactId>maven-alfresco-lifecycle</artifactId> <artifactId>maven-alfresco-lifecycle</artifactId>

45
pom.xml
View File

@@ -6,11 +6,7 @@
<packaging>pom</packaging> <packaging>pom</packaging>
<version>1.0.0-SNAPSHOT</version> <version>1.0.0-SNAPSHOT</version>
<name>Maven Alfresco Lifecycle support base project</name> <name>Maven Alfresco Lifecycle support base project</name>
<parent> <url>http://repository.sourcesense.com/nexus/content/repositories/alfresco.public.sites/maven-alfresco-lifecycle</url>
<groupId>com.sourcesense.maven</groupId>
<artifactId>maven-calm</artifactId>
<version>1.0-beta-21</version>
</parent>
<description> <description>
This project is meant to gather all commons configurations, plugins and archetypes This project is meant to gather all commons configurations, plugins and archetypes
for the full Maven Alfresco lifecycle support for the full Maven Alfresco lifecycle support
@@ -20,8 +16,8 @@
<url>http://code.google.com/p/maven-alfresco-archetypes/issues/list</url> <url>http://code.google.com/p/maven-alfresco-archetypes/issues/list</url>
</issueManagement> </issueManagement>
<organization> <organization>
<name>Sourcesense</name> <name>Alfresco</name>
<url>http://www.sourcesense.com</url> <url>http://www.alfresco.com</url>
</organization> </organization>
<modules> <modules>
<module>maven-alfresco-archetypes</module> <module>maven-alfresco-archetypes</module>
@@ -32,18 +28,17 @@
<svn.base.url>https://maven-alfresco-archetypes.googlecode.com/svn</svn.base.url> <svn.base.url>https://maven-alfresco-archetypes.googlecode.com/svn</svn.base.url>
<svn.url>${svn.base.url}/trunk</svn.url> <svn.url>${svn.base.url}/trunk</svn.url>
<svn.tags.url>${svn.base.url}/tags</svn.tags.url> <svn.tags.url>${svn.base.url}/tags</svn.tags.url>
<site.url>http://repository.sourcesense.com/nexus/content/repositories/alfresco.public.sites/${pom.artifactId}</site.url>
<!-- <!--
These redundancies are due to filtering issues of Maven. See here These redundancies are due to filtering issues of Maven. See here
http://maven.apache.org/plugins/maven-site-plugin/usage.html http://maven.apache.org/plugins/maven-site-plugin/usage.html
--> -->
<site_pom_description>${pom.description}</site_pom_description> <site_pom_description>${pom.description}</site_pom_description>
<site_pom_url>${pom.organization.url}</site_pom_url> <site_pom_url>${project.url}</site_pom_url>
<site_pom_groupId>${pom.groupId}</site_pom_groupId> <site_pom_groupId>${project.groupId}</site_pom_groupId>
<site_pom_artifactId>${pom.artifactId}</site_pom_artifactId> <site_pom_artifactId>${project.artifactId}</site_pom_artifactId>
<site_pom_version>${pom.version}</site_pom_version> <site_pom_version>${project.version}</site_pom_version>
<site_tags_url>${svn.tags.url}</site_tags_url> <site_tags_url>${svn.tags.url}</site_tags_url>
<site_site_url>${site.url}</site_site_url> <site_site_url>${project.url}</site_site_url>
</properties> </properties>
<scm> <scm>
<connection>scm:svn:${svn.url}</connection> <connection>scm:svn:${svn.url}</connection>
@@ -113,6 +108,17 @@
</mailingLists> </mailingLists>
<build> <build>
<plugins> <plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.5</source>
<target>1.5</target>
</configuration>
</plugin>
<plugin>
<artifactId>maven-site-plugin</artifactId>
<version>2.0.1</version>
</plugin>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-changes-plugin</artifactId> <artifactId>maven-changes-plugin</artifactId>
@@ -162,6 +168,13 @@
</configuration> </configuration>
</plugin> </plugin>
</plugins> </plugins>
<extensions>
<extension>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-webdav-jackrabbit</artifactId>
<version>1.0-beta-6</version>
</extension>
</extensions>
</build> </build>
<reporting> <reporting>
<plugins> <plugins>
@@ -199,10 +212,6 @@
</reportSet> </reportSet>
</reportSets> </reportSets>
</plugin> </plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>changelog-maven-plugin</artifactId>
</plugin>
</plugins> </plugins>
</reporting> </reporting>
<distributionManagement> <distributionManagement>
@@ -216,7 +225,7 @@
</snapshotRepository> </snapshotRepository>
<site> <site>
<id>ss-public-sites</id> <id>ss-public-sites</id>
<url>dav:http://repository.sourcesense.com/nexus/content/repositories/alfresco.public.sites/${project.artifactId}</url> <url>dav:http://repository.sourcesense.com/nexus/content/repositories/alfresco.public.sites/maven-alfresco-lifecycle</url>
</site> </site>
</distributionManagement> </distributionManagement>
</project> </project>

View File

@@ -0,0 +1 @@
.pippo {}

View File

@@ -6,11 +6,12 @@
</skin> </skin>
<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" href="http://www.sourcesense.com" /> <logo name="Alfresco - Open source ECM" img="http://alfresco.com/assets/images/icons/powered_by_alfresco.gif"
href="http://www.alfresco.com" />
</poweredBy> </poweredBy>
<publishDate position="navigation-bottom" format="MM-dd-yy" /> <publishDate position="navigation-bottom" format="MM-dd-yy" />
<bannerLeft> <bannerLeft>
<name>Maven Alfresco Lifecycle support - v. ${project.version}</name> <name>Maven Alfresco Lifecycle Support - v. ${project.version}</name>
<href>${site_site_url}</href> <href>${site_site_url}</href>
<src>images/logo_noclaim.png</src> <src>images/logo_noclaim.png</src>
</bannerLeft> </bannerLeft>
@@ -18,14 +19,28 @@
<links> <links>
<item name="Maven" href="http://maven.apache.org/" /> <item name="Maven" href="http://maven.apache.org/" />
<item name="Apache" href="http://www.apache.org/" /> <item name="Apache" href="http://www.apache.org/" />
<item name="Alfresco" href="http://www.afresco.com/"/> <item name="Alfresco" href="http://www.alfresco.org/" />
<item name="Project founder" href="http://www.mindthegab.com/" />
</links> </links>
<menu ref="modules" inherit="bottom"/>
<menu ref="parent" inherit="bottom"/>
<menu ref="modules"> <menu name="Maven2 Lifecycle Alfresco Support Resources">
<item name="Enterprise use case" href="http://www.slideshare.net/guest67a9ba/maven-application-lifecycle-management-for-alfresco" />
<item name="Alfresco wiki Maven howto" href="http://wiki.alfresco.com/wiki/Managing_Alfresco_Lifecyle_with_Maven" />
<item name="Third party how to" href="http://www.cybermagic.co.nz/wiki/display/CM/Building+Alfresco+apps+with+Maven" />
<item name="FAQ" href="faq.html" />
</menu>
<menu name="See also">
<item name="Maven Alfresco AMP Archetype" href="http://repository.sourcesense.com/maven2-sites/maven-alfresco-amp-archetype" />
<item name="Maven AMP Plugin" href="http://repository.sourcesense.com/maven2-sites/maven-amp-plugin" />
<item name="Third party how to" href="http://www.cybermagic.co.nz/wiki/display/CM/Building+Alfresco+apps+with+Maven" />
</menu> </menu>
<menu ref="reports" /> <menu ref="reports" />
</body> </body>
</project> </project>