[maven-release-plugin] copy for tag maven-alfresco-lifecycle-1.0.0

git-svn-id: http://maven-alfresco-archetypes.googlecode.com/svn/tags/maven-alfresco-lifecycle-1.0.0@248 04253f4f-3451-0410-a141-5562f1e59037
This commit is contained in:
mindthegab
2009-11-07 15:32:47 +00:00
30 changed files with 997 additions and 228 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
AMPs.
</description>
<url>${project.artifactId}</url>
<parent>
<groupId>com.sourcesense.alfresco</groupId>
<artifactId>maven-alfresco-archetypes</artifactId>
<version>1.9.0</version>
<relativePath>../pom.xml</relativePath>
</parent>
<build>
<extensions>

View File

@@ -4,6 +4,14 @@
<author email="g.columbro@sourcesense.com">Gabriele Columbro</author>
</properties>
<body>
<release version="1.9.0" date="2009-11-07" description="Public release alfresco 3.2r based">
<action dev="g.columbro" type="add">
Updated to Alfresco 3.2r artifacts
</action>
<action dev="g.columbro" type="add">
Updated to new Sourcesense repository
</action>
</release>
<release version="1.0.0" date="2008-07-06" description="Public release">
<action dev="g.columbro" type="add">
Added full AMP lifecycle management

View File

@@ -45,7 +45,7 @@
</repositories>
<pluginRepositories>
<pluginRepository>
<id>ss-public</id>
<id>ss-public-mirror</id>
<url>http://repository.sourcesense.com/nexus/content/groups/public</url>
</pluginRepository>
<pluginRepository>
@@ -99,9 +99,9 @@
<dependency>
<groupId>org.alfresco</groupId>
<artifactId>alfresco-repository</artifactId>
<version>3.0Stable</version>
<version>3.2r</version>
<scope>provided</scope>
<classifier>labs</classifier>
<classifier>community</classifier>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
@@ -273,7 +273,7 @@
<dependency>
<groupId>org.alfresco.maven.plugin</groupId>
<artifactId>maven-amp-plugin</artifactId>
<version>2.0.0</version>
<version>3.0.1-SNAPSHOT</version>
</dependency>
</dependencies>
</plugin>
@@ -412,9 +412,9 @@
<dependency>
<groupId>org.alfresco</groupId>
<artifactId>alfresco</artifactId>
<version>3.0Stable</version>
<version>3.2r</version>
<type>war</type>
<classifier>labs</classifier>
<classifier>community</classifier>
</dependency>
</dependencies>
</profile>

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)>>:
--------------------------------------------
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'

View File

@@ -28,8 +28,8 @@
</menu>
<menu name="See also">
<item name="Maven Alfresco Extension Archetype" href="http://repository.sourcesense.com/maven2-sites/maven-alfresco-extension-archetype"/>
<item name="Maven AMP Plugin" href="http://repository.sourcesense.com/maven2-sites/maven-amp-plugin"/>
<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/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" />
</menu>

View File

