ALF-16947: prevent dependency to web-framework-commons war to be transitive: this artifact is not generated in Ant build

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@44037 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Samuel Langlois
2012-11-27 13:43:55 +00:00
parent 2766fcc35a
commit 1bd966cebd
+17 -1
View File
@@ -49,6 +49,11 @@
<artifactId>alfresco-repository</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>alfresco-web-framework-commons</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>alfresco-jndi-client</artifactId>
@@ -143,7 +148,7 @@
<artifactId>standard</artifactId>
<version>1.1.0</version>
</dependency>
<!-- Dependency on the web-framework-commons resources skinny war -->
<dependency>
<groupId>${project.groupId}</groupId>
@@ -151,6 +156,7 @@
<version>${project.version}</version>
<classifier>webapp</classifier>
<type>war</type>
<scope>provided</scope> <!-- ALF-16947 -->
</dependency>
<!-- 'provided' dependencies, not packaged in war -->
@@ -280,6 +286,16 @@
<plugin>
<artifactId>maven-war-plugin</artifactId>
<configuration>
<overlays>
<overlay>
<groupId>${project.groupId}</groupId>
<artifactId>alfresco-web-framework-commons</artifactId>
<classifier>webapp</classifier>
<excludes>
<exclude>WEB-INF/classes/*</exclude>
</excludes>
</overlay>
</overlays>
<attachClasses>true</attachClasses>
<archiveClasses>true</archiveClasses>
</configuration>