|
|
@@ -1,22 +1,23 @@
|
|
|
|
<?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 2.0
|
|
|
|
(the "License"); you may not use this file except in compliance with
|
|
|
|
(the "License"); you may not use this file except in compliance with
|
|
|
|
the License. You may obtain a copy of the License at
|
|
|
|
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
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
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.
|
|
|
|
|
|
|
|
|
|
|
|
-->
|
|
|
|
-->
|
|
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
|
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
|
|
|
|
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<groupId>${groupId}</groupId>
|
|
|
|
<groupId>${groupId}</groupId>
|
|
|
|
<artifactId>${artifactId}</artifactId>
|
|
|
|
<artifactId>${artifactId}</artifactId>
|
|
|
@@ -25,49 +26,49 @@
|
|
|
|
<packaging>war</packaging>
|
|
|
|
<packaging>war</packaging>
|
|
|
|
<url></url>
|
|
|
|
<url></url>
|
|
|
|
<description>Alfresco extension</description>
|
|
|
|
<description>Alfresco extension</description>
|
|
|
|
<!--
|
|
|
|
<!--
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| -Denv - toggles src/main/properties/<env>/application.properties files (default: local)
|
|
|
|
| -Denv - toggles src/main/properties/<env>/application.properties files (default: local)
|
|
|
|
| -DrestoreVersion=<restoreVersion> - toggles profile "restore" in order to include tools/export/<restoreVersion>/restore/*.acp files in
|
|
|
|
| -DrestoreVersion=<restoreVersion> - toggles profile "restore" in order to include tools/export/<restoreVersion>/restore/*.acp files in
|
|
|
|
| alfresco/extension/restore (default: no restore)
|
|
|
|
| alfresco/extension/restore (default: no restore)
|
|
|
|
| -Dcustomization.name=<customizationName> - name of the jar artifact 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 (default: ${artifactId}-{version}.jar )
|
|
|
|
| -Dwebapp.name=<extensionName> - name of the WAR artifact to be built (default: ${artifactId}-{version}.jar )
|
|
|
|
| -Denterprise - Includes LDAP configuration as defined in application.properties
|
|
|
|
| -Denterprise - Includes LDAP configuration as defined in application.properties
|
|
|
|
-->
|
|
|
|
-->
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Default properties -->
|
|
|
|
<!-- Default properties -->
|
|
|
|
<properties>
|
|
|
|
<properties>
|
|
|
|
<!-- src/main/properties/<env>/application.properties is loaded -->
|
|
|
|
<!-- src/main/properties/<env>/application.properties is loaded -->
|
|
|
|
<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 uses the property "alfresco.data.location" to specify where
|
|
|
|
| By default the src/main/properties/local/application.properties uses the property "alfresco.data.location" to specify where
|
|
|
|
| alf_data gets created.
|
|
|
|
| alf_data gets created.
|
|
|
|
| For local jetty:run deployment default creation dir is under project root folder (as location is specified relatively to run
|
|
|
|
| For local jetty:run deployment default creation dir is under project root folder (as location is specified relatively to run
|
|
|
|
| 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
|
|
|
|
| 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
|
|
|
|
| sproject) folder
|
|
|
|
| sproject) folder
|
|
|
|
| by editing the following properties.
|
|
|
|
| by editing the following properties.
|
|
|
|
| DB is also configurable here. Of course keep in sync these two values otherwise you'll get integrity errors.
|
|
|
|
| DB is also configurable here. Of course keep in sync these two values otherwise you'll get integrity errors.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| Empty log dir creates file alfresco.log in appserver default dir. You can also specify a meaningful log directory for the server
|
|
|
|
| Empty log dir creates file alfresco.log in appserver default dir. You can also specify a meaningful log directory for the server
|
|
|
|
| (add a trailing slash, e.g. '/var/log/alfresco/' )
|
|
|
|
| (add a trailing slash, e.g. '/var/log/alfresco/' )
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| Jetty embedded run logs by default in target/alfresco.log
|
|
|
|
| Jetty embedded run logs by 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>
|
|
|
|
<log.dir>${project.build.directory}/</log.dir>
|
|
|
|
<log.dir>${project.build.directory}/</log.dir>
|
|
|
|
<!-- Uncomment this property together with the <scm> section downwards
|
|
|
|
<!-- Uncomment this property together with the <scm> section downwards
|
|
|
|
<svn.url>
|
|
|
|
<svn.url>
|
|
|
|
https://mycompany.com/repos/my-test-project
|
|
|
|
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
|
|
|
|
<!-- 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>
|
|
|
|
<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>
|
|
|
@@ -78,9 +79,9 @@
|
|
|
|
<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>${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 repo.
|
|
|
|
| FIXME: Alfresco enterprise dependencies are only available on SS repo ATM. Alfresco *needs* to deliver their artifacts on (at least) partner repos
|
|
|
|
| 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>
|
|
|
@@ -89,36 +90,35 @@
|
|
|
|
</repository>
|
|
|
|
</repository>
|
|
|
|
</repositories>
|
|
|
|
</repositories>
|
|
|
|
<pluginRepositories>
|
|
|
|
<pluginRepositories>
|
|
|
|
<pluginRepository>
|
|
|
|
<pluginRepository>
|
|
|
|
<id>codehaus snapshot repository</id>
|
|
|
|
<id>codehaus snapshot repository</id>
|
|
|
|
<url>http://snapshots.repository.codehaus.org/</url>
|
|
|
|
<url>http://snapshots.repository.codehaus.org/</url>
|
|
|
|
<releases>
|
|
|
|
<releases>
|
|
|
|
<enabled>true</enabled>
|
|
|
|
<enabled>true</enabled>
|
|
|
|
</releases>
|
|
|
|
</releases>
|
|
|
|
</pluginRepository>
|
|
|
|
</pluginRepository>
|
|
|
|
<pluginRepository>
|
|
|
|
<pluginRepository>
|
|
|
|
<id>Maven Snapshots</id>
|
|
|
|
<id>Maven Snapshots</id>
|
|
|
|
<url>http://snapshots.maven.codehaus.org/maven2/</url>
|
|
|
|
<url>http://snapshots.maven.codehaus.org/maven2/</url>
|
|
|
|
<snapshots>
|
|
|
|
<snapshots></snapshots>
|
|
|
|
</snapshots>
|
|
|
|
<releases>
|
|
|
|
<releases>
|
|
|
|
<enabled>false</enabled>
|
|
|
|
<enabled>false</enabled>
|
|
|
|
</releases>
|
|
|
|
</releases>
|
|
|
|
</pluginRepository>
|
|
|
|
</pluginRepository>
|
|
|
|
</pluginRepositories>
|
|
|
|
</pluginRepositories>
|
|
|
|
<!-- Uncomment SCM definitions in order to have mvn release:perform to actually tag the code
|
|
|
|
<!-- Uncomment SCM definitions in order to have mvn release:perform to actually tag the code
|
|
|
|
<scm>
|
|
|
|
<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
|
|
|
|
<!-- Alfresco Dependencies
|
|
|
|
| NB: These files are not publicly available. Please vote for Alfresco to release them :)
|
|
|
|
| NB: These files are not publicly available. Please vote for Alfresco to release them :)
|
|
|
|
| Jboss alfresco build (e.g. no log4j.properties and fix for myFaces)
|
|
|
|
| Jboss alfresco build (e.g. no log4j.properties and fix for myFaces)
|
|
|
|
-->
|
|
|
|
-->
|
|
|
|
<dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>alfresco.community</groupId>
|
|
|
|
<groupId>alfresco.community</groupId>
|
|
|
|
<artifactId>alfresco</artifactId>
|
|
|
|
<artifactId>alfresco</artifactId>
|
|
|
@@ -159,91 +159,91 @@
|
|
|
|
</dependency>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Other provided dependencies. Uncomment for development/test -->
|
|
|
|
<!-- Other provided dependencies. Uncomment for development/test -->
|
|
|
|
<!-- dependency>
|
|
|
|
<!-- dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring</artifactId>
|
|
|
|
<artifactId>spring</artifactId>
|
|
|
|
<version>2.0</version>
|
|
|
|
<version>2.0</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-mock</artifactId>
|
|
|
|
<artifactId>spring-mock</artifactId>
|
|
|
|
<version>2.0</version>
|
|
|
|
<version>2.0</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependency>
|
|
|
|
-->
|
|
|
|
-->
|
|
|
|
<dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>javax.servlet</groupId>
|
|
|
|
<groupId>javax.servlet</groupId>
|
|
|
|
<artifactId>servlet-api</artifactId>
|
|
|
|
<artifactId>servlet-api</artifactId>
|
|
|
|
<version>2.5</version>
|
|
|
|
<version>2.5</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependency>
|
|
|
|
<!--
|
|
|
|
<!--
|
|
|
|
The following dependencies are possibly obsolete. Please check inside alfresco WAR lib folder which version you need to depend upon in case you
|
|
|
|
The following dependencies are possibly obsolete. Please check inside alfresco WAR lib folder which version you need to depend upon in case you
|
|
|
|
have classNotFoundException at runtime or you miss static linking for mvn eclipse:eclipse command.
|
|
|
|
have classNotFoundException at runtime or you miss static linking for mvn eclipse:eclipse command.
|
|
|
|
Alfresco should adhere to a strict library naming policy or better build with maven ;)
|
|
|
|
Alfresco should adhere to a strict library naming policy or better build with maven ;)
|
|
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>javax.j2ee</groupId>
|
|
|
|
<groupId>javax.j2ee</groupId>
|
|
|
|
<artifactId>j2ee</artifactId>
|
|
|
|
<artifactId>j2ee</artifactId>
|
|
|
|
<version>1.4</version>
|
|
|
|
<version>1.4</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>xalan</groupId>
|
|
|
|
<groupId>xalan</groupId>
|
|
|
|
<artifactId>xalan</artifactId>
|
|
|
|
<artifactId>xalan</artifactId>
|
|
|
|
<version>2.7.0</version>
|
|
|
|
<version>2.7.0</version>
|
|
|
|
</dependency>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.geronimo.specs</groupId>
|
|
|
|
<groupId>org.apache.geronimo.specs</groupId>
|
|
|
|
<artifactId>geronimo-ejb_2.1_spec</artifactId>
|
|
|
|
<artifactId>geronimo-ejb_2.1_spec</artifactId>
|
|
|
|
<version>1.1</version>
|
|
|
|
<version>1.1</version>
|
|
|
|
</dependency>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>xerces</groupId>
|
|
|
|
<groupId>xerces</groupId>
|
|
|
|
<artifactId>xmlParserAPIs</artifactId>
|
|
|
|
<artifactId>xmlParserAPIs</artifactId>
|
|
|
|
<version>2.6.2</version>
|
|
|
|
<version>2.6.2</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>myfaces</groupId>
|
|
|
|
<groupId>myfaces</groupId>
|
|
|
|
<artifactId>myfaces-api</artifactId>
|
|
|
|
<artifactId>myfaces-api</artifactId>
|
|
|
|
<version>1.1.1</version>
|
|
|
|
<version>1.1.1</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>javax.jcr</groupId>
|
|
|
|
<groupId>javax.jcr</groupId>
|
|
|
|
<artifactId>jcr</artifactId>
|
|
|
|
<artifactId>jcr</artifactId>
|
|
|
|
<version>1.0</version>
|
|
|
|
<version>1.0</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>portlet-api</groupId>
|
|
|
|
<groupId>portlet-api</groupId>
|
|
|
|
<artifactId>portlet-api</artifactId>
|
|
|
|
<artifactId>portlet-api</artifactId>
|
|
|
|
<version>1.0</version>
|
|
|
|
<version>1.0</version>
|
|
|
|
</dependency>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>jta</groupId>
|
|
|
|
<groupId>jta</groupId>
|
|
|
|
<artifactId>jta</artifactId>
|
|
|
|
<artifactId>jta</artifactId>
|
|
|
|
<version>1.0.1B</version>
|
|
|
|
<version>1.0.1B</version>
|
|
|
|
</dependency>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>commons-logging</groupId>
|
|
|
|
<groupId>commons-logging</groupId>
|
|
|
|
<artifactId>commons-logging-api</artifactId>
|
|
|
|
<artifactId>commons-logging-api</artifactId>
|
|
|
|
<version>1.0.3</version>
|
|
|
|
<version>1.0.3</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>dom4j</groupId>
|
|
|
|
<groupId>dom4j</groupId>
|
|
|
|
<artifactId>dom4j</artifactId>
|
|
|
|
<artifactId>dom4j</artifactId>
|
|
|
|
<version>1.6.1</version>
|
|
|
|
<version>1.6.1</version>
|
|
|
|
</dependency>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>commons-discovery</groupId>
|
|
|
|
<groupId>commons-discovery</groupId>
|
|
|
|
<artifactId>commons-discovery</artifactId>
|
|
|
|
<artifactId>commons-discovery</artifactId>
|
|
|
|
<version>20040218.194635</version>
|
|
|
|
<version>20040218.194635</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependency>
|
|
|
|
-->
|
|
|
|
-->
|
|
|
|
</dependencies>
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
|
|
|
@@ -333,14 +333,55 @@
|
|
|
|
<locales>en</locales>
|
|
|
|
<locales>en</locales>
|
|
|
|
</configuration>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<groupId>org.alfresco.maven.plugin</groupId>
|
|
|
|
<artifactId>maven-war-plugin</artifactId>
|
|
|
|
<artifactId>maven-amp-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<version>1.0.0</version>
|
|
|
|
<archiveClasses>false</archiveClasses>
|
|
|
|
<extensions>true</extensions>
|
|
|
|
<webappDirectory>target/${webapp.name}</webappDirectory>
|
|
|
|
<configuration>
|
|
|
|
<warSourceExcludes>**classes/tools</warSourceExcludes>
|
|
|
|
<archive>
|
|
|
|
</configuration>
|
|
|
|
<addMavenDescriptor>false</addMavenDescriptor>
|
|
|
|
|
|
|
|
</archive>
|
|
|
|
|
|
|
|
</configuration>
|
|
|
|
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
|
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
|
|
|
|
|
|
<executions>
|
|
|
|
|
|
|
|
<execution>
|
|
|
|
|
|
|
|
<id>unpack-amps</id>
|
|
|
|
|
|
|
|
<phase>process-resources</phase>
|
|
|
|
|
|
|
|
<goals>
|
|
|
|
|
|
|
|
<goal>unpack-dependencies</goal>
|
|
|
|
|
|
|
|
</goals>
|
|
|
|
|
|
|
|
<configuration>
|
|
|
|
|
|
|
|
<includeTypes>amp</includeTypes>
|
|
|
|
|
|
|
|
<outputDirectory>${build.directory}/${webapp.name}</outputDirectory>
|
|
|
|
|
|
|
|
<excludes>META*</excludes>
|
|
|
|
|
|
|
|
</configuration>
|
|
|
|
|
|
|
|
</execution>
|
|
|
|
|
|
|
|
</executions>
|
|
|
|
|
|
|
|
<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 -->
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
|
|
<groupId>org.alfresco.maven.plugin</groupId>
|
|
|
|
|
|
|
|
<artifactId>maven-amp-plugin</artifactId>
|
|
|
|
|
|
|
|
<version>1.0.0</version>
|
|
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
|
|
|
<artifactId>maven-war-plugin</artifactId>
|
|
|
|
|
|
|
|
<configuration>
|
|
|
|
|
|
|
|
<archiveClasses>false</archiveClasses>
|
|
|
|
|
|
|
|
<webappDirectory>target/${webapp.name}</webappDirectory>
|
|
|
|
|
|
|
|
<warSourceExcludes>tools/**</warSourceExcludes>
|
|
|
|
|
|
|
|
<webResources>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</webResources>
|
|
|
|
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.mortbay.jetty</groupId>
|
|
|
|
<groupId>org.mortbay.jetty</groupId>
|
|
|
@@ -390,7 +431,7 @@
|
|
|
|
| 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 deployed
|
|
|
|
| TODO: Use ${pom.target.dir} or so similar property instead of
|
|
|
|
| TODO: Use ${pom.target.dir} or so similar property instead of
|
|
|
|
| hard wiring 'target'
|
|
|
|
| hard wiring 'target'
|
|
|
|
-->
|
|
|
|
-->
|
|
|
|
<generatedDocs>target/site/books</generatedDocs>
|
|
|
|
<generatedDocs>target/site/books</generatedDocs>
|
|
|
|
<books>
|
|
|
|
<books>
|
|
|
|
<book>
|
|
|
|
<book>
|
|
|
@@ -436,11 +477,11 @@
|
|
|
|
<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
|
|
|
|
<!-- Enable this plugin only after setting SCM connection, otherwise mvn site will fail
|
|
|
|
<plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<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>
|
|
|
@@ -448,52 +489,52 @@
|
|
|
|
</plugin>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</plugins>
|
|
|
|
</reporting>
|
|
|
|
</reporting>
|
|
|
|
<!--
|
|
|
|
<!--
|
|
|
|
| Configured to deploy on SS public repository ATM.
|
|
|
|
| Configured to deploy on SS public repository ATM.
|
|
|
|
| You'd need a valid uid/pwd in our repo
|
|
|
|
| You'd need a valid uid/pwd in our repo
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-->
|
|
|
|
-->
|
|
|
|
<distributionManagement>
|
|
|
|
<distributionManagement>
|
|
|
|
<!--
|
|
|
|
<!--
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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>ss-public</id>
|
|
|
|
<url>scp://repository.sourcesense.com/var/www/demo.sourcesense.com/maven2</url>
|
|
|
|
<url>scp://repository.sourcesense.com/var/www/demo.sourcesense.com/maven2</url>
|
|
|
|
</repository>
|
|
|
|
</repository>
|
|
|
|
<distributionManagement>
|
|
|
|
<distributionManagement>
|
|
|
|
<site>
|
|
|
|
<site>
|
|
|
|
<id>ss-site-public</id>
|
|
|
|
<id>ss-site-public</id>
|
|
|
|
<url>scp://repository.sourcesense.com/var/www/demo.sourcesense.com/maven2-sites</url>
|
|
|
|
<url>scp://repository.sourcesense.com/var/www/demo.sourcesense.com/maven2-sites</url>
|
|
|
|
</site>
|
|
|
|
</site>
|
|
|
|
|
|
|
|
-->
|
|
|
|
|
|
|
|
<!--
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| Enable this repo in case of non publicly redistributable artifacts (Sourcesense private repositories via webdav)
|
|
|
|
|
|
|
|
|
|
|
|
|
-->
|
|
|
|
-->
|
|
|
|
<!--
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| Enable this repo in case of non publicly redistributable artifacts (Sourcesense private repositories via webdav)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-->
|
|
|
|
|
|
|
|
<repository>
|
|
|
|
<repository>
|
|
|
|
<id>ss-private</id>
|
|
|
|
<id>ss-private</id>
|
|
|
|
<url>dav:https://dev.sourcesense.com/repos/dev/maven2</url>
|
|
|
|
<url>dav:https://dev.sourcesense.com/repos/dev/maven2</url>
|
|
|
|
</repository>
|
|
|
|
</repository>
|
|
|
|
<site>
|
|
|
|
<site>
|
|
|
|
<id>ss-site-private</id>
|
|
|
|
<id>ss-site-private</id>
|
|
|
|
<url>dav:https://dev.sourcesense.com/cargo/maven2-sites</url>
|
|
|
|
<url>dav:https://dev.sourcesense.com/cargo/maven2-sites</url>
|
|
|
|
</site>
|
|
|
|
</site>
|
|
|
|
</distributionManagement>
|
|
|
|
</distributionManagement>
|
|
|
|
|
|
|
|
|
|
|
|
<!--
|
|
|
|
<!--
|
|
|
|
| Build Profiles
|
|
|
|
| Build Profiles
|
|
|
|
-->
|
|
|
|
-->
|
|
|
|
<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 restore-context.xml.
|
|
|
|
| Gets automatically activated specifiying a value for the property
|
|
|
|
| Gets automatically activated specifiying a value for the property
|
|
|
|
| restoreVersion which maps to the name of the folder.
|
|
|
|
| restoreVersion which maps to the name of the folder.
|
|
|
|
| NB: In order this to work you *MUST* export your full repo with "export" package name
|
|
|
|
| NB: In order this to work you *MUST* export your full repo with "export" package name
|
|
|
|
-->
|
|
|
|
-->
|
|
|
|
<profile>
|
|
|
|
<profile>
|
|
|
|
<id>restore</id>
|
|
|
|
<id>restore</id>
|
|
|
|
<activation>
|
|
|
|
<activation>
|
|
|
@@ -520,10 +561,10 @@
|
|
|
|
</resources>
|
|
|
|
</resources>
|
|
|
|
</build>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
</profile>
|
|
|
|
<!--
|
|
|
|
<!--
|
|
|
|
| Profile to automatically include ldap configuration files
|
|
|
|
| Profile to automatically include ldap configuration files
|
|
|
|
| (not included by default build)
|
|
|
|
| (not included by default build)
|
|
|
|
-->
|
|
|
|
-->
|
|
|
|
<profile>
|
|
|
|
<profile>
|
|
|
|
<id>ldap</id>
|
|
|
|
<id>ldap</id>
|
|
|
|
<activation>
|
|
|
|
<activation>
|
|
|
@@ -543,38 +584,38 @@
|
|
|
|
</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 http://jira.codehaus.org/browse/CARGO-416) on jboss.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| FIXME: Add <dependencies> override in order to have jboss specific alfresco-*-jboss.war (e.g no log4j.properties and log4j jar)
|
|
|
|
| FIXME: Add <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
|
|
|
|
| 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 uses the property "alfresco.data.location" to specify where
|
|
|
|
| alf_data gets created and "alfresco.db.name" for the database name.
|
|
|
|
| alf_data gets created and "alfresco.db.name" for the database name.
|
|
|
|
| For local jboss deployment default creation dir (alf_data) is under appserver $JBOSS_HOME/bin directory (as location is specified relatively to
|
|
|
|
| For local jboss deployment default creation dir (alf_data) is under appserver $JBOSS_HOME/bin directory (as location is specified relatively to
|
|
|
|
| run dir)
|
|
|
|
| run dir)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| Empty log dir creates file alfresco.log in appserver default dir. You can also specify a meaningful log directory for the server
|
|
|
|
| Empty log dir creates file alfresco.log in appserver default dir. You can also specify a meaningful log directory for the server
|
|
|
|
| (add a trailing slash, e.g. '/var/log/alfresco/' )
|
|
|
|
| (add a trailing slash, e.g. '/var/log/alfresco/' )
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| NB: Remember to grant appropriate permissions on database you specify here by running the script found in tools/mysql/[jetty/tomcat/jboss]
|
|
|
|
| NB: Remember to grant appropriate permissions on database you specify here by running the script found 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
|
|
|
|
| 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.
|
|
|
|
| ' alfresco.db.name ' property.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-->
|
|
|
|
-->
|
|
|
|
<properties>
|
|
|
|
<properties>
|
|
|
|
<alfresco.data.location>./alf_data</alfresco.data.location>
|
|
|
|
<alfresco.data.location>./alf_data</alfresco.data.location>
|
|
|
|
<alfresco.db.name>alf_jboss</alfresco.db.name>
|
|
|
|
<alfresco.db.name>alf_jboss</alfresco.db.name>
|
|
|
|
<log.dir></log.dir>
|
|
|
|
<log.dir></log.dir>
|
|
|
|
</properties>
|
|
|
|
</properties>
|
|
|
|
<build>
|
|
|
|
<build>
|
|
|
|
<defaultGoal>cargo:deploy</defaultGoal>
|
|
|
|
<defaultGoal>cargo:deploy</defaultGoal>
|
|
|
|
<resources>
|
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<resource>
|
|
|
|
<directory>src/main/resources</directory>
|
|
|
|
<directory>src/main/resources</directory>
|
|
|
|
<excludes>
|
|
|
|
<excludes>
|
|
|
|
<exclude>**/restore-context.xml</exclude>
|
|
|
|
<exclude>**/restore-context.xml</exclude>
|
|
|
|
<exclude>**/ldap-*.xml</exclude>
|
|
|
|
<exclude>**/ldap-*.xml</exclude>
|
|
|
@@ -588,108 +629,108 @@
|
|
|
|
<filtering>true</filtering>
|
|
|
|
<filtering>true</filtering>
|
|
|
|
</resource>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
</resources>
|
|
|
|
<plugins>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.cargo</groupId>
|
|
|
|
<groupId>org.codehaus.cargo</groupId>
|
|
|
|
<artifactId>cargo-maven2-plugin</artifactId>
|
|
|
|
<artifactId>cargo-maven2-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<configuration>
|
|
|
|
<container>
|
|
|
|
<container>
|
|
|
|
<containerId>jboss4x</containerId>
|
|
|
|
<containerId>jboss4x</containerId>
|
|
|
|
<type>remote</type>
|
|
|
|
<type>remote</type>
|
|
|
|
</container>
|
|
|
|
</container>
|
|
|
|
<configuration>
|
|
|
|
<configuration>
|
|
|
|
<type>runtime</type>
|
|
|
|
<type>runtime</type>
|
|
|
|
<properties>
|
|
|
|
<properties>
|
|
|
|
<cargo.servlet.port>8080</cargo.servlet.port>
|
|
|
|
<cargo.servlet.port>8080</cargo.servlet.port>
|
|
|
|
</properties>
|
|
|
|
</properties>
|
|
|
|
</configuration>
|
|
|
|
</configuration>
|
|
|
|
<deployer>
|
|
|
|
<deployer>
|
|
|
|
<type>remote</type>
|
|
|
|
<type>remote</type>
|
|
|
|
<deployables>
|
|
|
|
<deployables>
|
|
|
|
<deployable>
|
|
|
|
<deployable>
|
|
|
|
<groupId>${pom.groupId}</groupId>
|
|
|
|
<groupId>${pom.groupId}</groupId>
|
|
|
|
<artifactId>${pom.artifactId}</artifactId>
|
|
|
|
<artifactId>${pom.artifactId}</artifactId>
|
|
|
|
<type>war</type>
|
|
|
|
<type>war</type>
|
|
|
|
</deployable>
|
|
|
|
</deployable>
|
|
|
|
</deployables>
|
|
|
|
</deployables>
|
|
|
|
</deployer>
|
|
|
|
</deployer>
|
|
|
|
</configuration>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugin>
|
|
|
|
<!-- log4j.properties is excluded from source and dependencies -->
|
|
|
|
<!-- log4j.properties is excluded from source and dependencies -->
|
|
|
|
<plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-war-plugin</artifactId>
|
|
|
|
<artifactId>maven-war-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<configuration>
|
|
|
|
<archiveClasses>false</archiveClasses>
|
|
|
|
<archiveClasses>false</archiveClasses>
|
|
|
|
<webappDirectory>target/${webapp.name}</webappDirectory>
|
|
|
|
<webappDirectory>target/${webapp.name}</webappDirectory>
|
|
|
|
<dependentWarExcludes >**/log4j.properties,**/lib/log4j*.jar,log4j.properties</dependentWarExcludes >
|
|
|
|
<dependentWarExcludes>**/log4j.properties,**/lib/log4j*.jar,log4j.properties</dependentWarExcludes>
|
|
|
|
<warSourceExcludes>**/log4j.properties,WEB-INF/classes/tools</warSourceExcludes>
|
|
|
|
<warSourceExcludes>**/log4j.properties,WEB-INF/classes/tools</warSourceExcludes>
|
|
|
|
</configuration>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
</profile>
|
|
|
|
<!--
|
|
|
|
<!--
|
|
|
|
| Profile for deploying on tomcat 5.x
|
|
|
|
| Profile for deploying on tomcat 5.x
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-->
|
|
|
|
|
|
|
|
<profile>
|
|
|
|
|
|
|
|
<id>tomcat</id>
|
|
|
|
|
|
|
|
<!--
|
|
|
|
|
|
|
|
| By default the src/main/properties/local/application.properties uses the property "alfresco.data.location" to specify where
|
|
|
|
|
|
|
|
| alf_data gets created.
|
|
|
|
|
|
|
|
| For tomcat deployment default creation dir (alf_data) is under appserver $CATALINA_HOME/bin directory (as location is specified relatively to
|
|
|
|
|
|
|
|
| run dir) and db is configurable likewhise.
|
|
|
|
|
|
|
|
| Empty log dir creates file alfresco.log in appserver default dir. You can also specify a meaningful log directory for the server
|
|
|
|
|
|
|
|
| (add a trailing slash, e.g. '/var/log/alfresco/' )
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| NB: Remember to grant appropriate 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
|
|
|
|
|
|
|
|
|
|
|
|
|
-->
|
|
|
|
-->
|
|
|
|
<profile>
|
|
|
|
<properties>
|
|
|
|
<id>tomcat</id>
|
|
|
|
<alfresco.data.location>./alf_data</alfresco.data.location>
|
|
|
|
<!--
|
|
|
|
<alfresco.db.name>alf_tomcat</alfresco.db.name>
|
|
|
|
| By default the src/main/properties/local/application.properties uses the property "alfresco.data.location" to specify where
|
|
|
|
<log.dir></log.dir>
|
|
|
|
| alf_data gets created.
|
|
|
|
</properties>
|
|
|
|
| For tomcat deployment default creation dir (alf_data) is under appserver $CATALINA_HOME/bin directory (as location is specified relatively to
|
|
|
|
<build>
|
|
|
|
| run dir) and db is configurable likewhise.
|
|
|
|
<defaultGoal>package</defaultGoal>
|
|
|
|
| Empty log dir creates file alfresco.log in appserver default dir. You can also specify a meaningful log directory for the server
|
|
|
|
<plugins>
|
|
|
|
| (add a trailing slash, e.g. '/var/log/alfresco/' )
|
|
|
|
<plugin>
|
|
|
|
|
|
|
|
|
<groupId>org.codehaus.cargo</groupId>
|
|
|
|
| NB: Remember to grant appropriate permissions on database you specify here by running the script found in tools/mysql/[jetty/tomcat/jboss]
|
|
|
|
<artifactId>cargo-maven2-plugin</artifactId>
|
|
|
|
| mysql scripts (properly edited) or those you find in target/tools/[db_remove,db_setup].sql which are already filtered according to
|
|
|
|
<configuration>
|
|
|
|
| ' alfresco.db.name ' property
|
|
|
|
<container>
|
|
|
|
|
|
|
|
|
<containerId>tomcat5x</containerId>
|
|
|
|
-->
|
|
|
|
<type>remote</type>
|
|
|
|
<properties>
|
|
|
|
</container>
|
|
|
|
<alfresco.data.location>./alf_data</alfresco.data.location>
|
|
|
|
<!-- Configure here your Tomcat server manager credentials -->
|
|
|
|
<alfresco.db.name>alf_tomcat</alfresco.db.name>
|
|
|
|
<configuration>
|
|
|
|
<log.dir></log.dir>
|
|
|
|
<type>runtime</type>
|
|
|
|
</properties>
|
|
|
|
<properties>
|
|
|
|
<build>
|
|
|
|
<cargo.remote.username>tomcat</cargo.remote.username>
|
|
|
|
<defaultGoal>package</defaultGoal>
|
|
|
|
<cargo.remote.password>tomcat</cargo.remote.password>
|
|
|
|
<plugins>
|
|
|
|
<cargo.servlet.port>8080</cargo.servlet.port>
|
|
|
|
<plugin>
|
|
|
|
</properties>
|
|
|
|
<groupId>org.codehaus.cargo</groupId>
|
|
|
|
</configuration>
|
|
|
|
<artifactId>cargo-maven2-plugin</artifactId>
|
|
|
|
<deployer>
|
|
|
|
<configuration>
|
|
|
|
<type>remote</type>
|
|
|
|
<container>
|
|
|
|
<deployables>
|
|
|
|
<containerId>tomcat5x</containerId>
|
|
|
|
<deployable>
|
|
|
|
<type>remote</type>
|
|
|
|
<artifactId>${pom.artifactId}</artifactId>
|
|
|
|
</container>
|
|
|
|
<type>war</type>
|
|
|
|
<!-- Configure here your Tomcat server manager credentials -->
|
|
|
|
<properties>
|
|
|
|
<configuration>
|
|
|
|
<context>/${webapp.name}</context>
|
|
|
|
<type>runtime</type>
|
|
|
|
</properties>
|
|
|
|
<properties>
|
|
|
|
</deployable>
|
|
|
|
<cargo.remote.username>tomcat</cargo.remote.username>
|
|
|
|
</deployables>
|
|
|
|
<cargo.remote.password>tomcat</cargo.remote.password>
|
|
|
|
</deployer>
|
|
|
|
<cargo.servlet.port>8080</cargo.servlet.port>
|
|
|
|
</configuration>
|
|
|
|
</properties>
|
|
|
|
</plugin>
|
|
|
|
</configuration>
|
|
|
|
</plugins>
|
|
|
|
<deployer>
|
|
|
|
</build>
|
|
|
|
<type>remote</type>
|
|
|
|
|
|
|
|
<deployables>
|
|
|
|
|
|
|
|
<deployable>
|
|
|
|
|
|
|
|
<artifactId>${pom.artifactId}</artifactId>
|
|
|
|
|
|
|
|
<type>war</type>
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
|
|
|
|
<context>/${webapp.name}</context>
|
|
|
|
|
|
|
|
</properties>
|
|
|
|
|
|
|
|
</deployable>
|
|
|
|
|
|
|
|
</deployables>
|
|
|
|
|
|
|
|
</deployer>
|
|
|
|
|
|
|
|
</configuration>
|
|
|
|
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
</plugins>
|
|
|
|
|
|
|
|
</build>
|
|
|
|
|
|
|
|
</profile>
|
|
|
|
</profile>
|
|
|
|
</profiles>
|
|
|
|
</profiles>
|
|
|
|
</project>
|
|
|
|
</project>
|
|
|
|