mirror of
https://github.com/Alfresco/alfresco-sdk.git
synced 2025-10-08 14:51:55 +00:00
-- added new and improved documentation
-- moved to maven.alfresco.com -- tested -Pinitialize profile for the repo to clean alf_data and DB -- moved jetty run to -Prun profile for the repo -- preparing juicy maintenance release git-svn-id: http://maven-alfresco-archetypes.googlecode.com/svn/trunk@250 04253f4f-3451-0410-a141-5562f1e59037
This commit is contained in:
@@ -35,24 +35,29 @@
|
|||||||
<description>Test AMP project</description>
|
<description>Test AMP project</description>
|
||||||
<repositories>
|
<repositories>
|
||||||
<repository>
|
<repository>
|
||||||
<id>ss-public-mirror</id>
|
<id>alfresco-public-snapshots</id>
|
||||||
<url>http://repository.sourcesense.com/nexus/content/groups/public</url>
|
<url>http://maven.alfresco.com/nexus/content/groups/public-snapshots</url>
|
||||||
|
<snapshots>
|
||||||
|
<enabled>true</enabled>
|
||||||
|
<updatePolicy>daily</updatePolicy>
|
||||||
|
</snapshots>
|
||||||
</repository>
|
</repository>
|
||||||
<repository>
|
<repository>
|
||||||
<id>ss-public-snapshots-mirror</id>
|
<id>alfresco-public</id>
|
||||||
<url>http://repository.sourcesense.com/nexus/content/groups/public-snapshots</url>
|
<url>http://maven.alfresco.com/nexus/content/groups/public</url>
|
||||||
</repository>
|
s </repository>
|
||||||
</repositories>
|
</repositories>
|
||||||
<pluginRepositories>
|
<pluginRepositories>
|
||||||
<pluginRepository>
|
<pluginRepository>
|
||||||
<id>ss-public-mirror</id>
|
<id>alfresco-public</id>
|
||||||
<url>http://repository.sourcesense.com/nexus/content/groups/public</url>
|
<url>http://maven.alfresco.com/nexus/content/groups/public</url>
|
||||||
</pluginRepository>
|
</pluginRepository>
|
||||||
<pluginRepository>
|
<pluginRepository>
|
||||||
<id>ss-public-snapshots-mirror</id>
|
<id>alfresco-public-snapshots</id>
|
||||||
<url>http://repository.sourcesense.com/nexus/content/groups/public-snapshots</url>
|
<url>http://repository.sourcesense.com/nexus/content/groups/public-snapshots</url>
|
||||||
<snapshots>
|
<snapshots>
|
||||||
<enabled>true</enabled>
|
<enabled>true</enabled>
|
||||||
|
<updatePolicy>daily</updatePolicy>
|
||||||
</snapshots>
|
</snapshots>
|
||||||
</pluginRepository>
|
</pluginRepository>
|
||||||
</pluginRepositories>
|
</pluginRepositories>
|
||||||
@@ -162,6 +167,7 @@
|
|||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.codehaus.mojo</groupId>
|
<groupId>org.codehaus.mojo</groupId>
|
||||||
<artifactId>buildnumber-maven-plugin</artifactId>
|
<artifactId>buildnumber-maven-plugin</artifactId>
|
||||||
|
<version>1.0-beta-2</version>
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<phase>validate</phase>
|
<phase>validate</phase>
|
||||||
|
@@ -20,10 +20,10 @@
|
|||||||
<beans>
|
<beans>
|
||||||
|
|
||||||
<!-- A simple class that is initialized by Spring -->
|
<!-- A simple class that is initialized by Spring -->
|
||||||
<bean id="${groupId}.${artifactId}.exampleBean" class="com.sourcesense.demoamp.Demo" init-method="init" />
|
<bean id="${groupId}.${artifactId}.exampleBean" class="org.alfresco.demoamp.Demo" init-method="init" />
|
||||||
|
|
||||||
<!-- A simple module component that will be executed once -->
|
<!-- A simple module component that will be executed once -->
|
||||||
<bean id="${groupId}.${artifactId}.exampleComponent" class="com.sourcesense.demoamp.DemoComponent" parent="module.baseComponent" >
|
<bean id="${groupId}.${artifactId}.exampleComponent" class="org.alfresco.demoamp.DemoComponent" parent="module.baseComponent" >
|
||||||
<property name="moduleId" value="${pom.groupId}.${pom.artifactId}" /> <!-- See module.properties -->
|
<property name="moduleId" value="${pom.groupId}.${pom.artifactId}" /> <!-- See module.properties -->
|
||||||
<property name="name" value="exampleComponent" />
|
<property name="name" value="exampleComponent" />
|
||||||
<property name="description" value="A demonstration component" />
|
<property name="description" value="A demonstration component" />
|
||||||
|
@@ -38,4 +38,4 @@
|
|||||||
#
|
#
|
||||||
#-----------------------------------------------------------------------
|
#-----------------------------------------------------------------------
|
||||||
|
|
||||||
log4j.logger.com.sourcesense.demoamp.DemoComponent=${module.log.level}
|
log4j.logger.org.alfresco.demoamp.DemoComponent=${module.log.level}
|
@@ -22,7 +22,7 @@
|
|||||||
* the FLOSS exception, and it is also available here:
|
* the FLOSS exception, and it is also available here:
|
||||||
* http://www.alfresco.com/legal/licensing"
|
* http://www.alfresco.com/legal/licensing"
|
||||||
*/
|
*/
|
||||||
package com.sourcesense.demoamp;
|
package org.alfresco.demoamp;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This class does nothing except dump some output to <i>system.out</i>.
|
* This class does nothing except dump some output to <i>system.out</i>.
|
@@ -14,7 +14,7 @@
|
|||||||
See the License for the specific language governing permissions and
|
See the License for the specific language governing permissions and
|
||||||
limitations under the License.
|
limitations under the License.
|
||||||
*/
|
*/
|
||||||
package com.sourcesense.demoamp;
|
package org.alfresco.demoamp;
|
||||||
|
|
||||||
import java.util.logging.Logger;
|
import java.util.logging.Logger;
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 3.5 KiB |
@@ -1,14 +1,14 @@
|
|||||||
-----
|
-----
|
||||||
Maven Alfresco Extension Archetype
|
Maven Alfresco Extension Archetype
|
||||||
-----
|
-----
|
||||||
Sourcesense
|
Alfresco
|
||||||
-----
|
-----
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Welcome to the Maven Alfresco AMP Archetype home
|
Welcome to the Maven Alfresco AMP Archetype home
|
||||||
|
|
||||||
You've reached the Sourcesense ({{ ${site_pom_url} }}) Maven Alfresco AMP archetype home page (version: ${site_pom_version})
|
You've reached the ({{ ${site_pom_url} }}) Maven Alfresco AMP archetype home page (version: ${site_pom_version})
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -17,13 +17,29 @@ Description
|
|||||||
${site_pom_description}
|
${site_pom_description}
|
||||||
|
|
||||||
|
|
||||||
|
You can use this Archetype to build and add AMPs to Alfresco WAR packages in conjunction with the maven-alfresco-extension-archetype.
|
||||||
|
Using Maven you will benefit of a more structured and scalable way of using AMPs without the Module Management Tool (MMT).
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Quick Start (maven2)
|
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.1+ required)>>:
|
||||||
|
|
||||||
--------------------------------------------
|
--------------------------------------------
|
||||||
mvn archetype:generate -DarchetypeCatalog=http://repository.sourcesense.com/nexus/content/repositories/alfresco.public.releases/archetype-catalog.xml
|
mvn archetype:generate -DarchetypeCatalog=http://maven.alfresco.com/nexus/content/repositories/releases/archetype-catalog.xml
|
||||||
--------------------------------------------
|
--------------------------------------------
|
||||||
|
|
||||||
and then choose the option 'maven-alfresco-amp-archetype'
|
and then choose the option 'maven-alfresco-amp-archetype'
|
||||||
|
|
||||||
|
|
||||||
|
Usage
|
||||||
|
|
||||||
|
You can package and install your AMP module in the local Maven repo by just running
|
||||||
|
|
||||||
|
--------------------------------------------
|
||||||
|
mvn install
|
||||||
|
--------------------------------------------
|
||||||
|
|
||||||
|
You can then use the AMP by depending on it using the Maven Alfresco Extension Archetype, without any external tool (e.g. MMT).
|
||||||
|
See {{http://maven.alfresco.com/nexus/content/repositories/alfresco-docs/maven-alfresco-lifecycle/maven-alfresco-archetypes/maven-alfresco-extension-archetype/profiles.html}}
|
@@ -8,11 +8,11 @@
|
|||||||
<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.sourcesense.com" />
|
||||||
</poweredBy>
|
</poweredBy>
|
||||||
<publishDate position="navigation-bottom" format="MM-dd-yy"/>
|
<publishDate position="navigation-bottom" format="MM-dd-yy" />
|
||||||
<bannerLeft>
|
<bannerLeft>
|
||||||
<name>Maven alfresco AMP archetype - v. ${project.version}</name>
|
<name>Maven alfresco Extension archetype - v. ${project.version}</name>
|
||||||
<href>${site_site_url}</href>
|
<href>${site_site_url}</href>
|
||||||
<src>images/logo_noclaim.png</src>
|
<src>images/Alfresco-logo-transparent.gif</src>
|
||||||
</bannerLeft>
|
</bannerLeft>
|
||||||
<body>
|
<body>
|
||||||
<links>
|
<links>
|
||||||
|
@@ -4,6 +4,17 @@
|
|||||||
<author email="g.columbro@sourcesense.com">Gabriele Columbro</author>
|
<author email="g.columbro@sourcesense.com">Gabriele Columbro</author>
|
||||||
</properties>
|
</properties>
|
||||||
<body>
|
<body>
|
||||||
|
<release version="3.0.0-beta-1" date="2009-12-03" description="Consolidated release to maven.alfresco.com">
|
||||||
|
<action dev="g.columbro" type="add">
|
||||||
|
Added -Pinitialize profile to clean alf_data and drop/create DB within the build
|
||||||
|
</action>
|
||||||
|
<action dev="g.columbro" type="add">
|
||||||
|
Updated all docs to Maven Alfresco repository
|
||||||
|
</action>
|
||||||
|
<action dev="g.columbro" type="enhancement">
|
||||||
|
Incapsulated jetty run in the -Prun profile, which runs by default jetty during the integration-test phase
|
||||||
|
</action>
|
||||||
|
</release>
|
||||||
<release version="1.9.0" date="2009-11-07" description="Public release alfresco 3.2r based">
|
<release version="1.9.0" date="2009-11-07" description="Public release alfresco 3.2r based">
|
||||||
<action dev="g.columbro" type="add">
|
<action dev="g.columbro" type="add">
|
||||||
Updated to Alfresco 3.2r artifacts
|
Updated to Alfresco 3.2r artifacts
|
||||||
|
@@ -1,21 +1,18 @@
|
|||||||
<?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 Unless required by
|
||||||
http://www.apache.org/licenses/LICENSE-2.0
|
applicable law or agreed to in writing, software distributed under the
|
||||||
|
License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
|
||||||
Unless required by applicable law or agreed to in writing, software
|
CONDITIONS OF ANY KIND, either express or implied. See the License for
|
||||||
distributed under the License is distributed on an "AS IS" BASIS,
|
the specific language governing permissions and limitations under the
|
||||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
License.
|
||||||
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"
|
<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">
|
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>
|
||||||
@@ -27,20 +24,20 @@
|
|||||||
<url></url>
|
<url></url>
|
||||||
<description>Alfresco extension</description>
|
<description>Alfresco extension</description>
|
||||||
<!--
|
<!--
|
||||||
|
|
| | Prerequisite: | - Mysql local instance running and db alf_jetty
|
||||||
| Prerequisite:
|
created with permissions for alfresco/alfresco user. | | How it works:
|
||||||
| - Mysql local instance running and db alf_jetty created with permissions for alfresco/alfresco user.
|
| By default the project is overlayed to the alfresco war which
|
||||||
|
|
depends upon and deployed as a WAR (local development and testing
|
||||||
| How it works:
|
purposes) | Available properties: | | -Denv - toggles
|
||||||
| By default the project is overlayed to the alfresco war which depends upon and deployed as a WAR (local development and testing purposes)
|
src/main/properties/<env>/application.properties files (default:
|
||||||
| Available properties:
|
local) | -DrestoreVersion=<restoreVersion> - toggles profile "restore"
|
||||||
|
|
in order to include tools/export/<restoreVersion>/restore/*.acp files
|
||||||
| -Denv - toggles src/main/properties/<env>/application.properties files (default: local)
|
in | alfresco/extension/restore (default: no restore) |
|
||||||
| -DrestoreVersion=<restoreVersion> - toggles profile "restore" in order to include tools/export/<restoreVersion>/restore/*.acp files in
|
-Dcustomization.name=<customizationName> - name of the jar artifact
|
||||||
| alfresco/extension/restore (default: no restore)
|
containing classes and resources for this extension |
|
||||||
| -Dcustomization.name=<customizationName> - name of the jar artifact containing classes and resources for this extension
|
-Dwebapp.name=<extensionName> - name of the WAR artifact to be built
|
||||||
| -Dwebapp.name=<extensionName> - name of the WAR artifact to be built (default: ${artifactId}-{version}.jar )
|
(default: ${artifactId}-{version}.jar ) | -Denterprise - Includes LDAP
|
||||||
| -Denterprise - Includes LDAP configuration as defined in application.properties
|
configuration as defined in application.properties
|
||||||
-->
|
-->
|
||||||
<!-- Default properties -->
|
<!-- Default properties -->
|
||||||
<properties>
|
<properties>
|
||||||
@@ -48,19 +45,19 @@
|
|||||||
<env>local</env>
|
<env>local</env>
|
||||||
<webapp.name>alfresco</webapp.name>
|
<webapp.name>alfresco</webapp.name>
|
||||||
<!--
|
<!--
|
||||||
|
|
| | By default the src/main/properties/local/application.properties
|
||||||
| By default the src/main/properties/local/application.properties uses the property "alfresco.data.location" to specify where
|
uses the property "alfresco.data.location" to specify where |
|
||||||
| alf_data gets created.
|
alf_data gets created. | For local jetty:run deployment default
|
||||||
| For local jetty:run deployment default creation dir is under project root folder (as location is specified relatively to run
|
creation dir is under project root folder (as location is specified
|
||||||
| dir). Please add alf_data_jetty in svn/cvs ignores in order not to commit that. You can also specified a different (out of the
|
relatively to run | dir). Please add alf_data_jetty in svn/cvs
|
||||||
| sproject) folder
|
ignores in order not to commit that. You can also specified a
|
||||||
| by editing the following properties.
|
different (out of the | sproject) folder | by editing the following
|
||||||
| DB is also configurable here. Of course keep in sync these two values otherwise you'll get integrity errors.
|
properties. | DB is also configurable here. Of course keep in sync
|
||||||
|
|
these two values otherwise you'll get integrity errors. | | Empty log
|
||||||
| Empty log dir creates file alfresco.log in appserver default dir. You can also specify a meaningful log directory for the server
|
dir creates file alfresco.log in appserver default dir. You can also
|
||||||
| (add a trailing slash, e.g. '/var/log/alfresco/' )
|
specify a meaningful log directory for the server | (add a trailing
|
||||||
|
|
slash, e.g. '/var/log/alfresco/' ) | | Jetty embedded run logs by
|
||||||
| Jetty embedded run logs by default in target/alfresco.log
|
default in target/alfresco.log
|
||||||
-->
|
-->
|
||||||
<alfresco.data.location>./alf_data_jetty</alfresco.data.location>
|
<alfresco.data.location>./alf_data_jetty</alfresco.data.location>
|
||||||
<alfresco.db.name>alf_jetty</alfresco.db.name>
|
<alfresco.db.name>alf_jetty</alfresco.db.name>
|
||||||
@@ -70,17 +67,23 @@
|
|||||||
<!-- 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+ -->
|
||||||
<!--desktop.action.package>org.alfresco.filesys.repo.desk</desktop.action.package-->
|
<!--
|
||||||
|
desktop.action.package>org.alfresco.filesys.repo.desk</desktop.action.package
|
||||||
|
-->
|
||||||
<log.dir></log.dir>
|
<log.dir></log.dir>
|
||||||
<!-- Uncomment this property together with the <scm> section downwards
|
<!--
|
||||||
<svn.url>
|
Uncomment this property together with the <scm> section downwards
|
||||||
https://mycompany.com/repos/my-test-project
|
<svn.url> https://mycompany.com/repos/my-test-project </svn.url>
|
||||||
</svn.url>
|
|
||||||
-->
|
-->
|
||||||
<!-- Uncomment this property together with the maven-release-plugin <plugin><configuration><tagBase/></configuration></plugin> section downwards
|
<!--
|
||||||
<svn.tags.url>${svn.url}/tags</svn.tags.url>
|
Uncomment this property together with the maven-release-plugin
|
||||||
|
<plugin><configuration><tagBase/></configuration></plugin> section
|
||||||
|
downwards <svn.tags.url>${svn.url}/tags</svn.tags.url>
|
||||||
|
-->
|
||||||
|
<!--
|
||||||
|
These redundancies are due to filtering issues of Maven. See here
|
||||||
|
http://maven.apache.org/plugins/maven-site-plugin/usage.html
|
||||||
-->
|
-->
|
||||||
<!-- 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_description>${pom.description}</site_pom_description>
|
||||||
<site_pom_url>${pom.organization.url}</site_pom_url>
|
<site_pom_url>${pom.organization.url}</site_pom_url>
|
||||||
<site_pom_groupId>${pom.groupId}</site_pom_groupId>
|
<site_pom_groupId>${pom.groupId}</site_pom_groupId>
|
||||||
@@ -90,44 +93,47 @@
|
|||||||
<site_site_url>${site.url}</site_site_url>
|
<site_site_url>${site.url}</site_site_url>
|
||||||
</properties>
|
</properties>
|
||||||
<!--
|
<!--
|
||||||
| Alfresco Community dependencies are generally available in ss-public repo.
|
| Alfresco Community dependencies are generally available in ss-public
|
||||||
| FIXME: Alfresco enterprise dependencies are only available on SS repo ATM. Alfresco *needs* to deliver their artifacts on (at least) partner repos
|
repo. | FIXME: Alfresco enterprise dependencies are only available on
|
||||||
|-->
|
SS repo ATM. Alfresco *needs* to deliver their artifacts on (at least)
|
||||||
|
partner repos |
|
||||||
|
-->
|
||||||
<repositories>
|
<repositories>
|
||||||
<repository>
|
<repository>
|
||||||
<id>ss-public-mirror</id>
|
<id>alfresco-public</id>
|
||||||
<url>http://repository.sourcesense.com/nexus/content/groups/public</url>
|
<url>http://maven.alfresco.com/nexus/content/groups/public</url>
|
||||||
</repository>
|
</repository>
|
||||||
<repository>
|
<repository>
|
||||||
<id>ss-public-snapshots-mirror</id>
|
<id>alfresco-public-snapshots</id>
|
||||||
<url>http://repository.sourcesense.com/nexus/content/groups/public-snapshots</url>
|
<url>http://maven.alfresco.com/nexus/content/groups/public-snapshots</url>
|
||||||
</repository>
|
</repository>
|
||||||
</repositories>
|
</repositories>
|
||||||
<pluginRepositories>
|
<pluginRepositories>
|
||||||
<pluginRepository>
|
<pluginRepository>
|
||||||
<id>ss-public-mirror</id>
|
<id>alfresco-public</id>
|
||||||
<url>http://repository.sourcesense.com/nexus/content/groups/public</url>
|
<url>http://maven.alfresco.com/nexus/content/groups/public</url>
|
||||||
</pluginRepository>
|
</pluginRepository>
|
||||||
<pluginRepository>
|
<pluginRepository>
|
||||||
<id>ss-public-snapshots-mirror</id>
|
<id>alfresco-public-snapshots</id>
|
||||||
<url>http://repository.sourcesense.com/nexus/content/groups/public-snapshots</url>
|
<url>http://maven.alfresco.com/nexus/content/groups/public-snapshots</url>
|
||||||
<snapshots>
|
<snapshots>
|
||||||
<enabled>true</enabled>
|
<enabled>true</enabled>
|
||||||
</snapshots>
|
</snapshots>
|
||||||
</pluginRepository>
|
</pluginRepository>
|
||||||
</pluginRepositories>
|
</pluginRepositories>
|
||||||
<!-- Uncomment SCM definitions in order to have mvn release:perform to actually tag the code
|
<!--
|
||||||
<scm>
|
Uncomment SCM definitions in order to have mvn release:perform to
|
||||||
|
actually tag the code <scm>
|
||||||
<developerConnection>scm:svn:${svn.url}</developerConnection>
|
<developerConnection>scm:svn:${svn.url}</developerConnection>
|
||||||
<url>${svn.url}</url>
|
<url>${svn.url}</url> </scm>
|
||||||
</scm>
|
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<!-- Alfresco dependencies -->
|
<!-- Alfresco dependencies -->
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<!-- Alfresco Dependencies
|
<!--
|
||||||
| NB: These files are not publicly available. Please vote for Alfresco to release them :)
|
Alfresco Dependencies | NB: These files are not publicly available.
|
||||||
| Jboss alfresco build (e.g. no log4j.properties and fix for myFaces)
|
Please vote for Alfresco to release them :) | Jboss alfresco build
|
||||||
|
(e.g. no log4j.properties and fix for myFaces)
|
||||||
-->
|
-->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.alfresco</groupId>
|
<groupId>org.alfresco</groupId>
|
||||||
@@ -136,7 +142,10 @@
|
|||||||
<type>war</type>
|
<type>war</type>
|
||||||
<classifier>community</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>
|
||||||
<groupId>org.alfresco</groupId>
|
<groupId>org.alfresco</groupId>
|
||||||
<artifactId>alfresco-web-client</artifactId>
|
<artifactId>alfresco-web-client</artifactId>
|
||||||
@@ -166,17 +175,15 @@
|
|||||||
<classifier>community</classifier>
|
<classifier>community</classifier>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<!-- Sample of AMP dependency that will be properly uncompressed in the Alfresco WAR (no more need for AMP):
|
<!--
|
||||||
this can be either an AMP built with maven-amp-plugin and deployed on an accessible
|
Sample of AMP dependency that will be properly uncompressed in the
|
||||||
maven repo or a generally available AMP previously deployed to a repo using mvn deploy:deploy-file
|
Alfresco WAR (no more need for AMP): this can be either an AMP built
|
||||||
|
with maven-amp-plugin and deployed on an accessible maven repo or a
|
||||||
<dependency>
|
generally available AMP previously deployed to a repo using mvn
|
||||||
<scope>runtime</scope>
|
deploy:deploy-file <dependency> <scope>runtime</scope>
|
||||||
<type>amp</type>
|
<type>amp</type> <artifactId>recordsmanagement</artifactId>
|
||||||
<artifactId>recordsmanagement</artifactId>
|
|
||||||
<version>${alfresco.version}</version>
|
<version>${alfresco.version}</version>
|
||||||
<groupId>org.alfresco</groupId>
|
<groupId>org.alfresco</groupId> </dependency>
|
||||||
</dependency>
|
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<!-- Comment if you're not using mysql -->
|
<!-- Comment if you're not using mysql -->
|
||||||
@@ -196,12 +203,21 @@
|
|||||||
<build>
|
<build>
|
||||||
<!-- Customize here your webapp name - default: alfresco.war -->
|
<!-- Customize here your webapp name - default: alfresco.war -->
|
||||||
<finalName>${webapp.name}</finalName>
|
<finalName>${webapp.name}</finalName>
|
||||||
<!-- Used to access Sourcesense repository for writing. Public version not available, see README.txt -->
|
<!--
|
||||||
<!-- In certain cases we do build time filtering with the single sourcing application.properties -->
|
Used to access Sourcesense repository for writing. Public version not
|
||||||
|
available, see README.txt
|
||||||
|
-->
|
||||||
|
<!--
|
||||||
|
In certain cases we do build time filtering with the single sourcing
|
||||||
|
application.properties
|
||||||
|
-->
|
||||||
<filters>
|
<filters>
|
||||||
<filter>src/main/properties/${env}/application.properties</filter>
|
<filter>src/main/properties/${env}/application.properties</filter>
|
||||||
</filters>
|
</filters>
|
||||||
<!-- Default profile to build as an Alfresco extension - resources are copied into classpath-->
|
<!--
|
||||||
|
Default profile to build as an Alfresco extension - resources are
|
||||||
|
copied into classpath
|
||||||
|
-->
|
||||||
<resources>
|
<resources>
|
||||||
<!-- By default also no content is restored -->
|
<!-- By default also no content is restored -->
|
||||||
<resource>
|
<resource>
|
||||||
@@ -212,8 +228,9 @@
|
|||||||
</excludes>
|
</excludes>
|
||||||
</resource>
|
</resource>
|
||||||
<!--
|
<!--
|
||||||
| Include application properties file in classpath: this allows Spring contexts to have customization properties available at
|
| Include application properties file in classpath: this allows
|
||||||
| classpath:alfresco/extension/application.properties
|
Spring contexts to have customization properties available at |
|
||||||
|
classpath:alfresco/extension/application.properties
|
||||||
-->
|
-->
|
||||||
<resource>
|
<resource>
|
||||||
<directory>src/main/properties/${env}</directory>
|
<directory>src/main/properties/${env}</directory>
|
||||||
@@ -227,7 +244,10 @@
|
|||||||
<directory>src/main/resources</directory>
|
<directory>src/main/resources</directory>
|
||||||
<includes>
|
<includes>
|
||||||
<include>log4j.properties</include>
|
<include>log4j.properties</include>
|
||||||
<!-- In this case we do build time filtering instead of runtime Spring property loading, as this is based on a CoC from Alfresco -->
|
<!--
|
||||||
|
In this case we do build time filtering instead of runtime Spring
|
||||||
|
property loading, as this is based on a CoC from Alfresco
|
||||||
|
-->
|
||||||
<include>alfresco/extension/file-servers-custom.xml</include>
|
<include>alfresco/extension/file-servers-custom.xml</include>
|
||||||
</includes>
|
</includes>
|
||||||
<filtering>true</filtering>
|
<filtering>true</filtering>
|
||||||
@@ -251,13 +271,15 @@
|
|||||||
<encoding>UTF-8</encoding>
|
<encoding>UTF-8</encoding>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
<!-- useful for eclipse project configuration. Run "mvn eclipse:eclipse" and hit "F5" on the project -->
|
<!--
|
||||||
|
useful for eclipse project configuration. Run "mvn eclipse:eclipse"
|
||||||
|
and hit "F5" on the project
|
||||||
|
-->
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-eclipse-plugin</artifactId>
|
<artifactId>maven-eclipse-plugin</artifactId>
|
||||||
<!--
|
<!--
|
||||||
<configuration>
|
<configuration> <downloadSources>true</downloadSources>
|
||||||
<downloadSources>true</downloadSources>
|
|
||||||
</configuration>
|
</configuration>
|
||||||
-->
|
-->
|
||||||
</plugin>
|
</plugin>
|
||||||
@@ -286,8 +308,11 @@
|
|||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<!-- This is required to be re-defined explicitly at plugin level as otherwise the 'amp' extension
|
<!--
|
||||||
unArchiver won't be available to the maven-dependency-plugin -->
|
This is required to be re-defined explicitly at plugin level as
|
||||||
|
otherwise the 'amp' extension unArchiver won't be available to the
|
||||||
|
maven-dependency-plugin
|
||||||
|
-->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.alfresco.maven.plugin</groupId>
|
<groupId>org.alfresco.maven.plugin</groupId>
|
||||||
<artifactId>maven-amp-plugin</artifactId>
|
<artifactId>maven-amp-plugin</artifactId>
|
||||||
@@ -307,32 +332,6 @@
|
|||||||
</webResources>
|
</webResources>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
<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>
|
|
||||||
<id>it</id>
|
|
||||||
<phase>integration-test</phase>
|
|
||||||
<goals>
|
|
||||||
<goal>run-exploded</goal>
|
|
||||||
</goals>
|
|
||||||
<configuration>
|
|
||||||
<contextPath>/${webapp.name}</contextPath>
|
|
||||||
<webApp>${pom.build.directory}/${webapp.name}</webApp>
|
|
||||||
<scanIntervalSeconds>10</scanIntervalSeconds>
|
|
||||||
<connectors>
|
|
||||||
<connector implementation="org.mortbay.jetty.nio.SelectChannelConnector">
|
|
||||||
<port>8080</port>
|
|
||||||
<maxIdleTime>60000</maxIdleTime>
|
|
||||||
</connector>
|
|
||||||
</connectors>
|
|
||||||
</configuration>
|
|
||||||
</execution>
|
|
||||||
</executions>
|
|
||||||
</plugin>
|
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.codehaus.cargo</groupId>
|
<groupId>org.codehaus.cargo</groupId>
|
||||||
<artifactId>cargo-maven2-plugin</artifactId>
|
<artifactId>cargo-maven2-plugin</artifactId>
|
||||||
@@ -345,11 +344,15 @@
|
|||||||
<!-- useEditMode>true</useEditMode> -->
|
<!-- useEditMode>true</useEditMode> -->
|
||||||
<dryRun>true</dryRun>
|
<dryRun>true</dryRun>
|
||||||
<preparationGoals>clean package</preparationGoals>
|
<preparationGoals>clean package</preparationGoals>
|
||||||
<goals>install deploy cargo:undeploy cargo:deploy site:deploy</goals>
|
<goals>install deploy cargo:undeploy cargo:deploy
|
||||||
|
site:deploy</goals>
|
||||||
<!-- <tagBase>${svn.tags.url}</tagBase> -->
|
<!-- <tagBase>${svn.tags.url}</tagBase> -->
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
<!-- Adds support for books PDF and RTF generation for single sourced documentation -->
|
<!--
|
||||||
|
Adds support for books PDF and RTF generation for single sourced
|
||||||
|
documentation
|
||||||
|
-->
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.doxia</groupId>
|
<groupId>org.apache.maven.doxia</groupId>
|
||||||
<artifactId>doxia-maven-plugin</artifactId>
|
<artifactId>doxia-maven-plugin</artifactId>
|
||||||
@@ -364,9 +367,9 @@
|
|||||||
</executions>
|
</executions>
|
||||||
<configuration>
|
<configuration>
|
||||||
<!--
|
<!--
|
||||||
| Target books dir: within the site so it can be linked and deployed
|
| Target books dir: within the site so it can be linked and
|
||||||
| TODO: Use ${pom.target.dir} or so similar property instead of
|
deployed | TODO: Use ${pom.target.dir} or so similar property
|
||||||
| hard wiring 'target'
|
instead of | hard wiring 'target'
|
||||||
-->
|
-->
|
||||||
<generatedDocs>target/site/books</generatedDocs>
|
<generatedDocs>target/site/books</generatedDocs>
|
||||||
<books>
|
<books>
|
||||||
@@ -413,11 +416,10 @@
|
|||||||
<plugin>
|
<plugin>
|
||||||
<artifactId>maven-clover-plugin</artifactId>
|
<artifactId>maven-clover-plugin</artifactId>
|
||||||
</plugin>
|
</plugin>
|
||||||
<!-- Enable this plugin only after setting SCM connection, otherwise mvn site will fail
|
<!--
|
||||||
<plugin>
|
Enable this plugin only after setting SCM connection, otherwise mvn
|
||||||
<groupId>org.codehaus.mojo</groupId>
|
site will fail <plugin> <groupId>org.codehaus.mojo</groupId>
|
||||||
<artifactId>changelog-maven-plugin</artifactId>
|
<artifactId>changelog-maven-plugin</artifactId> </plugin>
|
||||||
</plugin>
|
|
||||||
-->
|
-->
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.codehaus.mojo</groupId>
|
<groupId>org.codehaus.mojo</groupId>
|
||||||
@@ -426,29 +428,21 @@
|
|||||||
</plugins>
|
</plugins>
|
||||||
</reporting>
|
</reporting>
|
||||||
<!--
|
<!--
|
||||||
| Configured to deploy on SS public repository ATM.
|
| Configured to deploy on SS public repository ATM. | You'd need a
|
||||||
| You'd need a valid uid/pwd in our repo
|
valid uid/pwd in our repo |
|
||||||
|
|
|
||||||
-->
|
-->
|
||||||
<distributionManagement>
|
<distributionManagement>
|
||||||
<!--
|
<!--
|
||||||
|
|
| | Enable this repo in case of publicly redistributable artifacts
|
||||||
| Enable this repo in case of publicly redistributable artifacts (Sourcesense public repositories via ssh + public key )
|
(Sourcesense public repositories via ssh + public key ) |
|
||||||
|
|
<repository> <id>yourcompany</id>
|
||||||
<repository>
|
<url>scp://yourcompany/var/maven2</url> </repository>
|
||||||
<id>yourcompany</id>
|
<distributionManagement> <site> <id>yourcompany-site</id>
|
||||||
<url>scp://yourcompany/var/maven2</url>
|
<url>scp://yourcompany/var/maven2-sites</url> </site>
|
||||||
</repository>
|
|
||||||
<distributionManagement>
|
|
||||||
<site>
|
|
||||||
<id>yourcompany-site</id>
|
|
||||||
<url>scp://yourcompany/var/maven2-sites</url>
|
|
||||||
</site>
|
|
||||||
-->
|
-->
|
||||||
<!--
|
<!--
|
||||||
|
|
| | Enable this repo in case of non publicly redistributable
|
||||||
| Enable this repo in case of non publicly redistributable artifacts (Sourcesense private repositories via webdav)
|
artifacts (Sourcesense private repositories via webdav) |
|
||||||
|
|
|
||||||
-->
|
-->
|
||||||
</distributionManagement>
|
</distributionManagement>
|
||||||
|
|
||||||
@@ -457,11 +451,12 @@
|
|||||||
-->
|
-->
|
||||||
<profiles>
|
<profiles>
|
||||||
<!--
|
<!--
|
||||||
| Profile to automatically restore export files committed under
|
| Profile to automatically restore export files committed under |
|
||||||
| "tools/export/<restoreVersion>/export_*.[acp,xml]" and the restore-context.xml.
|
"tools/export/<restoreVersion>/export_*.[acp,xml]" and the
|
||||||
| Gets automatically activated specifiying a value for the property
|
restore-context.xml. | Gets automatically activated specifiying a
|
||||||
| restoreVersion which maps to the name of the folder.
|
value for the property | restoreVersion which maps to the name of the
|
||||||
| NB: In order this to work you *MUST* export your full repo with "export" package name
|
folder. | NB: In order this to work you *MUST* export your full repo
|
||||||
|
with "export" package name
|
||||||
-->
|
-->
|
||||||
<profile>
|
<profile>
|
||||||
<id>restore</id>
|
<id>restore</id>
|
||||||
@@ -490,8 +485,8 @@
|
|||||||
</build>
|
</build>
|
||||||
</profile>
|
</profile>
|
||||||
<!--
|
<!--
|
||||||
| Profile to automatically include ldap configuration files
|
| Profile to automatically include ldap configuration files | (not
|
||||||
| (not included by default build)
|
included by default build)
|
||||||
-->
|
-->
|
||||||
<profile>
|
<profile>
|
||||||
<id>ldap</id>
|
<id>ldap</id>
|
||||||
@@ -512,27 +507,30 @@
|
|||||||
</resources>
|
</resources>
|
||||||
</build>
|
</build>
|
||||||
</profile>
|
</profile>
|
||||||
<!-- Profile for deploying (only locally , due to http://jira.codehaus.org/browse/CARGO-416) on jboss.
|
<!--
|
||||||
|
|
Profile for deploying (only locally , due to
|
||||||
| FIXME: Add <dependencies> override in order to have jboss specific alfresco-*-jboss.war (e.g no log4j.properties and log4j jar)
|
http://jira.codehaus.org/browse/CARGO-416) on jboss. | | FIXME: Add
|
||||||
| being substituted as a depenendency, and avoid log4j classCasts
|
<dependencies> override in order to have jboss specific
|
||||||
|
|
alfresco-*-jboss.war (e.g no log4j.properties and log4j jar) | being
|
||||||
|
substituted as a depenendency, and avoid log4j classCasts |
|
||||||
-->
|
-->
|
||||||
<profile>
|
<profile>
|
||||||
<id>jboss</id>
|
<id>jboss</id>
|
||||||
<!--
|
<!--
|
||||||
| By default the src/main/properties/local/application.properties uses the property "alfresco.data.location" to specify where
|
| By default the src/main/properties/local/application.properties
|
||||||
| alf_data gets created and "alfresco.db.name" for the database name.
|
uses the property "alfresco.data.location" to specify where |
|
||||||
| For local jboss deployment default creation dir (alf_data) is under appserver $JBOSS_HOME/bin directory (as location is specified relatively to
|
alf_data gets created and "alfresco.db.name" for the database name.
|
||||||
| run dir)
|
| For local jboss deployment default creation dir (alf_data) is
|
||||||
|
|
under appserver $JBOSS_HOME/bin directory (as location is specified
|
||||||
| Empty log dir creates file alfresco.log in appserver default dir. You can also specify a meaningful log directory for the server
|
relatively to | run dir) | | Empty log dir creates file alfresco.log
|
||||||
| (add a trailing slash, e.g. '/var/log/alfresco/' )
|
in appserver default dir. You can also specify a meaningful log
|
||||||
|
|
directory for the server | (add a trailing slash, e.g.
|
||||||
| NB: Remember to grant appropriate permissions on database you specify here by running the script found in tools/mysql/[jetty/tomcat/jboss]
|
'/var/log/alfresco/' ) | | NB: Remember to grant appropriate
|
||||||
| sql scripts (after editing them), or run those you find in target/classes/tools/[db_remove,db_setup].sql which are already filtered according to
|
permissions on database you specify here by running the script found
|
||||||
| ' alfresco.db.name ' property.
|
in tools/mysql/[jetty/tomcat/jboss] | sql scripts (after editing
|
||||||
|
|
them), or run those you find in
|
||||||
|
target/classes/tools/[db_remove,db_setup].sql which are already
|
||||||
|
filtered according to | ' alfresco.db.name ' property. |
|
||||||
-->
|
-->
|
||||||
<properties>
|
<properties>
|
||||||
<alfresco.data.location>./alf_data</alfresco.data.location>
|
<alfresco.data.location>./alf_data</alfresco.data.location>
|
||||||
@@ -606,17 +604,20 @@
|
|||||||
<profile>
|
<profile>
|
||||||
<id>tomcat</id>
|
<id>tomcat</id>
|
||||||
<!--
|
<!--
|
||||||
| By default the src/main/properties/local/application.properties uses the property "alfresco.data.location" to specify where
|
| By default the src/main/properties/local/application.properties
|
||||||
| alf_data gets created.
|
uses the property "alfresco.data.location" to specify where |
|
||||||
| For tomcat deployment default creation dir (alf_data) is under appserver $CATALINA_HOME/bin directory (as location is specified relatively to
|
alf_data gets created. | For tomcat deployment default creation dir
|
||||||
| run dir) and db is configurable likewhise.
|
(alf_data) is under appserver $CATALINA_HOME/bin directory (as
|
||||||
| Empty log dir creates file alfresco.log in appserver default dir. You can also specify a meaningful log directory for the server
|
location is specified relatively to | run dir) and db is
|
||||||
| (add a trailing slash, e.g. '/var/log/alfresco/' )
|
configurable likewhise. | Empty log dir creates file alfresco.log in
|
||||||
|
|
appserver default dir. You can also specify a meaningful log
|
||||||
| NB: Remember to grant appropriate permissions on database you specify here by running the script found in tools/mysql/[jetty/tomcat/jboss]
|
directory for the server | (add a trailing slash, e.g.
|
||||||
| mysql scripts (properly edited) or those you find in target/tools/[db_remove,db_setup].sql which are already filtered according to
|
'/var/log/alfresco/' ) | | NB: Remember to grant appropriate
|
||||||
| ' alfresco.db.name ' property
|
permissions on database you specify here by running the script found
|
||||||
|
|
in tools/mysql/[jetty/tomcat/jboss] | mysql scripts (properly
|
||||||
|
edited) or those you find in target/tools/[db_remove,db_setup].sql
|
||||||
|
which are already filtered according to | ' alfresco.db.name '
|
||||||
|
property |
|
||||||
-->
|
-->
|
||||||
<properties>
|
<properties>
|
||||||
<alfresco.data.location>./alf_data</alfresco.data.location>
|
<alfresco.data.location>./alf_data</alfresco.data.location>
|
||||||
@@ -660,5 +661,121 @@
|
|||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
</profile>
|
</profile>
|
||||||
|
<!-- -Pinitialize : boostraps the db (only to be used the 1st run) -->
|
||||||
|
<profile>
|
||||||
|
<id>initialize</id>
|
||||||
|
<build>
|
||||||
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.codehaus.mojo</groupId>
|
||||||
|
<artifactId>sql-maven-plugin</artifactId>
|
||||||
|
<version>1.1</version>
|
||||||
|
<dependencies>
|
||||||
|
<dependency>
|
||||||
|
<groupId>mysql</groupId>
|
||||||
|
<artifactId>mysql-connector-java</artifactId>
|
||||||
|
<version>5.0.3</version>
|
||||||
|
</dependency>
|
||||||
|
</dependencies>
|
||||||
|
<!-- common configuration shared by all executions -->
|
||||||
|
<configuration>
|
||||||
|
<driver>org.gjt.mm.mysql.Driver</driver>
|
||||||
|
<url>jdbc:mysql://localhost/</url>
|
||||||
|
<username>${alfresco.db.username}</username>
|
||||||
|
<password>${alfresco.db.password}</password>
|
||||||
|
</configuration>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<phase>generate-resources</phase>
|
||||||
|
<id>drop-db</id>
|
||||||
|
<goals>
|
||||||
|
<goal>execute</goal>
|
||||||
|
</goals>
|
||||||
|
<!-- Bootstraps the DB -->
|
||||||
|
<configuration>
|
||||||
|
<onError>continue</onError>
|
||||||
|
<sqlCommand>drop database ${alfresco.db.name}</sqlCommand>
|
||||||
|
</configuration>
|
||||||
|
</execution>
|
||||||
|
<execution>
|
||||||
|
<phase>generate-resources</phase>
|
||||||
|
<id>create-db</id>
|
||||||
|
<goals>
|
||||||
|
<goal>execute</goal>
|
||||||
|
</goals>
|
||||||
|
<!-- Bootstraps the DB -->
|
||||||
|
<configuration>
|
||||||
|
<sqlCommand>create database ${alfresco.db.name}</sqlCommand>
|
||||||
|
</configuration>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
</plugin>
|
||||||
|
<!-- Cleans the alf_data folder and logs-->
|
||||||
|
<plugin>
|
||||||
|
<artifactId>maven-clean-plugin</artifactId>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<id>clean-execution</id>
|
||||||
|
<phase>generate-resources</phase>
|
||||||
|
<goals>
|
||||||
|
<goal>clean</goal>
|
||||||
|
</goals>
|
||||||
|
<configuration>
|
||||||
|
<filesets>
|
||||||
|
<fileset>
|
||||||
|
<directory>${alfresco.data.location}</directory>
|
||||||
|
<includes>
|
||||||
|
<include>**/*</include>
|
||||||
|
</includes>
|
||||||
|
</fileset>
|
||||||
|
<fileset>
|
||||||
|
<directory>.</directory>
|
||||||
|
<includes>
|
||||||
|
<include>**/*.log</include>
|
||||||
|
<include>*.log</include>
|
||||||
|
</includes>
|
||||||
|
</fileset>
|
||||||
|
</filesets>
|
||||||
|
</configuration>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
</plugin>
|
||||||
|
</plugins>
|
||||||
|
</build>
|
||||||
|
</profile>
|
||||||
|
<profile>
|
||||||
|
<id>run</id>
|
||||||
|
<build>
|
||||||
|
<plugins>
|
||||||
|
<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>
|
||||||
|
<id>it</id>
|
||||||
|
<phase>integration-test</phase>
|
||||||
|
<goals>
|
||||||
|
<goal>run-exploded</goal>
|
||||||
|
</goals>
|
||||||
|
<configuration>
|
||||||
|
<contextPath>/${webapp.name}</contextPath>
|
||||||
|
<webApp>${pom.build.directory}/${webapp.name}</webApp>
|
||||||
|
<scanIntervalSeconds>10</scanIntervalSeconds>
|
||||||
|
<connectors>
|
||||||
|
<connector implementation="org.mortbay.jetty.nio.SelectChannelConnector">
|
||||||
|
<port>8080</port>
|
||||||
|
<maxIdleTime>60000</maxIdleTime>
|
||||||
|
</connector>
|
||||||
|
</connectors>
|
||||||
|
</configuration>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
</plugin>
|
||||||
|
</plugins>
|
||||||
|
</build>
|
||||||
|
|
||||||
|
</profile>
|
||||||
</profiles>
|
</profiles>
|
||||||
</project>
|
</project>
|
||||||
|
@@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
Welcome to the Maven Alfresco Extension Archetype home
|
Welcome to the Maven Alfresco Extension Archetype home
|
||||||
|
|
||||||
You've reached the Sourcesense ({{ ${site_pom_url} }}) Maven Alfresco Extension archetype home page (version: ${site_pom_version})
|
You've reached the ({{ ${site_pom_url} }}) Maven Alfresco Extension archetype home page (version: ${site_pom_version})
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -18,24 +18,39 @@ Description
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
Quick Start (maven2)
|
Quick Start Project Creation
|
||||||
|
|
||||||
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/nexus/content/repositories/alfresco.public.releases/archetype-catalog.xml
|
mvn archetype:generate -DarchetypeCatalog=http://maven.alfresco.com/nexus/content/repositories/releases/archetype-catalog.xml
|
||||||
--------------------------------------------
|
--------------------------------------------
|
||||||
|
|
||||||
and then choose the option 'maven-alfresco-extension-archetype'
|
and then choose the option 'maven-alfresco-extension-archetype' and fill your custom project information. You can also do this via Eclipse
|
||||||
|
using the m2eclipse plugin.
|
||||||
|
|
||||||
Quick Start (Ant)
|
|
||||||
|
|
||||||
For a quick start you can a ant alfresco extension project created by running <<(Default target : package)>> :
|
|
||||||
|
Run your project in 3 minutes
|
||||||
|
|
||||||
|
The command below allows you to package your customization, run unit tests and eventually run jetty embedded with Alfresco
|
||||||
|
|
||||||
--------------------------------------------
|
--------------------------------------------
|
||||||
Download archetype - (On unix like you could : wget http://repository.sourcesense.com/maven2/com/sourcesense/alfresco/maven-alfresco-extension-archetype/1.0.0/maven-alfresco-extension-archetype-1.0.0.jar)
|
mvn install -Prun
|
||||||
Unzip maven-alfresco-extension-archetype-1.0.0.jar
|
--------------------------------------------
|
||||||
Rename mv archetype-resources folder into your desired project name - (On unix like you could : mv archetype-resources my-alfresco-customization)
|
|
||||||
Enter my-alfresco-customization folder
|
You should be able to point your browser to http://localhost:8080/alfresco and see your nice custom Alfresco running.
|
||||||
ant
|
You might need to raise the MAVEN_OPTS memory allocated to Maven, see the FAQ section for this {{faq.html}}. \
|
||||||
-------------------------------------------
|
|
||||||
|
<<Prerequisite>>:
|
||||||
|
|
||||||
|
The only prerequisite is to have a Mysql instance running with proper permissions for the DB user, password and name configured in the POM.
|
||||||
|
The default configuration can be found in the generated pom.xml file and goes as follows:
|
||||||
|
|
||||||
|
--------------------------------------------
|
||||||
|
<alfresco.data.location>./alf_data_jetty</alfresco.data.location>
|
||||||
|
<alfresco.db.name>alf_jetty</alfresco.db.name>
|
||||||
|
<alfresco.db.username>alfresco</alfresco.db.username>
|
||||||
|
<alfresco.db.password>alfresco</alfresco.db.password>
|
||||||
|
--------------------------------------------
|
||||||
|
|
||||||
|
@@ -0,0 +1,55 @@
|
|||||||
|
What can this build do?
|
||||||
|
|
||||||
|
This Maven Alfresco build process allows you to develop, test, run, document and release your Alfresco extension project.
|
||||||
|
You can also depend on AMP files deployed on a Maven repository (either manually or using the Maven Alfresco AMP archetype),
|
||||||
|
by adding the following <<< <dependency> >>> snippet to your Extension pom.xml:
|
||||||
|
|
||||||
|
--------------------------------------------
|
||||||
|
<dependency>
|
||||||
|
<groupId>your.company</groupId>
|
||||||
|
<artifactId>youramp</artifactId>
|
||||||
|
<version>1.0-SNAPSHOT</version>
|
||||||
|
<scope>runtime</scope>
|
||||||
|
<type>amp</type>
|
||||||
|
</dependency>
|
||||||
|
--------------------------------------------
|
||||||
|
|
||||||
|
This operation will result in automated AMP unpacking in your Extension WAR file during the normal build process (e.g. mvn package or mvn install).
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Available maven profiles:
|
||||||
|
|
||||||
|
Follows a list of the accepted profiles for the Extension archetype created project:
|
||||||
|
|
||||||
|
* <<-Pinitialize>> \
|
||||||
|
Drops/creates DB and removes the alf_data POM configured directory
|
||||||
|
|
||||||
|
* <<-Prun>> \
|
||||||
|
Run Alfresco in an embedded Jetty
|
||||||
|
|
||||||
|
* <<-Pjboss>> \
|
||||||
|
Run in a locally running Jboss configured from the POM
|
||||||
|
|
||||||
|
* <<-Ptomcat>> \
|
||||||
|
Runs in a local/remote Tomcat configured from the POM
|
||||||
|
|
||||||
|
* <<-Prestore>> (DEPRECATED) \
|
||||||
|
Bootstrap a full repo from 6 ACP files (pre 3.x, now full export is disabled)
|
||||||
|
|
||||||
|
* <<-Penterprise>> (DEPRECATED) \
|
||||||
|
Pre 3.2 LDAP configuration support using ldap-autentication-context.xml and ldap-synchronization-contex.xml
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Configuration:
|
||||||
|
|
||||||
|
The project created from the extension archetype is very flexible. It uses a configuration mechanism (pre 3.2) which sigles sources
|
||||||
|
the all required properties in one single file (called <<<application.properties>>>) which is global to the whole Spring context.
|
||||||
|
This works also against 3.2, but activities are ongoing to converge to a proper usage of the new <<<alfresco-global.properties>>.
|
||||||
|
|
||||||
|
Properties are stored in the <<<src/main/properties/<env>>>> folders and env=local is considered by default. You can switch the environment
|
||||||
|
you're building for (e.g. for a release) using the <<<-Denv=yourEnv>>> switch in the command line build.
|
||||||
|
|
||||||
|
Also a number of properties are also accepted via command line of your build to give more configurability (if you're using the <<<env=local>>>).
|
||||||
|
Please check the <<<pom.xml>>> and <<<README.txt>>> generated project files for more detailed comments.
|
@@ -11,7 +11,8 @@ What is an Alfresco extension?
|
|||||||
|
|
||||||
Introduction:
|
Introduction:
|
||||||
|
|
||||||
This archetype developed within Sourcesense (http://www.sourcesense.com) aims to provide a standardized approach to development, release and deployment of Alfresco extensions (as opposed to AMP builds). Using standard m2 lifecycle commands (mvn compile package deploy) and generally available plugins (cargo, release, assembly) we are able to cover a very high percentage of Alfresco lifecycle common use cases. \
|
This archetype was developed by Gabriele Columbro {{http://www.mindthegab.com}}, originally for Sourcesense {{http://www.sourcesense.com}} then for Alfresco Limited {{http://www.alfresco.com}}.
|
||||||
|
It aims to provide a standardized approach to development, release and deployment of Alfresco extensions (as opposed to AMP builds). Using standard m2 lifecycle commands (mvn compile package deploy) and generally available plugins (cargo, release, assembly) we are able to cover a very high percentage of Alfresco lifecycle common use cases. \
|
||||||
It can be used both with Maven2 and Ant build systems, but it must be clear that *only* the Maven2 approach provides all the automation features we will describe in the next paragraphs. \
|
It can be used both with Maven2 and Ant build systems, but it must be clear that *only* the Maven2 approach provides all the automation features we will describe in the next paragraphs. \
|
||||||
In addition to that the m2 approach provides a zero-conf approach while ant requires (as usual) manual gathering and selection of required alfresco libraries and webapp (please refer to README-ant.txt for further info about the Ant build). Last but not the least, m2 build is more likely to be maintained and improved (especially in the likely case Alfresco moves to maven2). \
|
In addition to that the m2 approach provides a zero-conf approach while ant requires (as usual) manual gathering and selection of required alfresco libraries and webapp (please refer to README-ant.txt for further info about the Ant build). Last but not the least, m2 build is more likely to be maintained and improved (especially in the likely case Alfresco moves to maven2). \
|
||||||
For more details on the Ant apprach please refer instead to {{{${site_tags_url}/${site_pom_artifactId}-${site_pom_version}<7D>src/main/resources/archetype-resources/readme-ANT.txt} Ant Readme}}.
|
For more details on the Ant apprach please refer instead to {{{${site_tags_url}/${site_pom_artifactId}-${site_pom_version}<7D>src/main/resources/archetype-resources/readme-ANT.txt} Ant Readme}}.
|
||||||
@@ -19,6 +20,8 @@ Introduction:
|
|||||||
|
|
||||||
Features (maven2 only):
|
Features (maven2 only):
|
||||||
|
|
||||||
|
For a detail of the Maven profiles to call please refer to the Usage page {{profiles.html}}, follows a high level description of the features:
|
||||||
|
|
||||||
* <<Easy dependency management and upgrade testing>> \
|
* <<Easy dependency management and upgrade testing>> \
|
||||||
Webapp WAR dependency on Alfresco community/enterprise wars (or even environment dependent builds, e.g. WAR without log4j for Jboss-4.0.X) can be easily switched and build
|
Webapp WAR dependency on Alfresco community/enterprise wars (or even environment dependent builds, e.g. WAR without log4j for Jboss-4.0.X) can be easily switched and build
|
||||||
` for different platforms in custom maven2 build profiles.
|
` for different platforms in custom maven2 build profiles.
|
||||||
@@ -52,7 +55,7 @@ Features (maven2 only):
|
|||||||
Database creation/remove scripts are filtered according to the build profile, so you can directly run them for the different environment they were 'built' for.
|
Database creation/remove scripts are filtered according to the build profile, so you can directly run them for the different environment they were 'built' for.
|
||||||
|
|
||||||
* <<Easy ide (Eclipse) integration>> \
|
* <<Easy ide (Eclipse) integration>> \
|
||||||
As difficult as running mvn <<<eclipse:eclipse>>> and hitting "Refresh in your eclipse proje"
|
Using m2eclipse {{http://m2eclipse.sonatype.org}}
|
||||||
|
|
||||||
* <<Release process>> \
|
* <<Release process>> \
|
||||||
One command release deploy for this artifact and for the project generated from it. See README-m2.txt for more details.
|
One command release deploy for this artifact and for the project generated from it. See README-m2.txt for more details.
|
||||||
|
@@ -7,24 +7,22 @@
|
|||||||
<poweredBy>
|
<poweredBy>
|
||||||
<logo name="Maven" href="http://maven.apache.org" img="http://maven.apache.org/images/logos/maven-feather.png" />
|
<logo name="Maven" href="http://maven.apache.org" img="http://maven.apache.org/images/logos/maven-feather.png" />
|
||||||
<logo name="Alfresco - Open source ECM" img="http://alfresco.com/assets/images/icons/powered_by_alfresco.gif"
|
<logo name="Alfresco - Open source ECM" img="http://alfresco.com/assets/images/icons/powered_by_alfresco.gif"
|
||||||
href="http://www.sourcesense.com" />
|
href="http://www.alfresco.com" />
|
||||||
</poweredBy>
|
</poweredBy>
|
||||||
<publishDate position="navigation-bottom" format="MM-dd-yy" />
|
<publishDate position="navigation-bottom" format="MM-dd-yy" />
|
||||||
<bannerLeft>
|
<bannerLeft>
|
||||||
<name>Maven alfresco Extension archetype - v. ${project.version}</name>
|
<name>Maven alfresco Extension archetype - v. ${project.version}</name>
|
||||||
<href>${site_site_url}</href>
|
<href>${site_site_url}</href>
|
||||||
<src>images/logo_noclaim.png</src>
|
<src>images/Alfresco-logo-transparent.gif</src>
|
||||||
</bannerLeft>
|
</bannerLeft>
|
||||||
<body>
|
<body>
|
||||||
<links>
|
|
||||||
<item name="Maven" href="http://maven.apache.org/" />
|
|
||||||
<item name="Apache" href="http://www.apache.org/" />
|
|
||||||
</links>
|
|
||||||
|
|
||||||
<menu name="M2 Alfresco Extension Archetype">
|
<menu name="M2 Alfresco Extension Archetype">
|
||||||
<item name="Introduction" href="/index.html" />
|
<item name="Introduction" href="index.html" />
|
||||||
<item name="README" href="/readme.html" />
|
<item name="README" href="readme.html" />
|
||||||
<item name="Generated Project Layout " href="layout.html"/>
|
<item name="Generated Project Layout " href="layout.html"/>
|
||||||
|
<item name="Usage " href="profiles.html"/>
|
||||||
<item name="How To" href="http://wiki.alfresco.com/wiki/Managing_Alfresco_Lifecyle_with_Maven" />
|
<item name="How To" href="http://wiki.alfresco.com/wiki/Managing_Alfresco_Lifecyle_with_Maven" />
|
||||||
<item name="FAQ" href="faq.html" />
|
<item name="FAQ" href="faq.html" />
|
||||||
</menu>
|
</menu>
|
||||||
@@ -35,6 +33,12 @@
|
|||||||
<item name="Third party how to" href="http://www.cybermagic.co.nz/wiki/display/CM/Building+Alfresco+apps+with+Maven" />
|
<item name="Third party how to" href="http://www.cybermagic.co.nz/wiki/display/CM/Building+Alfresco+apps+with+Maven" />
|
||||||
</menu>
|
</menu>
|
||||||
|
|
||||||
|
<links>
|
||||||
|
<item name="Maven" href="http://maven.apache.org/" />
|
||||||
|
<item name="Apache" href="http://www.apache.org/" />
|
||||||
|
<item name="Alfresco" href="http://www.alfresco.com/" />
|
||||||
|
</links>
|
||||||
|
|
||||||
<menu ref="reports" />
|
<menu ref="reports" />
|
||||||
</body>
|
</body>
|
||||||
</project>
|
</project>
|
||||||
|
@@ -15,8 +15,8 @@
|
|||||||
<relativePath>../pom.xml</relativePath>
|
<relativePath>../pom.xml</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
<organization>
|
<organization>
|
||||||
<name>Sourcesense</name>
|
<name>Maven Alfresco Community</name>
|
||||||
<url>http://www.sourcesense.com</url>
|
<url>http://www.alfresco.com</url>
|
||||||
</organization>
|
</organization>
|
||||||
<modules>
|
<modules>
|
||||||
<module>maven-alfresco-amp-archetype</module>
|
<module>maven-alfresco-amp-archetype</module>
|
||||||
|
@@ -6,7 +6,7 @@
|
|||||||
</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>
|
||||||
@@ -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/nexus/content/repositories/alfresco.public.sites/maven-alfresco-lifecycle/maven-alfresco-archetypes/maven-alfresco-amp-archetype/index.html"/>
|
<item name="Maven Alfresco AMP Archetype" href="http://maven.alfresco.com/nexus/content/repositories/alfresco-docs/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/nexus/content/repositories/alfresco.public.sites/maven-alfresco-lifecycle/maven-alfresco-archetypes/maven-alfresco-extension-archetype/index.html"/>
|
<item name="Maven Alfresco Extension Archetype" href="http://maven.alfresco.com/nexus/content/repositories/alfresco-docs/maven-alfresco-lifecycle/maven-alfresco-archetypes/maven-alfresco-extension-archetype/index.html"/>
|
||||||
</menu>
|
</menu>
|
||||||
|
|
||||||
<menu ref="reports"/>
|
<menu ref="reports"/>
|
||||||
|
42
pom.xml
42
pom.xml
@@ -5,7 +5,7 @@
|
|||||||
<packaging>pom</packaging>
|
<packaging>pom</packaging>
|
||||||
<version>1.0.1-SNAPSHOT</version>
|
<version>1.0.1-SNAPSHOT</version>
|
||||||
<name>Maven Alfresco Lifecycle support base project</name>
|
<name>Maven Alfresco Lifecycle support base project</name>
|
||||||
<url>http://repository.sourcesense.com/nexus/content/repositories/alfresco.public.sites/maven-alfresco-lifecycle</url>
|
<url>http://maven.alfresco.com/nexus/content/repositories/alfresco-docs/maven-alfresco-lifecycle</url>
|
||||||
<description>
|
<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
|
It gathers the latest stable versions of the different components that are used to support Alfresco development on Maven in enterprise and
|
||||||
@@ -45,14 +45,15 @@ community contexts.
|
|||||||
<developerConnection>scm:svn:https://maven-alfresco-archetypes.googlecode.com/svn/trunk</developerConnection>
|
<developerConnection>scm:svn:https://maven-alfresco-archetypes.googlecode.com/svn/trunk</developerConnection>
|
||||||
<url>https://maven-alfresco-archetypes.googlecode.com/svn/trunk</url>
|
<url>https://maven-alfresco-archetypes.googlecode.com/svn/trunk</url>
|
||||||
</scm>
|
</scm>
|
||||||
|
<!-- New Alfresco nexus instance -->
|
||||||
<repositories>
|
<repositories>
|
||||||
<repository>
|
<repository>
|
||||||
<id>ss-public-mirror</id>
|
<id>alfresco-public</id>
|
||||||
<url>http://repository.sourcesense.com/nexus/content/groups/public</url>
|
<url>http://maven.alfresco.com/nexus/content/groups/public</url>
|
||||||
</repository>
|
</repository>
|
||||||
<repository>
|
<repository>
|
||||||
<id>ss-public-snapshots-mirror</id>
|
<id>alfresco-public-snapshots</id>
|
||||||
<url>http://repository.sourcesense.com/nexus/content/groups/public-snapshots</url>
|
<url>http://maven.alfresco.com/nexus/content/groups/public-snapshots</url>
|
||||||
<snapshots>
|
<snapshots>
|
||||||
<enabled>true</enabled>
|
<enabled>true</enabled>
|
||||||
<updatePolicy>daily</updatePolicy>
|
<updatePolicy>daily</updatePolicy>
|
||||||
@@ -61,12 +62,12 @@ community contexts.
|
|||||||
</repositories>
|
</repositories>
|
||||||
<pluginRepositories>
|
<pluginRepositories>
|
||||||
<pluginRepository>
|
<pluginRepository>
|
||||||
<id>ss-public-mirror</id>
|
<id>alfresco-public</id>
|
||||||
<url>http://repository.sourcesense.com/nexus/content/groups/public</url>
|
<url>http://maven.alfresco.com/nexus/content/groups/public</url>
|
||||||
</pluginRepository>
|
</pluginRepository>
|
||||||
<pluginRepository>
|
<pluginRepository>
|
||||||
<id>ss-public-snapshots-mirror</id>
|
<id>alfresco-public-snapshots</id>
|
||||||
<url>http://repository.sourcesense.com/nexus/content/groups/public-snapshots</url>
|
<url>http://maven.alfresco.com/nexus/content/groups/public-snapshots</url>
|
||||||
<snapshots>
|
<snapshots>
|
||||||
<enabled>true</enabled>
|
<enabled>true</enabled>
|
||||||
<updatePolicy>daily</updatePolicy>
|
<updatePolicy>daily</updatePolicy>
|
||||||
@@ -97,6 +98,17 @@ community contexts.
|
|||||||
<role>Agile guru</role>
|
<role>Agile guru</role>
|
||||||
<role>Maven Calm Expert</role>
|
<role>Maven Calm Expert</role>
|
||||||
</roles>
|
</roles>
|
||||||
|
</developer>
|
||||||
|
<developer>
|
||||||
|
<id>carlo.sciolla</id>
|
||||||
|
<name>Carlo Sciolla</name>
|
||||||
|
<email>m.pillitu@sourcesense.com</email>
|
||||||
|
<organization>Sourcesense</organization>
|
||||||
|
<organizationUrl>http://www.sourcesense.com</organizationUrl>
|
||||||
|
<roles>
|
||||||
|
<role>Infra support</role>
|
||||||
|
<role>Developer</role>
|
||||||
|
</roles>
|
||||||
</developer>
|
</developer>
|
||||||
</developers>
|
</developers>
|
||||||
<mailingLists>
|
<mailingLists>
|
||||||
@@ -213,16 +225,16 @@ community contexts.
|
|||||||
</reporting>
|
</reporting>
|
||||||
<distributionManagement>
|
<distributionManagement>
|
||||||
<repository>
|
<repository>
|
||||||
<id>ss-public</id>
|
<id>alfresco-releases</id>
|
||||||
<url>http://repository.sourcesense.com/nexus/content/repositories/alfresco.public.releases</url>
|
<url>http://maven.alfresco.com/nexus/content/repositories/releases</url>
|
||||||
</repository>
|
</repository>
|
||||||
<snapshotRepository>
|
<snapshotRepository>
|
||||||
<id>ss-public-snapshots</id>
|
<id>alfresco-snapshots</id>
|
||||||
<url>http://repository.sourcesense.com/nexus/content/repositories/alfresco.public.snapshots</url>
|
<url>http://maven.alfresco.com/nexus/content/repositories/snapshots</url>
|
||||||
</snapshotRepository>
|
</snapshotRepository>
|
||||||
<site>
|
<site>
|
||||||
<id>ss-public-sites</id>
|
<id>alfresco-docs</id>
|
||||||
<url>dav:http://repository.sourcesense.com/nexus/content/repositories/alfresco.public.sites/maven-alfresco-lifecycle</url>
|
<url>dav:http://maven.alfresco.com/nexus/content/repositories/alfresco-docs-staging/maven-alfresco-lifecycle</url>
|
||||||
</site>
|
</site>
|
||||||
</distributionManagement>
|
</distributionManagement>
|
||||||
</project>
|
</project>
|
||||||
|
@@ -4,6 +4,18 @@
|
|||||||
<author email="gabriele.columbro@alfresco.com">Gabriele Columbro</author>
|
<author email="gabriele.columbro@alfresco.com">Gabriele Columbro</author>
|
||||||
</properties>
|
</properties>
|
||||||
<body>
|
<body>
|
||||||
|
<release version="1.0.1" date="2009-12-03" description="Complete moving of the full infrastructure to Alfresco Community Maven Repository and Share Addon">
|
||||||
|
<action dev="columbro" type="add">
|
||||||
|
Moved all the archetypes to work against http://maven.alfresco.com
|
||||||
|
</action>
|
||||||
|
<action dev="columbro" type="add">
|
||||||
|
Updated documentation to point to the new infrastructure
|
||||||
|
</action>
|
||||||
|
<action dev="columbro" type="add">
|
||||||
|
Added support for Alfresco SHARE archetype
|
||||||
|
</action>
|
||||||
|
|
||||||
|
</release>
|
||||||
<release version="1.0.0" date="2009-11-03" description="Complete refactoring of the full support in one multimodule project (maven-alfresco-lifecycle)">
|
<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">
|
<action dev="columbro" type="add">
|
||||||
Linked all sub modules.
|
Linked all sub modules.
|
||||||
|
@@ -11,15 +11,15 @@
|
|||||||
</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 Extension archetype - v. ${project.version}</name>
|
||||||
<href>${site_site_url}</href>
|
<href>http://www.alfresco.com</href>
|
||||||
<src>images/logo_noclaim.png</src>
|
<src>images/Alfresco-logo-transparent.gif</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.alfresco.org/" />
|
<item name="Alfresco" href="http://www.alfresco.com/" />
|
||||||
<item name="Project founder" href="http://www.mindthegab.com/" />
|
<item name="Project founder" href="http://www.mindthegab.com/" />
|
||||||
</links>
|
</links>
|
||||||
|
|
||||||
@@ -33,12 +33,10 @@
|
|||||||
<item name="FAQ" href="faq.html" />
|
<item name="FAQ" href="faq.html" />
|
||||||
</menu>
|
</menu>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<menu name="See also">
|
<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 Alfresco AMP Archetype" href="http://maven.alfresco.com/nexus/content/repositories/alfresco-docs/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="Maven AMP Plugin" href="http://maven.alfresco.com/nexus/content/repositories/alfresco-docs/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>
|
||||||
|
|
||||||
<menu ref="reports" />
|
<menu ref="reports" />
|
||||||
|
Reference in New Issue
Block a user