Author: aheritier
Date: 2009-11-09 19:15:24 -0500 (Mon, 09 Nov 2009)
New Revision: 536
Modified:
portal/trunk/pom.xml
Log:
GTNPORTAL-111 : Add a controle to not forget to set ${exo.projects.directory.src}
Modified: portal/trunk/pom.xml
===================================================================
--- portal/trunk/pom.xml 2009-11-10 00:14:10 UTC (rev 535)
+++ portal/trunk/pom.xml 2009-11-10 00:15:24 UTC (rev 536)
@@ -158,6 +158,33 @@
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-enforcer-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>check-environment-ready</id>
+ <goals>
+ <goal>enforce</goal>
+ </goals>
+ <configuration>
+ <rules>
+ <requireProperty>
+ <property>exo.projects.directory.src</property>
+ <message>"You must define the property
exo.projects.directory.src to give the path of the root of your working
area"</message>
+ </requireProperty>
+ <requireFilesExist>
+ <files>
+
<file>${exo.projects.directory.src}/gatein/portal/trunk/web/portal/src/main/webapp</file>
+ </files>
+ <message>"The following directory doesn't exist
:
${exo.projects.directory.src}/gatein/portal/trunk/web/portal/src/main/webapp"</message>
+ </requireFilesExist>
+ </rules>
+ <fail>true</fail>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
Show replies by date