You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by us...@apache.org on 2012/09/06 19:39:06 UTC

svn commit: r1381689 - in /lucene/dev/trunk: build.xml lucene/build.xml solr/build.xml

Author: uschindler
Date: Thu Sep  6 17:39:06 2012
New Revision: 1381689

URL: http://svn.apache.org/viewvc?rev=1381689&view=rev
Log:
Add nightly maven build&check task (more will come later!), also remove duplicate dependencies. The validate task now only runs from root

Modified:
    lucene/dev/trunk/build.xml
    lucene/dev/trunk/lucene/build.xml
    lucene/dev/trunk/solr/build.xml

Modified: lucene/dev/trunk/build.xml
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/build.xml?rev=1381689&r1=1381688&r2=1381689&view=diff
==============================================================================
--- lucene/dev/trunk/build.xml (original)
+++ lucene/dev/trunk/build.xml Thu Sep  6 17:39:06 2012
@@ -91,13 +91,6 @@
     </subant></sequential>
   </target>
 
-  <target name="validate-maven-dependencies" description="Validates maven dependencies, licenses, etc">
-    <subant target="validate-maven-dependencies" inheritall="false" failonerror="true">
-       <fileset dir="lucene" includes="build.xml"/>
-       <fileset dir="solr" includes="build.xml"/>
-    </subant>
-  </target>
-
   <target name="resolve" depends="clean-jars" description="Resolves all dependencies">
     <sequential><subant target="resolve" inheritall="false" failonerror="true">
         <fileset dir="lucene" includes="build.xml" />
@@ -149,6 +142,13 @@
     </sequential>
   </target>
 
+  <target name="validate-maven-dependencies" depends="generate-maven-artifacts" description="Validates maven dependencies, licenses, etc">
+    <subant target="-validate-maven-dependencies" inheritall="false" failonerror="true">
+       <fileset dir="lucene" includes="build.xml"/>
+       <fileset dir="solr" includes="build.xml"/>
+    </subant>
+  </target>
+
   <target name="eclipse" depends="clean-jars, resolve" description="Setup Eclipse configuration">
     <copy file="dev-tools/eclipse/dot.project" tofile=".project" overwrite="false"/>
     <copy file="dev-tools/eclipse/dot.classpath" tofile=".classpath" overwrite="true"/>
@@ -293,6 +293,8 @@
     </antcall>
   </target>
   <target name="-jenkins-clover" depends="clean,test,generate-clover-reports"/>
+
+  <target name="jenkins-maven-nightly" depends="clean,generate-maven-artifacts,validate-maven-dependencies"/>
   
   <!-- we need this extra condition, as we want to match only on "true", not solely if property is set: -->
   <property name="disable.javadocs-lint" value="false" />

Modified: lucene/dev/trunk/lucene/build.xml
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/build.xml?rev=1381689&r1=1381688&r2=1381689&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/build.xml (original)
+++ lucene/dev/trunk/lucene/build.xml Thu Sep  6 17:39:06 2012
@@ -455,7 +455,7 @@
     </sequential>
   </target>
 	
-  <target name="validate-maven-dependencies" depends="compile-tools, generate-maven-artifacts, load-custom-tasks">
+  <target name="-validate-maven-dependencies" depends="compile-tools, install-maven-tasks, load-custom-tasks">
     <sequential>
       <subant target="-validate-maven-dependencies" failonerror="true" inheritall="false">
         <propertyset refid="uptodate.and.compiled.properties"/>

Modified: lucene/dev/trunk/solr/build.xml
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/build.xml?rev=1381689&r1=1381688&r2=1381689&view=diff
==============================================================================
--- lucene/dev/trunk/solr/build.xml (original)
+++ lucene/dev/trunk/solr/build.xml Thu Sep  6 17:39:06 2012
@@ -575,7 +575,7 @@
     </subant>
   </target>
  
-  <target name="validate-maven-dependencies" depends="compile-tools, generate-maven-artifacts, -generate-lucene-maven-artifacts, load-custom-tasks">
+  <target name="-validate-maven-dependencies" depends="compile-tools, install-maven-tasks, load-custom-tasks">
     <sequential>
       <subant target="-validate-maven-dependencies" failonerror="true" inheritall="false">
         <propertyset refid="uptodate.and.compiled.properties"/>