RM-1104 (Investigate the integrate of UI automation tests into RM build)

* Apply the amp files to the war files with alfresco maven plugin

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/DEV/UIAUTOMATION@58838 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Tuna Aksoy
2013-12-10 18:15:36 +00:00
parent ca264fd225
commit 96d760abc8
2 changed files with 244 additions and 220 deletions

View File

@@ -91,6 +91,8 @@
<db.password>alfresco</db.password>
<!-- Maven specific build properties -->
<maven.alfresco.includeDependencies>false</maven.alfresco.includeDependencies>
<maven.alfresco.version>1.1.1</maven.alfresco.version>
<maven.build.sourceVersion>1.7</maven.build.sourceVersion>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

View File

@@ -1,21 +1,14 @@
<!-- ****************************************************** -->
<!-- ** Experimental Maven build - use at your own risk! ** -->
<!-- ****************************************************** -->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
<?xml version="1.0"?><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>
<parent>
<groupId>org.alfresco</groupId>
<artifactId>alfresco-rm-parent</artifactId>
<version>2.2-SNAPSHOT</version>
</parent>
<artifactId>rm-server</artifactId>
<name>Alfresco RM</name>
<properties>
<app.filtering.enabled>true</app.filtering.enabled>
<maven.alfresco.version>1.1.1</maven.alfresco.version>
</properties>
<modelVersion>4.0.0</modelVersion>
<artifactId>alfresco-rm-server</artifactId>
<name>Alfresco RM Server</name>
<build>
<resources>
<resource>
@@ -67,6 +60,29 @@
<artifactId>alfresco-maven-plugin</artifactId>
<version>${maven.alfresco.version}</version>
<extensions>true</extensions>
<configuration>
<backup>true</backup>
<ampLocation>${project.build.directory}/${project.build.finalName}.amp</ampLocation>
<!-- FIXME -->
<warLocation>${project.build.directory}/../../../software/tomcat/webapps/alfresco.war</warLocation>
</configuration>
</plugin>
<plugin>
<artifactId>maven-war-plugin</artifactId>
<configuration>
<overlays>
<overlay>
<groupId>org.alfresco</groupId>
<artifactId>alfresco</artifactId>
<type>war</type>
</overlay>
<overlay>
<groupId>org.alfresco</groupId>
<artifactId>alfresco-rm-server</artifactId>
<type>amp</type>
</overlay>
</overlays>
</configuration>
</plugin>
</plugins>
</build>
@@ -126,6 +142,12 @@
</profile>
</profiles>
<dependencies>
<dependency>
<groupId>org.alfresco</groupId>
<artifactId>alfresco</artifactId>
<version>${alfresco.base.version}</version>
<type>war</type>
</dependency>
<dependency>
<groupId>org.alfresco</groupId>
<artifactId>alfresco-remote-api</artifactId>