mirror of
https://github.com/Alfresco/alfresco-sdk.git
synced 2025-09-17 14:21:45 +00:00
[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:
@@ -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</version>
|
<version>1.9.0</version>
|
||||||
|
<relativePath>../pom.xml</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
<build>
|
<build>
|
||||||
<extensions>
|
<extensions>
|
||||||
|
@@ -4,6 +4,14 @@
|
|||||||
<author email="g.columbro@sourcesense.com">Gabriele Columbro</author>
|
<author email="g.columbro@sourcesense.com">Gabriele Columbro</author>
|
||||||
</properties>
|
</properties>
|
||||||
<body>
|
<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">
|
<release version="1.0.0" date="2008-07-06" description="Public release">
|
||||||
<action dev="g.columbro" type="add">
|
<action dev="g.columbro" type="add">
|
||||||
Added full AMP lifecycle management
|
Added full AMP lifecycle management
|
||||||
|
@@ -45,7 +45,7 @@
|
|||||||
</repositories>
|
</repositories>
|
||||||
<pluginRepositories>
|
<pluginRepositories>
|
||||||
<pluginRepository>
|
<pluginRepository>
|
||||||
<id>ss-public</id>
|
<id>ss-public-mirror</id>
|
||||||
<url>http://repository.sourcesense.com/nexus/content/groups/public</url>
|
<url>http://repository.sourcesense.com/nexus/content/groups/public</url>
|
||||||
</pluginRepository>
|
</pluginRepository>
|
||||||
<pluginRepository>
|
<pluginRepository>
|
||||||
@@ -99,9 +99,9 @@
|
|||||||
<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>community</classifier>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.springframework</groupId>
|
<groupId>org.springframework</groupId>
|
||||||
@@ -273,7 +273,7 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.alfresco.maven.plugin</groupId>
|
<groupId>org.alfresco.maven.plugin</groupId>
|
||||||
<artifactId>maven-amp-plugin</artifactId>
|
<artifactId>maven-amp-plugin</artifactId>
|
||||||
<version>2.0.0</version>
|
<version>3.0.1-SNAPSHOT</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
</plugin>
|
</plugin>
|
||||||
@@ -412,9 +412,9 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.alfresco</groupId>
|
<groupId>org.alfresco</groupId>
|
||||||
<artifactId>alfresco</artifactId>
|
<artifactId>alfresco</artifactId>
|
||||||
<version>3.0Stable</version>
|
<version>3.2r</version>
|
||||||
<type>war</type>
|
<type>war</type>
|
||||||
<classifier>labs</classifier>
|
<classifier>community</classifier>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
</profile>
|
</profile>
|
||||||
|
@@ -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'
|
||||||
|
@@ -0,0 +1 @@
|
|||||||
|
.maven {}
|
@@ -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>
|
||||||
|
|
||||||
|
@@ -1,31 +1,29 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<!--
|
<!--
|
||||||
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
|
http://www.apache.org/licenses/LICENSE-2.0 Unless required by
|
||||||
|
applicable law or agreed to in writing, software distributed under the
|
||||||
Unless required by applicable law or agreed to in writing, software
|
License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
|
||||||
distributed under the License is distributed on an "AS IS" BASIS,
|
CONDITIONS OF ANY KIND, either express or implied. See the License for
|
||||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
the specific language governing permissions and limitations under the
|
||||||
See the License for the specific language governing permissions and
|
License.
|
||||||
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</version>
|
<version>1.9.0</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,9 +42,11 @@
|
|||||||
<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>
|
||||||
</project>
|
</project>
|
||||||
|
@@ -4,6 +4,14 @@
|
|||||||
<author email="g.columbro@sourcesense.com">Gabriele Columbro</author>
|
<author email="g.columbro@sourcesense.com">Gabriele Columbro</author>
|
||||||
</properties>
|
</properties>
|
||||||
<body>
|
<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">
|
<release version="1.1.0" date="2008-07-11" description="Public release">
|
||||||
<action dev="g.columbro" type="add">
|
<action dev="g.columbro" type="add">
|
||||||
Added full AMP lifecycle management.
|
Added full AMP lifecycle management.
|
||||||
|
@@ -6,6 +6,13 @@
|
|||||||
<include>**/*.java</include>
|
<include>**/*.java</include>
|
||||||
</includes>
|
</includes>
|
||||||
</fileSet>
|
</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">
|
<fileSet filtered="true" encoding="UTF-8">
|
||||||
<directory>src/main/properties</directory>
|
<directory>src/main/properties</directory>
|
||||||
<includes>
|
<includes>
|
||||||
|
@@ -34,6 +34,7 @@
|
|||||||
<resource>src/main/resources/alfresco/extension/web-client-config-custom.xml</resource>
|
<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/alfresco/extension/webclient.properties</resource>
|
||||||
<resource>src/main/resources/log4j.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/README-WEB-INF.txt</resource>
|
||||||
<resource>src/main/webapp/WEB-INF/faces-config-custom.xml</resource>
|
<resource>src/main/webapp/WEB-INF/faces-config-custom.xml</resource>
|
||||||
<resource>tools/ant/tasks/tomcat-tasks.properties</resource>
|
<resource>tools/ant/tasks/tomcat-tasks.properties</resource>
|
||||||
|
@@ -27,7 +27,11 @@
|
|||||||
<url></url>
|
<url></url>
|
||||||
<description>Alfresco extension</description>
|
<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)
|
| 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:
|
| Available properties:
|
||||||
|
|
|
|
||||||
@@ -62,7 +66,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+ -->
|
||||||
@@ -101,7 +105,7 @@
|
|||||||
</repositories>
|
</repositories>
|
||||||
<pluginRepositories>
|
<pluginRepositories>
|
||||||
<pluginRepository>
|
<pluginRepository>
|
||||||
<id>ss-public</id>
|
<id>ss-public-mirror</id>
|
||||||
<url>http://repository.sourcesense.com/nexus/content/groups/public</url>
|
<url>http://repository.sourcesense.com/nexus/content/groups/public</url>
|
||||||
</pluginRepository>
|
</pluginRepository>
|
||||||
<pluginRepository>
|
<pluginRepository>
|
||||||
@@ -130,7 +134,7 @@
|
|||||||
<artifactId>alfresco</artifactId>
|
<artifactId>alfresco</artifactId>
|
||||||
<version>${alfresco.version}</version>
|
<version>${alfresco.version}</version>
|
||||||
<type>war</type>
|
<type>war</type>
|
||||||
<classifier>labs</classifier>
|
<classifier>community</classifier>
|
||||||
</dependency>
|
</dependency>
|
||||||
<!-- All provided libs (as contained in the war dependency) but useful for development (e.g. IDE configuration) -->
|
<!-- All provided libs (as contained in the war dependency) but useful for development (e.g. IDE configuration) -->
|
||||||
<dependency>
|
<dependency>
|
||||||
@@ -138,28 +142,28 @@
|
|||||||
<artifactId>alfresco-web-client</artifactId>
|
<artifactId>alfresco-web-client</artifactId>
|
||||||
<version>${alfresco.version}</version>
|
<version>${alfresco.version}</version>
|
||||||
<scope>provided</scope>
|
<scope>provided</scope>
|
||||||
<classifier>labs</classifier>
|
<classifier>community</classifier>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.alfresco</groupId>
|
<groupId>org.alfresco</groupId>
|
||||||
<artifactId>alfresco-core</artifactId>
|
<artifactId>alfresco-core</artifactId>
|
||||||
<version>${alfresco.version}</version>
|
<version>${alfresco.version}</version>
|
||||||
<scope>provided</scope>
|
<scope>provided</scope>
|
||||||
<classifier>labs</classifier>
|
<classifier>community</classifier>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.alfresco</groupId>
|
<groupId>org.alfresco</groupId>
|
||||||
<artifactId>alfresco-repository</artifactId>
|
<artifactId>alfresco-repository</artifactId>
|
||||||
<version>${alfresco.version}</version>
|
<version>${alfresco.version}</version>
|
||||||
<scope>provided</scope>
|
<scope>provided</scope>
|
||||||
<classifier>labs</classifier>
|
<classifier>community</classifier>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.alfresco</groupId>
|
<groupId>org.alfresco</groupId>
|
||||||
<artifactId>alfresco-remote-api</artifactId>
|
<artifactId>alfresco-remote-api</artifactId>
|
||||||
<version>${alfresco.version}</version>
|
<version>${alfresco.version}</version>
|
||||||
<scope>provided</scope>
|
<scope>provided</scope>
|
||||||
<classifier>labs</classifier>
|
<classifier>community</classifier>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<!-- Sample of AMP dependency that will be properly uncompressed in the Alfresco WAR (no more need for AMP):
|
<!-- 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>
|
<filtering>true</filtering>
|
||||||
</resource>
|
</resource>
|
||||||
<resource>
|
<resource>
|
||||||
<directory>tools/mysql</directory>
|
<directory>${project.basedire}tools/mysql</directory>
|
||||||
<includes>
|
<includes>
|
||||||
<include>*.sql</include>
|
<include>*.sql</include>
|
||||||
</includes>
|
</includes>
|
||||||
@@ -287,7 +291,7 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.alfresco.maven.plugin</groupId>
|
<groupId>org.alfresco.maven.plugin</groupId>
|
||||||
<artifactId>maven-amp-plugin</artifactId>
|
<artifactId>maven-amp-plugin</artifactId>
|
||||||
<version>2.0.0</version>
|
<version>3.0.1-SNAPSHOT</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
</plugin>
|
</plugin>
|
||||||
@@ -305,7 +309,8 @@
|
|||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.mortbay.jetty</groupId>
|
<groupId>org.mortbay.jetty</groupId>
|
||||||
<artifactId>maven-jetty-plugin</artifactId>
|
<artifactId>maven-jetty-plugin</artifactId>
|
||||||
|
<version>6.1.21</version>
|
||||||
<executions>
|
<executions>
|
||||||
<!-- Runs jetty when 'integration-test' phase is called -->
|
<!-- Runs jetty when 'integration-test' phase is called -->
|
||||||
<execution>
|
<execution>
|
||||||
@@ -431,13 +436,13 @@
|
|||||||
| Enable this repo in case of publicly redistributable artifacts (Sourcesense public repositories via ssh + public key )
|
| Enable this repo in case of publicly redistributable artifacts (Sourcesense public repositories via ssh + public key )
|
||||||
|
|
|
|
||||||
<repository>
|
<repository>
|
||||||
<id>ss-public</id>
|
<id>yourcompany</id>
|
||||||
<url>scp://repository.sourcesense.com/var/www/demo.sourcesense.com/maven2</url>
|
<url>scp://yourcompany/var/maven2</url>
|
||||||
</repository>
|
</repository>
|
||||||
<distributionManagement>
|
<distributionManagement>
|
||||||
<site>
|
<site>
|
||||||
<id>ss-site-public</id>
|
<id>yourcompany-site</id>
|
||||||
<url>scp://repository.sourcesense.com/var/www/demo.sourcesense.com/maven2-sites</url>
|
<url>scp://yourcompany/var/maven2-sites</url>
|
||||||
</site>
|
</site>
|
||||||
-->
|
-->
|
||||||
<!--
|
<!--
|
||||||
|
@@ -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>
|
@@ -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.
|
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)
|
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)>>:
|
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
|
||||||
|
|
||||||
--------------------------------------------
|
--------------------------------------------
|
||||||
|
|
||||||
|
@@ -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'
|
||||||
|
@@ -0,0 +1 @@
|
|||||||
|
.maven {}
|
@@ -8,22 +8,33 @@
|
|||||||
<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</version>
|
<version>1.0.0</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>
|
||||||
<extensions>true</extensions>
|
<extensions>true</extensions>
|
||||||
</plugin>
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
</project>
|
</project>
|
||||||
|
24
maven-alfresco-archetypes/src/site/fml/faq.fml
Normal file
24
maven-alfresco-archetypes/src/site/fml/faq.fml
Normal 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>
|
@@ -0,0 +1 @@
|
|||||||
|
.maven {}
|
@@ -0,0 +1 @@
|
|||||||
|
.maven {}
|
@@ -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>
|
||||||
|
@@ -3,6 +3,9 @@
|
|||||||
<title>Maven AMP plugin</title>
|
<title>Maven AMP plugin</title>
|
||||||
</properties>
|
</properties>
|
||||||
<body>
|
<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 version="3.0.0" date="2009-02-20" description="Alfresco 3.0 Reday Public stable release">
|
||||||
</release>
|
</release>
|
||||||
|
|
||||||
|
@@ -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 }} ).
|
||||||
|
|
@@ -25,11 +25,11 @@
|
|||||||
</menu>
|
</menu>
|
||||||
|
|
||||||
<menu name="Used by">
|
<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>
|
||||||
|
|
||||||
<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-lifecycle/maven-alfresco-archetypes/maven-alfresco-extension-archetype/index.html"/>
|
||||||
</menu>
|
</menu>
|
||||||
|
|
||||||
<menu ref="reports"/>
|
<menu ref="reports"/>
|
||||||
|
@@ -6,7 +6,6 @@
|
|||||||
<version>0.0.5</version>
|
<version>0.0.5</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>
|
||||||
|
@@ -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
81
pom.xml
@@ -5,22 +5,19 @@
|
|||||||
<packaging>pom</packaging>
|
<packaging>pom</packaging>
|
||||||
<version>1.0.0</version>
|
<version>1.0.0</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
|
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>
|
</description>
|
||||||
<issueManagement>
|
<issueManagement>
|
||||||
<system>Google Code</system>
|
<system>Google Code</system>
|
||||||
<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>
|
||||||
@@ -31,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:https://maven-alfresco-archetypes.googlecode.com/svn/tags/maven-alfresco-lifecycle-1.0.0</connection>
|
<connection>scm:svn:https://maven-alfresco-archetypes.googlecode.com/svn/tags/maven-alfresco-lifecycle-1.0.0</connection>
|
||||||
@@ -112,23 +108,24 @@
|
|||||||
</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>
|
||||||
<executions>
|
<!-- Using patched version to overcome multimodule limitations during release
|
||||||
<execution>
|
See: http://jira.codehaus.org/browse/MCHANGES-145
|
||||||
<goals>
|
-->
|
||||||
<goal>announcement-generate</goal>
|
<version>2.2-patched</version>
|
||||||
</goals>
|
|
||||||
<id>announcement-generate</id>
|
|
||||||
</execution>
|
|
||||||
<execution>
|
|
||||||
<goals>
|
|
||||||
<goal>announcement-mail</goal>
|
|
||||||
</goals>
|
|
||||||
<id>announcement-mail</id>
|
|
||||||
</execution>
|
|
||||||
</executions>
|
|
||||||
<!--
|
<!--
|
||||||
Automatically notifies the list when release is done. Please supply
|
Automatically notifies the list when release is done. Please supply
|
||||||
username and password in the command line
|
username and password in the command line
|
||||||
@@ -138,14 +135,22 @@
|
|||||||
settings.xml
|
settings.xml
|
||||||
-->
|
-->
|
||||||
<configuration>
|
<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>
|
<smtpHost>${smtp.server}</smtpHost>
|
||||||
<smtpPort implementation="java.lang.Integer">${smtp.port}</smtpPort>
|
<smtpPort implementation="java.lang.Integer">${smtp.port}</smtpPort>
|
||||||
<toAddresses>
|
<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>
|
</toAddresses>
|
||||||
<username>${smtp.username}</username>
|
<username>${smtp.username}</username>
|
||||||
<password>${smtp.password}</password>
|
<password>${smtp.password}</password>
|
||||||
|
<sslMode>${smtp.sslMode}</sslMode>
|
||||||
<fromDeveloperId>columbro</fromDeveloperId>
|
<fromDeveloperId>columbro</fromDeveloperId>
|
||||||
|
<urlDownload>${project.url}/index.html</urlDownload>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
@@ -154,13 +159,19 @@
|
|||||||
<configuration>
|
<configuration>
|
||||||
<!-- useEditMode>true</useEditMode>-->
|
<!-- useEditMode>true</useEditMode>-->
|
||||||
<preparationGoals>clean package</preparationGoals>
|
<preparationGoals>clean package</preparationGoals>
|
||||||
<goals>deploy site-deploy changes:announcement-generate
|
<goals>deploy site-deploy changes:announcement-generate changes:announcement-mail</goals>
|
||||||
changes:announcement-mail site-deploy</goals>
|
|
||||||
<tagBase>${svn.tags.url}</tagBase>
|
<tagBase>${svn.tags.url}</tagBase>
|
||||||
<autoVersionSubmodules>false</autoVersionSubmodules>
|
<autoVersionSubmodules>false</autoVersionSubmodules>
|
||||||
</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>
|
||||||
@@ -198,10 +209,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>
|
||||||
@@ -215,7 +222,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>
|
||||||
|
@@ -1,10 +1,13 @@
|
|||||||
<document>
|
<document>
|
||||||
<properties>
|
<properties>
|
||||||
<title>Maven Alfresco Extension archetype</title>
|
<title>Maven Alfresco Lifecycle</title>
|
||||||
<author email="g.columbro@sourcesense.com">Gabriele Columbro</author>
|
<author email="gabriele.columbro@alfresco.com">Gabriele Columbro</author>
|
||||||
</properties>
|
</properties>
|
||||||
<body>
|
<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">
|
<action dev="columbro" type="add">
|
||||||
Added this wrapper project to group all Maven Alfresco plugins and archetype useful for the Maven Alfresco Lifecycle support
|
Added this wrapper project to group all Maven Alfresco plugins and archetype useful for the Maven Alfresco Lifecycle support
|
||||||
</action>
|
</action>
|
||||||
|
131
src/main/resources/announcements/custom-announcement.vm
Normal file
131
src/main/resources/announcements/custom-announcement.vm
Normal 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}
|
1
src/site/resources/css/site.css
Normal file
1
src/site/resources/css/site.css
Normal file
@@ -0,0 +1 @@
|
|||||||
|
.pippo {}
|
@@ -1,31 +1,46 @@
|
|||||||
<project>
|
<project>
|
||||||
<skin>
|
<skin>
|
||||||
<groupId>org.apache.maven.skins</groupId>
|
<groupId>org.apache.maven.skins</groupId>
|
||||||
<artifactId>maven-stylus-skin</artifactId>
|
<artifactId>maven-stylus-skin</artifactId>
|
||||||
<version>1.0</version>
|
<version>1.0</version>
|
||||||
</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>
|
||||||
<body>
|
<body>
|
||||||
<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/" />
|
||||||
</links>
|
<item name="Project founder" href="http://www.mindthegab.com/" />
|
||||||
|
</links>
|
||||||
|
|
||||||
<menu ref="modules">
|
<menu ref="modules" inherit="bottom"/>
|
||||||
</menu>
|
<menu ref="parent" inherit="bottom"/>
|
||||||
|
|
||||||
<menu ref="reports" />
|
<menu name="Maven2 Lifecycle Alfresco Support Resources">
|
||||||
|
<item name="Enterprise use case" href="http://www.slideshare.net/guest67a9ba/maven-application-lifecycle-management-for-alfresco" />
|
||||||
</body>
|
<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>
|
</project>
|
||||||
|
Reference in New Issue
Block a user