Author: kohei
Date: Sat Dec 19 01:40:20 2015
New Revision: 1720877

URL: http://svn.apache.org/viewvc?rev=1720877&view=rev
Log:
ROL-2086 Build fails for source code that obtained from GitHub

Modified:
    roller/trunk/app/pom.xml

Modified: roller/trunk/app/pom.xml
URL: 
http://svn.apache.org/viewvc/roller/trunk/app/pom.xml?rev=1720877&r1=1720876&r2=1720877&view=diff
==============================================================================
--- roller/trunk/app/pom.xml (original)
+++ roller/trunk/app/pom.xml Sat Dec 19 01:40:20 2015
@@ -520,6 +520,19 @@
             <plugin>
                 <artifactId>maven-antrun-plugin</artifactId>
                 <version>1.7</version>
+                <dependencies>
+                    <dependency>
+                        <groupId>ant-contrib</groupId>
+                        <artifactId>ant-contrib</artifactId>
+                        <version>1.0b3</version>
+                        <exclusions>
+                            <exclusion>
+                                <groupId>ant</groupId>
+                                <artifactId>ant</artifactId>
+                            </exclusion>
+                        </exclusions>
+                    </dependency>
+                </dependencies>
 
                 <executions>
                     <execution>
@@ -530,6 +543,16 @@
                         </goals>
                         <configuration>
                             <target>
+                                <!-- Workaround for git distribution that 
doesn't keep empty directories.
+                                     For detail check [ROL-2086] -->
+                                <taskdef 
resource="net/sf/antcontrib/antlib.xml" />
+                                <property 
file="${basedir}/src/main/resources/sql/dbscripts.properties" />
+                                <for list="${databases}" param="database" 
delimiter=" ">
+                                    <sequential>
+                                        <mkdir 
dir="${basedir}/target/dbscripts/@{database}" />
+                                    </sequential>
+                                </for>
+
                                 <taskdef name="texen"
                                          
classname="org.apache.velocity.texen.ant.TexenTask"
                                          
classpathref="maven.compile.classpath"/>


Reply via email to