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> <db.password>alfresco</db.password>
<!-- Maven specific build properties --> <!-- 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> <maven.build.sourceVersion>1.7</maven.build.sourceVersion>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

View File

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