mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
RM-1107 (Mavenization of the RM build)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/DEV/UIAUTOMATION@59220 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
29
pom.xml
29
pom.xml
@@ -123,6 +123,35 @@
|
|||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.alfresco.maven.plugin</groupId>
|
||||||
|
<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.amp</ampLocation>
|
||||||
|
<warLocation>${project.build.directory}/${app.id}.war</warLocation>
|
||||||
|
<classifier>amp</classifier>
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<artifactId>maven-war-plugin</artifactId>
|
||||||
|
<configuration>
|
||||||
|
<overlays>
|
||||||
|
<overlay>
|
||||||
|
<groupId>org.alfresco</groupId>
|
||||||
|
<artifactId>${app.id}</artifactId>
|
||||||
|
<type>war</type>
|
||||||
|
</overlay>
|
||||||
|
<overlay>
|
||||||
|
<groupId>org.alfresco</groupId>
|
||||||
|
<artifactId>${artifact.id}</artifactId>
|
||||||
|
<type>amp</type>
|
||||||
|
</overlay>
|
||||||
|
</overlays>
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
|
|
||||||
<!-- Defining version and some configuration of Maven plugins -->
|
<!-- Defining version and some configuration of Maven plugins -->
|
||||||
|
@@ -10,6 +10,10 @@
|
|||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<artifactId>alfresco-rm-server-test</artifactId>
|
<artifactId>alfresco-rm-server-test</artifactId>
|
||||||
<name>Alfresco RM Server</name>
|
<name>Alfresco RM Server</name>
|
||||||
|
<properties>
|
||||||
|
<app.id>alfresco</app.id>
|
||||||
|
<artifact.id>alfresco-rm-server</artifact.id>
|
||||||
|
</properties>
|
||||||
<build>
|
<build>
|
||||||
<sourceDirectory>source/java</sourceDirectory>
|
<sourceDirectory>source/java</sourceDirectory>
|
||||||
<testSourceDirectory>test/java</testSourceDirectory>
|
<testSourceDirectory>test/java</testSourceDirectory>
|
||||||
@@ -71,42 +75,6 @@
|
|||||||
</includes>
|
</includes>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
|
||||||
<groupId>org.alfresco.maven.plugin</groupId>
|
|
||||||
<artifactId>alfresco-maven-plugin</artifactId>
|
|
||||||
<version>${maven.alfresco.version}</version>
|
|
||||||
<extensions>true</extensions>
|
|
||||||
<executions>
|
|
||||||
<execution>
|
|
||||||
<goals>
|
|
||||||
<goal>amp</goal>
|
|
||||||
</goals>
|
|
||||||
</execution>
|
|
||||||
</executions>
|
|
||||||
<configuration>
|
|
||||||
<backup>true</backup>
|
|
||||||
<ampLocation>${project.build.directory}/${project.build.finalName}.amp</ampLocation>
|
|
||||||
<warLocation>${project.build.directory}/alfresco.war</warLocation>
|
|
||||||
<classifier>amp</classifier>
|
|
||||||
</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>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
<profiles>
|
<profiles>
|
||||||
|
Reference in New Issue
Block a user