@@ -1,31 +1,29 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
The ASF licenses this file to You under the Apache License, Version
2.0 (the "License"); you may not use this file except in compliance
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">
<modelVersion>4.0.0</modelVersion>
<artifactId>maven-alfresco-extension-archetype</artifactId>
<packaging>maven-archetype</packaging>
<name>Maven alfresco Extension archetype</name>
<url>${project.artifactId}</url>
<parent>
<groupId>com.sourcesense.alfresco</groupId>
<artifactId>maven-alfresco-archetypes</artifactId>
<version>1.9.0</version>
<relativePath>../pom.xml</relativePath>
</parent>
<description>
This archetype developed aims to provide a standardized approach to development, release and deployment of Alfresco extensions (as opposed to
@@ -44,8 +42,10 @@
<artifactId>archetype-packaging</artifactId>
<version>2.0-alpha-2</version>
</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>
</build>

View File

@@ -4,6 +4,14 @@
<author email="g.columbro@sourcesense.com">Gabriele Columbro</author>
</properties>
<body>
<release version="1.9.0" date="2009-11-07" description="Public release alfresco 3.2r based">
<action dev="g.columbro" type="add">
Updated to Alfresco 3.2r artifacts
</action>
<action dev="g.columbro" type="add">
Updated to new Sourcesense repository
</action>
</release>
<release version="1.1.0" date="2008-07-11" description="Public release">
<action dev="g.columbro" type="add">
Added full AMP lifecycle management.

View File

@@ -6,6 +6,13 @@
<include>**/*.java</include>
</includes>
</fileSet>
<fileSet filtered="true" encoding="UTF-8">
<directory>src/main/webapp</directory>
<includes>
<include>**/*.xml</include>
<include>**/*.txt</include>
</includes>
</fileSet>
<fileSet filtered="true" encoding="UTF-8">
<directory>src/main/properties</directory>
<includes>

View File

@@ -34,6 +34,7 @@
<resource>src/main/resources/alfresco/extension/web-client-config-custom.xml</resource>
<resource>src/main/resources/alfresco/extension/webclient.properties</resource>
<resource>src/main/resources/log4j.properties</resource>
<resource>src/main/webapp/WEB-INF/web.xml</resource>
<resource>src/main/webapp/WEB-INF/README-WEB-INF.txt</resource>
<resource>src/main/webapp/WEB-INF/faces-config-custom.xml</resource>
<resource>tools/ant/tasks/tomcat-tasks.properties</resource>

View File

@@ -28,6 +28,10 @@
<description>Alfresco extension</description>
<!--
|
| Prerequisite:
| - Mysql local instance running and db alf_jetty created with permissions for alfresco/alfresco user.
|
| How it works:
| By default the project is overlayed to the alfresco war which depends upon and deployed as a WAR (local development and testing purposes)
| Available properties:
|
@@ -62,7 +66,7 @@
<alfresco.db.name>alf_jetty</alfresco.db.name>
<alfresco.db.username>alfresco</alfresco.db.username>
<alfresco.db.password>alfresco</alfresco.db.password>
<alfresco.version>3.0Stable</alfresco.version>
<alfresco.version>3.2r</alfresco.version>
<!-- Used for 2.1.0 -->
<desktop.action.package>org.alfresco.filesys.repo.desk</desktop.action.package>
<!-- Used for 2.9.0+ -->
@@ -101,7 +105,7 @@
</repositories>
<pluginRepositories>
<pluginRepository>
<id>ss-public</id>
<id>ss-public-mirror</id>
<url>http://repository.sourcesense.com/nexus/content/groups/public</url>
</pluginRepository>
<pluginRepository>
@@ -130,7 +134,7 @@
<artifactId>alfresco</artifactId>
<version>${alfresco.version}</version>
<type>war</type>
<classifier>labs</classifier>
<classifier>community</classifier>
</dependency>
<!-- All provided libs (as contained in the war dependency) but useful for development (e.g. IDE configuration) -->
<dependency>
@@ -138,28 +142,28 @@
<artifactId>alfresco-web-client</artifactId>
<version>${alfresco.version}</version>
<scope>provided</scope>
<classifier>labs</classifier>
<classifier>community</classifier>
</dependency>
<dependency>
<groupId>org.alfresco</groupId>
<artifactId>alfresco-core</artifactId>
<version>${alfresco.version}</version>
<scope>provided</scope>
<classifier>labs</classifier>
<classifier>community</classifier>
</dependency>
<dependency>
<groupId>org.alfresco</groupId>
<artifactId>alfresco-repository</artifactId>
<version>${alfresco.version}</version>
<scope>provided</scope>
<classifier>labs</classifier>
<classifier>community</classifier>
</dependency>
<dependency>
<groupId>org.alfresco</groupId>
<artifactId>alfresco-remote-api</artifactId>
<version>${alfresco.version}</version>
<scope>provided</scope>
<classifier>labs</classifier>
<classifier>community</classifier>
</dependency>
<!-- Sample of AMP dependency that will be properly uncompressed in the Alfresco WAR (no more need for AMP):
@@ -229,7 +233,7 @@
<filtering>true</filtering>
</resource>
<resource>
<directory>tools/mysql</directory>
<directory>${project.basedire}tools/mysql</directory>
<includes>
<include>*.sql</include>
</includes>
@@ -287,7 +291,7 @@
<dependency>
<groupId>org.alfresco.maven.plugin</groupId>
<artifactId>maven-amp-plugin</artifactId>
<version>2.0.0</version>
<version>3.0.1-SNAPSHOT</version>
</dependency>
</dependencies>
</plugin>
@@ -306,6 +310,7 @@
<plugin>
<groupId>org.mortbay.jetty</groupId>
<artifactId>maven-jetty-plugin</artifactId>
<version>6.1.21</version>
<executions>
<!-- Runs jetty when 'integration-test' phase is called -->
<execution>
@@ -431,13 +436,13 @@
| Enable this repo in case of publicly redistributable artifacts (Sourcesense public repositories via ssh + public key )
|
<repository>
<id>ss-public</id>
<url>scp://repository.sourcesense.com/var/www/demo.sourcesense.com/maven2</url>
<id>yourcompany</id>
<url>scp://yourcompany/var/maven2</url>
</repository>
<distributionManagement>
<site>
<id>ss-site-public</id>
<url>scp://repository.sourcesense.com/var/www/demo.sourcesense.com/maven2-sites</url>
<id>yourcompany-site</id>
<url>scp://yourcompany/var/maven2-sites</url>
</site>
-->
<!--

View File

@@ -0,0 +1,645 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE web-app PUBLIC
"-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
<display-name>Alfresco Web Client</display-name>
<description>Alfresco Web Client</description>
<context-param>
<param-name>org.jboss.jbossfaces.WAR_BUNDLES_JSF_IMPL</param-name>
<param-value>true</param-value>
</context-param>
<context-param>
<param-name>javax.faces.STATE_SAVING_METHOD</param-name>
<param-value>server</param-value>
</context-param>
<context-param>
<param-name>javax.faces.CONFIG_FILES</param-name>
<param-value>/WEB-INF/faces-config-app.xml,/WEB-INF/faces-config-beans.xml,/WEB-INF/faces-config-navigation.xml,/WEB-INF/faces-config-common.xml,/WEB-INF/faces-config-repo.xml,/WEB-INF/faces-config-wcm.xml,/WEB-INF/faces-config-custom.xml</param-value>
</context-param>
<context-param>
<param-name>org.apache.myfaces.ALLOW_JAVASCRIPT</param-name>
<param-value>true</param-value>
</context-param>
<context-param>
<param-name>org.apache.myfaces.DETECT_JAVASCRIPT</param-name>
<param-value>false</param-value>
<description>This is an EXPERIMENTAL feature, so leave it off for now!</description>
</context-param>
<context-param>
<param-name>org.apache.myfaces.SERIALIZE_STATE_IN_SESSION</param-name>
<param-value>false</param-value>
<description>Stop MyFaces from Serializing the state to the session</description>
</context-param>
<!-- TODO: Change this to false for production -->
<context-param>
<param-name>org.apache.myfaces.PRETTY_HTML</param-name>
<param-value>true</param-value>
<description>
If true, rendered HTML code will be formatted, so that it is "human readable".
i.e. additional line separators and whitespace will be written, that do not
influence the HTML code.
Default: "true"
</description>
</context-param>
<context-param>
<param-name>org.apache.myfaces.AUTO_SCROLL</param-name>
<param-value>false</param-value>
<description>
If true, a javascript function will be rendered that is able to restore the
former vertical scroll on every request. Convenient feature if you have pages
with long lists and you do not want the browser page to always jump to the top
if you trigger a link or button action that stays on the same page.
Default: "false"
</description>
</context-param>
<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>/WEB-INF/web-application-context.xml</param-value>
<description>Spring config file location</description>
</context-param>
<context-param>
<param-name>contextClass</param-name>
<param-value>org.alfresco.config.JBossEnabledWebApplicationContext</param-value>
<description>Spring context class</description>
</context-param>
<context-param>
<param-name>log4jExposeWebAppRoot</param-name>
<param-value>false</param-value>
<description>Do not try to resolve web app root as file</description>
</context-param>
<!-- These were previously init params for the WebDAV servlet,
but since they are also needed to MT-enable the
ExternalAccess servlet, I have made them context wide. -->
<context-param>
<param-name>store</param-name>
<param-value>workspace://SpacesStore</param-value>
</context-param>
<context-param>
<param-name>rootPath</param-name>
<param-value>/app:company_home</param-value>
</context-param>
<filter>
<filter-name>Authentication Filter</filter-name>
<description>Authentication filter mapped only to faces URLs. Other URLs generally use proprietary means to talk to the AuthenticationComponent</description>
<filter-class>org.alfresco.repo.web.filter.beans.BeanProxyFilter</filter-class>
<init-param>
<param-name>beanName</param-name>
<param-value>AuthenticationFilter</param-value>
</init-param>
<!-- For Novell IChain support use the following filter -->
<!--
<filter-class>org.alfresco.web.app.servlet.HTTPRequestAuthenticationFilter</filter-class>
<init-param>
<param-name>httpServletRequestAuthHeaderName</param-name>
<param-value>x-user</param-value>
</init-param>
<init-param>
<param-name>authPatternString</param-name>
<param-value>.*</param-value>
</init-param>
-->
</filter>
<filter>
<filter-name>Global Authentication Filter</filter-name>
<description>Authentication filter mapped to all authenticated URLs (except web scripts). Mainly for NTLM support</description>
<filter-class>org.alfresco.repo.web.filter.beans.BeanProxyFilter</filter-class>
<init-param>
<param-name>beanName</param-name>
<param-value>GlobalAuthenticationFilter</param-value>
</init-param>
</filter>
<filter>
<filter-name>WebScript Authentication Filter</filter-name>
<description>Authentication filter mapped to web script URLs. Mainly for NTLM support</description>
<filter-class>org.alfresco.repo.web.filter.beans.BeanProxyFilter</filter-class>
<init-param>
<param-name>beanName</param-name>
<param-value>WebscriptAuthenticationFilter</param-value>
</init-param>
</filter>
<filter>
<filter-name>WebDAV Authentication Filter</filter-name>
<filter-class>org.alfresco.repo.web.filter.beans.BeanProxyFilter</filter-class>
<init-param>
<param-name>beanName</param-name>
<param-value>WebDavAuthenticationFilter</param-value>
</init-param>
</filter>
<filter>
<filter-name>Admin Authentication Filter</filter-name>
<filter-class>org.alfresco.web.app.servlet.AdminAuthenticationFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>Global Authentication Filter</filter-name>
<url-pattern>/navigate/*</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>Global Authentication Filter</filter-name>
<url-pattern>/command/*</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>Global Authentication Filter</filter-name>
<url-pattern>/download/*</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>Global Authentication Filter</filter-name>
<url-pattern>/template/*</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>Global Authentication Filter</filter-name>
<url-pattern>/n/*</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>Global Authentication Filter</filter-name>
<url-pattern>/c/*</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>Global Authentication Filter</filter-name>
<url-pattern>/t/*</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>Global Authentication Filter</filter-name>
<url-pattern>/d/*</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>WebScript Authentication Filter</filter-name>
<url-pattern>/wcservice/*</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>WebScript Authentication Filter</filter-name>
<url-pattern>/wcs/*</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>Global Authentication Filter</filter-name>
<url-pattern>/ajax/*</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>Global Authentication Filter</filter-name>
<url-pattern>/faces/*</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>Authentication Filter</filter-name>
<url-pattern>/faces/*</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>WebDAV Authentication Filter</filter-name>
<url-pattern>/webdav/*</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>Admin Authentication Filter</filter-name>
<url-pattern>/faces/jsp/admin/*</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>Admin Authentication Filter</filter-name>
<url-pattern>/faces/jsp/categories/*</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>Admin Authentication Filter</filter-name>
<url-pattern>/faces/jsp/groups/*</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>Admin Authentication Filter</filter-name>
<url-pattern>/faces/jsp/users/delete-user.jsp</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>Admin Authentication Filter</filter-name>
<url-pattern>/faces/jsp/users/users.jsp</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>Admin Authentication Filter</filter-name>
<url-pattern>/faces/jsp/admin/system-info.jsp</url-pattern>
</filter-mapping>
<listener>
<listener-class>org.apache.myfaces.webapp.StartupServletContextListener</listener-class>
</listener>
<listener>
<listener-class>org.springframework.web.util.Log4jConfigListener</listener-class>
</listener>
<listener>
<listener-class>org.alfresco.web.app.ContextLoaderListener</listener-class>
</listener>
<listener>
<listener-class>org.alfresco.web.app.ContextListener</listener-class>
</listener>
<!-- Faces Servlet -->
<servlet>
<servlet-name>Faces Servlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet>
<servlet-name>uploadFile</servlet-name>
<servlet-class>org.alfresco.web.app.servlet.UploadFileServlet</servlet-class>
</servlet>
<servlet>
<servlet-name>uploadContent</servlet-name>
<servlet-class>org.alfresco.web.app.servlet.UploadContentServlet</servlet-class>
</servlet>
<servlet>
<servlet-name>downloadContent</servlet-name>
<servlet-class>org.alfresco.web.app.servlet.DownloadContentServlet</servlet-class>
</servlet>
<servlet>
<servlet-name>downloadRawContent</servlet-name>
<servlet-class>org.alfresco.web.app.servlet.DownloadRawContentServlet</servlet-class>
</servlet>
<servlet>
<servlet-name>guestDownloadContent</servlet-name>
<servlet-class>org.alfresco.web.app.servlet.GuestDownloadContentServlet</servlet-class>
</servlet>
<servlet>
<servlet-name>guestTemplateContent</servlet-name>
<servlet-class>org.alfresco.web.app.servlet.GuestTemplateContentServlet</servlet-class>
</servlet>
<servlet>
<servlet-name>externalAccess</servlet-name>
<servlet-class>org.alfresco.web.app.servlet.ExternalAccessServlet</servlet-class>
</servlet>
<servlet>
<servlet-name>templateContent</servlet-name>
<servlet-class>org.alfresco.web.app.servlet.TemplateContentServlet</servlet-class>
</servlet>
<servlet>
<servlet-name>commandServlet</servlet-name>
<servlet-class>org.alfresco.web.app.servlet.CommandServlet</servlet-class>
</servlet>
<servlet>
<servlet-name>ajaxServlet</servlet-name>
<servlet-class>org.alfresco.web.app.servlet.ajax.AjaxServlet</servlet-class>
</servlet>
<servlet>
<servlet-name>axis</servlet-name>
<servlet-class>org.apache.axis.transport.http.AxisServlet</servlet-class>
<load-on-startup>5</load-on-startup>
</servlet>
<servlet>
<servlet-name>CXFServlet</servlet-name>
<servlet-class>org.apache.cxf.transport.servlet.CXFServlet</servlet-class>
<load-on-startup>6</load-on-startup>
</servlet>
<servlet>
<servlet-name>WebDAV</servlet-name>
<servlet-class>org.alfresco.repo.webdav.WebDAVServlet</servlet-class>
<load-on-startup>5</load-on-startup>
</servlet>
<servlet>
<servlet-name>apiServlet</servlet-name>
<servlet-class>org.alfresco.web.scripts.servlet.WebScriptServlet</servlet-class>
<init-param>
<param-name>authenticator</param-name>
<param-value>webscripts.authenticator.basic</param-value>
</init-param>
</servlet>
<servlet>
<servlet-name>wcapiServlet</servlet-name>
<servlet-class>org.alfresco.web.scripts.servlet.WebScriptServlet</servlet-class>
<init-param>
<param-name>authenticator</param-name>
<param-value>webscripts.authenticator.webclient</param-value>
</init-param>
</servlet>
<servlet>
<servlet-name>portalapiServlet</servlet-name>
<servlet-class>org.alfresco.web.scripts.servlet.WebScriptServlet</servlet-class>
<init-param>
<param-name>authenticator</param-name>
<param-value>webscripts.authenticator.webclient</param-value>
</init-param>
</servlet>
<servlet>
<servlet-name>facebookServlet</servlet-name>
<servlet-class>org.alfresco.web.scripts.facebook.FacebookServlet</servlet-class>
<init-param>
<param-name>authenticator</param-name>
<param-value>webscripts.authenticator.facebook</param-value>
</init-param>
</servlet>
<servlet>
<servlet-name>fbapiServlet</servlet-name>
<servlet-class>org.alfresco.web.scripts.facebook.FacebookAPIServlet</servlet-class>
<init-param>
<param-name>authenticator</param-name>
<param-value>webscripts.authenticator.facebook</param-value>
</init-param>
</servlet>
<servlet>
<servlet-name>proxyServlet</servlet-name>
<servlet-class>org.alfresco.web.scripts.servlet.HTTPProxyServlet</servlet-class>
</servlet>
<servlet>
<servlet-name>workflowDefinitionImageServlet</servlet-name>
<servlet-class>org.alfresco.web.app.servlet.WorkflowDefinitionImageServlet</servlet-class>
</servlet>
<servlet>
<servlet-name>JBPMDeployProcessServlet</servlet-name>
<servlet-class>org.alfresco.web.app.servlet.JBPMDeployProcessServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>/faces/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>uploadFile</servlet-name>
<url-pattern>/uploadFileServlet</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>uploadContent</servlet-name>
<url-pattern>/upload/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>downloadContent</servlet-name>
<url-pattern>/download/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>downloadContent</servlet-name>
<url-pattern>/d/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>downloadRawContent</servlet-name>
<url-pattern>/dr</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>guestDownloadContent</servlet-name>
<url-pattern>/guestDownload/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>guestDownloadContent</servlet-name>
<url-pattern>/gd/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>templateContent</servlet-name>
<url-pattern>/template/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>templateContent</servlet-name>
<url-pattern>/t/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>guestTemplateContent</servlet-name>
<url-pattern>/guestTemplate/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>guestTemplateContent</servlet-name>
<url-pattern>/gt/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>externalAccess</servlet-name>
<url-pattern>/navigate/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>externalAccess</servlet-name>
<url-pattern>/n/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>commandServlet</servlet-name>
<url-pattern>/command/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>commandServlet</servlet-name>
<url-pattern>/c/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>ajaxServlet</servlet-name>
<url-pattern>/ajax/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>axis</servlet-name>
<url-pattern>/api/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>CXFServlet</servlet-name>
<url-pattern>/cmis/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>WebDAV</servlet-name>
<url-pattern>/webdav/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>apiServlet</servlet-name>
<url-pattern>/service/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>apiServlet</servlet-name>
<url-pattern>/s/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>wcapiServlet</servlet-name>
<url-pattern>/wcservice/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>wcapiServlet</servlet-name>
<url-pattern>/wcs/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>portalapiServlet</servlet-name>
<url-pattern>/168service/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>portalapiServlet</servlet-name>
<url-pattern>/168s/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>facebookServlet</servlet-name>
<url-pattern>/facebook/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>facebookServlet</servlet-name>
<url-pattern>/fb/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>fbapiServlet</servlet-name>
<url-pattern>/fbservice/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>fbapiServlet</servlet-name>
<url-pattern>/fbs/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>proxyServlet</servlet-name>
<url-pattern>/proxy</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>JBPMDeployProcessServlet</servlet-name>
<url-pattern>/jbpm/deployprocess</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>workflowDefinitionImageServlet</servlet-name>
<url-pattern>/workflowdefinitionimage/*</url-pattern>
</servlet-mapping>
<session-config>
<session-timeout>60</session-timeout>
</session-config>
<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
<error-page>
<exception-type>java.lang.Exception</exception-type>
<location>/jsp/error.jsp</location>
</error-page>
<!-- GC: Commented out for jetty running. -->
<!-- <resource-ref>-->
<!-- <description>The Alfresco database connection</description>-->
<!-- <res-ref-name>jdbc/dataSource</res-ref-name>-->
<!-- <res-type>javax.sql.DataSource</res-type>-->
<!-- <res-auth>Container</res-auth>-->
<!-- <res-sharing-scope>Unshareable</res-sharing-scope>-->
<!-- </resource-ref>-->
<env-entry>
<description>A flag that globally enables or disables startup of the major Alfresco subsystems.</description>
<env-entry-name>properties/startup.enable</env-entry-name>
<env-entry-value>true</env-entry-value>
<env-entry-type>java.lang.Boolean</env-entry-type>
</env-entry>
<env-entry>
<description>The filesystem directory below which content and index data is stored. Should be on a shared disk
if this is a clustered installation.</description>
<env-entry-name>properties/dir.root</env-entry-name>
<env-entry-value/> <!-- Empty value included for JBoss compatibility -->
<env-entry-type>java.lang.String</env-entry-type>
</env-entry>
<env-entry>
<description>The fully qualified name of a org.hibernate.dialect.Dialect subclass that allows Hibernate to
generate SQL optimized for a particular relational database. Choose from org.hibernate.dialect.DerbyDialect,
org.hibernate.dialect.MySQLInnoDBDialect,
org.alfresco.repo.domain.hibernate.dialect.AlfrescoOracle9Dialect,
org.alfresco.repo.domain.hibernate.dialect.AlfrescoSybaseAnywhereDialect,
org.alfresco.repo.domain.hibernate.dialect.AlfrescoSQLServerDialect, org.hibernate.dialect.PostgreSQLDialect</description>
<env-entry-name>properties/hibernate.dialect</env-entry-name>
<env-entry-value/> <!-- Empty value included for JBoss compatibility -->
<env-entry-type>java.lang.String</env-entry-type>
</env-entry>
<env-entry>
<description>Mapping from tokens in Hibernate queries to SQL tokens. For PostgreSQL, set this to "true
TRUE, false FALSE".</description>
<env-entry-name>properties/hibernate.query.substitutions</env-entry-name>
<env-entry-value/> <!-- Empty value included for JBoss compatibility -->
<env-entry-type>java.lang.String</env-entry-type>
</env-entry>
<env-entry>
<description>Enable use of JDBC3 PreparedStatement.getGeneratedKeys() to retrieve natively generated keys
after insert. Requires JDBC3+ driver. Set to false if your driver has problems with the Hibernate identifier
generators. By default, tries to determine the driver capabilities using connection metadata. </description>
<env-entry-name>properties/hibernate.jdbc.use_get_generated_keys</env-entry-name>
<env-entry-value/> <!-- Empty value included for JBoss compatibility -->
<env-entry-type>java.lang.String</env-entry-type>
</env-entry>
<env-entry>
<description>Qualify unqualified table names with the given schema/tablespace in generated SQL. It may be
necessary to set this when the target database has more than one schema.</description>
<env-entry-name>properties/hibernate.default_schema</env-entry-name>
<env-entry-value/> <!-- Empty value included for JBoss compatibility -->
<env-entry-type>java.lang.String</env-entry-type>
</env-entry>
</web-app>

View File

@@ -22,13 +22,16 @@ Full documentation
You can also download the full application manual {{{books/pdf/manual/manual.pdf} PDF}} or {{{books/rtf/manual/manual.rtf} RTF}} format.
Quick Start (maven2)
Prerequisite: Mysql running locally with empty db.name = alf_jetty and permissions for user alfresco/alfresco.
For a quick start you can a run alfresco extension project by just running <<(maven 2.0.6+ required)>>:
--------------------------------------------
mvn jetty:run-exploded
mvn integration-test
--------------------------------------------

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)>>:
--------------------------------------------
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'

View File

@@ -8,17 +8,28 @@
<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
</description>
<url>${project.artifactId}</url>
<parent>
<groupId>org.alfresco</groupId>
<artifactId>maven-alfresco-lifecycle</artifactId>
<version>1.0.0</version>
<relativePath>../pom.xml</relativePath>
</parent>
<organization>
<name>Sourcesense</name>
<url>http://www.sourcesense.com</url>
</organization>
<modules>
<module>maven-alfresco-amp-archetype</module>
<module>maven-alfresco-extension-archetype</module>
</modules>
<build>
<extensions>
<extension>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-http-shared</artifactId>
<version>1.0-beta-6-patched</version>
</extension>
</extensions>
<plugins>
<plugin>
<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
${site.url} for more info
</description>
<url>${project.artifactId}</url>
<properties>
<site_pom_description>${pom.description}</site_pom_description>
<site_pom_url>${pom.url}</site_pom_url>

View File

@@ -3,6 +3,9 @@
<title>Maven AMP plugin</title>
</properties>
<body>
<release version="3.0.1" date="2009-11-06" description="Alfresco 3.0.1 embedded in Maven Alfresco Lifecycle Release">
</release>
<release version="3.0.0" date="2009-02-20" description="Alfresco 3.0 Reday Public stable release">
</release>

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>
<url>http://repository.sourcesense.com/maven2</url>
</repository>
<url>http://repository.sourcesense.com/nexus/content/groups/public</url>
</pluginRepository>
-------------------------------------------
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

@@ -25,11 +25,11 @@
</menu>
<menu name="Used by">
<item name="Maven Alfresco AMP Archetype" href="http://repository.sourcesense.com/maven2-sites/maven-alfresco-amp-archetype"/>
<item name="Maven Alfresco AMP Archetype" href="http://repository.sourcesense.com/nexus/content/repositories/alfresco.public.sites/maven-alfresco-lifecycle/maven-alfresco-archetypes/maven-alfresco-amp-archetype/index.html"/>
</menu>
<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-lifecycle/maven-alfresco-archetypes/maven-alfresco-extension-archetype/index.html"/>
</menu>
<menu ref="reports"/>

View File

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

View File

@@ -1,104 +0,0 @@
package com.sourcesense.maven.plugins.test;
import java.io.File;
import org.apache.maven.plugin.MojoExecutionException;
import org.apache.maven.project.MavenProject;
import com.sourcesense.maven.StripMojo;
public class StripTest extends org.apache.maven.plugin.testing.AbstractMojoTestCase {
File testPom;
MavenProject project = new MavenProject();
protected void setUp() throws Exception {
// required for mojo lookups to work
super.setUp();
}
/**
* tests the proper discovery and configuration of the mojo
*
* @throws Exception
*/
public void testMojoDefaultEnvironment() throws Exception {
testPom = new File( getBasedir(), "target/test-classes/snapshot-pom.xml" );
StripMojo mojo = (StripMojo) lookupMojo ("strip", testPom );
assertNotNull( mojo );
}
public void testSnapshotVersion() throws Exception {
testPom = new File( getBasedir(), "target/test-classes/snapshot-pom.xml" );
StripMojo mojo = (StripMojo) lookupMojo ("strip", testPom );
setVariableValueToObject(mojo, "version", "3.0.0-SNAPSHOT");
setVariableValueToObject(mojo, "project", project);
try {
mojo.execute();
} catch (MojoExecutionException e) {
fail("Mojo execution exception" + e);
}
assertEquals("3.0.0", mojo.getProject().getProperties().getProperty(
mojo.getPropertyName()));
}
public void testReleaseCandidateVersion() throws Exception {
testPom = new File( getBasedir(), "target/test-classes/relcandidate-pom.xml" );
StripMojo mojo = (StripMojo) lookupMojo ("strip", testPom );
setVariableValueToObject(mojo, "version", "3.0.0-RC1");
setVariableValueToObject(mojo, "project", project);
try {
mojo.execute();
} catch (MojoExecutionException e) {
fail("Mojo execution exception" + e);
}
assertEquals("3.0.0", mojo.getProject().getProperties().getProperty(
mojo.getPropertyName()));
}
public void testIdempotent() throws Exception {
testPom = new File( getBasedir(), "target/test-classes/snapshot-pom.xml" );
StripMojo mojo = (StripMojo) lookupMojo ("strip", testPom );
setVariableValueToObject(mojo, "version", "3.0.0");
setVariableValueToObject(mojo, "project", project);
try {
mojo.execute();
} catch (MojoExecutionException e) {
fail("Mojo execution exception" + e);
}
assertEquals("3.0.0", mojo.getProject().getProperties().getProperty(
mojo.getPropertyName()));
}
public void testUnderscore() throws Exception {
testPom = new File( getBasedir(), "target/test-classes/underscore-pom.xml" );
StripMojo mojo = (StripMojo) lookupMojo ("strip", testPom );
setVariableValueToObject(mojo, "version", "3.0.0_RC1");
setVariableValueToObject(mojo, "project", project);
try {
mojo.execute();
} catch (MojoExecutionException e) {
fail("Mojo execution exception" + e);
}
assertEquals("3.0.0", mojo.getProject().getProperties().getProperty(
mojo.getPropertyName()));
}
public void testCustomPropName() throws Exception {
testPom = new File( getBasedir(), "target/test-classes/customprop-pom.xml" );
StripMojo mojo = (StripMojo) lookupMojo ("strip", testPom );
setVariableValueToObject(mojo, "version", "3.0.0-RC1");
setVariableValueToObject(mojo, "project", project);
try {
mojo.execute();
} catch (MojoExecutionException e) {
fail("Mojo execution exception" + e);
}
assertEquals("3.0.0", mojo.getProject().getProperties().getProperty(
"foobar"));
}
}

81
pom.xml
View File

@@ -5,22 +5,19 @@
<packaging>pom</packaging>
<version>1.0.0</version>
<name>Maven Alfresco Lifecycle support base project</name>
<parent>
<groupId>com.sourcesense.maven</groupId>
<artifactId>maven-calm</artifactId>
<version>1.0-beta-21</version>
</parent>
<url>http://repository.sourcesense.com/nexus/content/repositories/alfresco.public.sites/maven-alfresco-lifecycle</url>
<description>
This project is meant to gather all commons configurations, plugins and archetypes
for the full Maven Alfresco lifecycle support
This project is meant to gather all commons configurations, plugins and archetypes for the full Maven Alfresco lifecycle support.
It gathers the latest stable versions of the different components that are used to support Alfresco development on Maven in enterprise and
community contexts.
</description>
<issueManagement>
<system>Google Code</system>
<url>http://code.google.com/p/maven-alfresco-archetypes/issues/list</url>
</issueManagement>
<organization>
<name>Sourcesense</name>
<url>http://www.sourcesense.com</url>
<name>Alfresco</name>
<url>http://www.alfresco.com</url>
</organization>
<modules>
<module>maven-alfresco-archetypes</module>
@@ -31,18 +28,17 @@
<svn.base.url>https://maven-alfresco-archetypes.googlecode.com/svn</svn.base.url>
<svn.url>${svn.base.url}/trunk</svn.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
http://maven.apache.org/plugins/maven-site-plugin/usage.html
-->
<site_pom_description>${pom.description}</site_pom_description>
<site_pom_url>${pom.organization.url}</site_pom_url>
<site_pom_groupId>${pom.groupId}</site_pom_groupId>
<site_pom_artifactId>${pom.artifactId}</site_pom_artifactId>
<site_pom_version>${pom.version}</site_pom_version>
<site_pom_url>${project.url}</site_pom_url>
<site_pom_groupId>${project.groupId}</site_pom_groupId>
<site_pom_artifactId>${project.artifactId}</site_pom_artifactId>
<site_pom_version>${project.version}</site_pom_version>
<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>
<scm>
<connection>scm:svn:https://maven-alfresco-archetypes.googlecode.com/svn/tags/maven-alfresco-lifecycle-1.0.0</connection>
@@ -112,23 +108,24 @@
</mailingLists>
<build>
<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>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-changes-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>announcement-generate</goal>
</goals>
<id>announcement-generate</id>
</execution>
<execution>
<goals>
<goal>announcement-mail</goal>
</goals>
<id>announcement-mail</id>
</execution>
</executions>
<!-- Using patched version to overcome multimodule limitations during release
See: http://jira.codehaus.org/browse/MCHANGES-145
-->
<version>2.2-patched</version>
<!--
Automatically notifies the list when release is done. Please supply
username and password in the command line
@@ -138,14 +135,22 @@
settings.xml
-->
<configuration>
<template>custom-announcement.vm</template>
<templateDirectory>announcements</templateDirectory>
<!-- To have the announcement sent only for the root module (otherwise it breaks, workaround for http://jira.codehaus.org/browse/MCHANGES-145) -->
<aggregate>true</aggregate>
<smtpHost>${smtp.server}</smtpHost>
<smtpPort implementation="java.lang.Integer">${smtp.port}</smtpPort>
<toAddresses>
<toAddress implementation="java.lang.String">columbro@gmail.com</toAddress>
<toAddress implementation="java.lang.String">maven-alfresco@googlegroups.com</toAddress>
<toAddress implementation="java.lang.String">announce@maven.apache.org</toAddress>
<toAddress implementation="java.lang.String">alfresco-dev@lists.sourcesense.com</toAddress>
</toAddresses>
<username>${smtp.username}</username>
<password>${smtp.password}</password>
<sslMode>${smtp.sslMode}</sslMode>
<fromDeveloperId>columbro</fromDeveloperId>
<urlDownload>${project.url}/index.html</urlDownload>
</configuration>
</plugin>
<plugin>
@@ -154,13 +159,19 @@
<configuration>
<!-- useEditMode>true</useEditMode>-->
<preparationGoals>clean package</preparationGoals>
<goals>deploy site-deploy changes:announcement-generate
changes:announcement-mail site-deploy</goals>
<goals>deploy site-deploy changes:announcement-generate changes:announcement-mail</goals>
<tagBase>${svn.tags.url}</tagBase>
<autoVersionSubmodules>false</autoVersionSubmodules>
</configuration>
</plugin>
</plugins>
<extensions>
<extension>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-webdav-jackrabbit</artifactId>
<version>1.0-beta-6</version>
</extension>
</extensions>
</build>
<reporting>
<plugins>
@@ -198,10 +209,6 @@
</reportSet>
</reportSets>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>changelog-maven-plugin</artifactId>
</plugin>
</plugins>
</reporting>
<distributionManagement>
@@ -215,7 +222,7 @@
</snapshotRepository>
<site>
<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>
</distributionManagement>
</project>

View File

@@ -1,10 +1,13 @@
<document>
<properties>
<title>Maven Alfresco Extension archetype</title>
<author email="g.columbro@sourcesense.com">Gabriele Columbro</author>
<title>Maven Alfresco Lifecycle</title>
<author email="gabriele.columbro@alfresco.com">Gabriele Columbro</author>
</properties>
<body>
<release version="1.9.0" date="2009-11-03" description="Complete refactoring of the full support in one multimodule project">
<release version="1.0.0" date="2009-11-03" description="Complete refactoring of the full support in one multimodule project (maven-alfresco-lifecycle)">
<action dev="columbro" type="add">
Linked all sub modules.
</action>
<action dev="columbro" type="add">
Added this wrapper project to group all Maven Alfresco plugins and archetype useful for the Maven Alfresco Lifecycle support
</action>

View File

@@ -0,0 +1,131 @@
## Licensed to the Apache Software Foundation (ASF) under one
## or more contributor license agreements. See the NOTICE file
## distributed with this work for additional information
## regarding copyright ownership. The ASF licenses this file
## to you under the Apache License, Version 2.0 (the
## "License"); you may not use this file except in compliance
## 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.
The ${developmentTeam} is pleased to announce the ${finalName} release!
${introduction}
See all the different components at the following links:
- maven-alfresco-archetypes: ${project.url}/maven-alfresco-archetypes/index.html
- maven-amp-plugin: ${project.url}/plugins/maven-amp-plugin/index.html
- maven-nosnpashot-plugin: ${project.url}/plugins/maven-nosnapshot-plugin/index.html
#if ($release.getActions().size() == 0)
No changes defined in this version.
#else
Changes in this version include:
#if ($release.getActions('add').size() !=0)
New features:
#foreach($actionItem in $release.getActions('add'))
#set($action=$actionItem.getAction())
#if ($actionItem.getIssue())
#set($issue=$actionItem.getIssue())
#else
#set($issue="")
#end
#if ($actionItem.getDueTo())
#set($dueto=$actionItem.getDueTo())
#else
#set($dueto="")
#end
o ${action} #if($!issue != "") Issue: $issue. #end#if($!dueto != "")Thanks to $dueto. #end
#set($issue="")
#set($dueto="")
#end
#end
#if ($release.getActions('fix').size() !=0)
Fixed Bugs:
#foreach($actionItem in $release.getActions('fix'))
#set($action=$actionItem.getAction())
#if ($actionItem.getIssue())
#set($issue=$actionItem.getIssue())
#else
#set($issue="")
#end
#if ($actionItem.getDueTo())
#set($dueto=$actionItem.getDueTo())
#else
#set($dueto="")
#end
o ${action} #if($!issue != "") Issue: $issue. #end#if($!dueto != "")Thanks to $dueto. #end
#set($issue="")
#set($dueto="")
#end
#end
#if ($release.getActions('update').size() !=0)
Changes:
#foreach($actionItem in $release.getActions('update'))
#set($action=$actionItem.getAction())
#if ($actionItem.getIssue())
#set($issue=$actionItem.getIssue())
#else
#set($issue="")
#end
#if ($actionItem.getDueTo())
#set($dueto=$actionItem.getDueTo())
#else
#set($dueto="")
#end
o ${action} #if($!issue != "") Issue: $issue. #end#if($!dueto != "")Thanks to $dueto. #end
#set($issue="")
#set($dueto="")
#end
#end
#if ($release.getActions('remove').size() !=0)
Removed:
#foreach($actionItem in $release.getActions('remove'))
#set($action=$actionItem.getAction())
#if ($actionItem.getIssue())
#set($issue=$actionItem.getIssue())
#else
#set($issue="")
#end
#if ($actionItem.getDueTo())
#set($dueto=$actionItem.getDueTo())
#else
#set($dueto="")
#end
o ${action} #if($!issue != "") Issue: $issue. #end#if($!dueto != "")Thanks to $dueto. #end
#set($issue="")
#set($dueto="")
#end
#end
## End of main loop
#end
See also specific modules changes for the latest release:
maven-alfresco-amp-archetype: ${project.url}/maven-alfresco-archetypes/maven-alfresco-amp-archetype/changes-report.html
maven-alfresco-extension-archetype: ${project.url}/maven-alfresco-archetypes/maven-alfresco-extension-archetype/changes-report.html
maven-amp-plugin: ${project.url}/plugins/maven-amp-plugin/changes-report.html
#if ($urlDownload)
For a manual installation, you can download the ${finalName} here:
${urlDownload}
#end
(due to some issues with the sites repo, if you experience issues in accessing pages with Firefox you might just need to reload the page)
Have fun!
-${developmentTeam}

View File

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

View File

@@ -5,27 +5,42 @@
<version>1.0</version>
</skin>
<poweredBy>
<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="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.alfresco.com" />
</poweredBy>
<publishDate position="navigation-bottom" format="MM-dd-yy"/>
<publishDate position="navigation-bottom" format="MM-dd-yy" />
<bannerLeft>
<name>Maven Alfresco Lifecycle support - v. ${project.version}</name>
<name>Maven Alfresco Lifecycle Support - v. ${project.version}</name>
<href>${site_site_url}</href>
<src>images/logo_noclaim.png</src>
</bannerLeft>
<body>
<links>
<item name="Maven" href="http://maven.apache.org/"/>
<item name="Apache" href="http://www.apache.org/"/>
<item name="Alfresco" href="http://www.afresco.com/"/>
<item name="Maven" href="http://maven.apache.org/" />
<item name="Apache" href="http://www.apache.org/" />
<item name="Alfresco" href="http://www.alfresco.org/" />
<item name="Project founder" href="http://www.mindthegab.com/" />
</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/nexus/content/repositories/alfresco.public.sites/maven-alfresco-lifecycle/maven-alfresco-archetype/maven-alfresco-amp-archetype/index.html" />
<item name="Maven AMP Plugin" href="http://repository.sourcesense.com/nexus/content/repositories/alfresco.public.sites/maven-alfresco-lifecycle/plugins/maven-amp-plugin/index.html" />
<item name="Third party how to" href="http://www.cybermagic.co.nz/wiki/display/CM/Building+Alfresco+apps+with+Maven" />
</menu>
<menu ref="reports" />
</body>
</project>