SOLR-1424 -- fixing ant generate-maven-artifacts on windows

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@814101 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Ryan McKinley 2009-09-12 01:18:14 +00:00
parent 4f5c0bd49a
commit 26efaadaf1
2 changed files with 4 additions and 3 deletions

View File

@ -747,7 +747,7 @@
<!-- ========== SOLR PARENT POM ========== -->
<m2-deploy pom.xml="${src}/maven/solr-parent-pom.xml.template"/>
<m2-deploy pom.xml="src/maven/solr-parent-pom.xml.template"/>
<!-- ========== SOLR SPECIFIC LUCENE ARTIFACTS ========== -->
@ -815,7 +815,7 @@
<!-- TODO: MORE NEEDED HERE ONCE WE FINALIZE THE LIBS FOR CARROT -->
<!-- end clustering specific -->
<m2-deploy pom.xml="${src}/maven/solr-core-pom.xml.template"
<m2-deploy pom.xml="src/maven/solr-core-pom.xml.template"
jar.file="${dist}/apache-solr-core-${version}.jar">
<artifact-attachments>
@ -825,7 +825,7 @@
</m2-deploy>
<m2-deploy pom.xml="${src}/maven/solr-solrj-pom.xml.template"
<m2-deploy pom.xml="src/maven/solr-solrj-pom.xml.template"
jar.file="${dist}/apache-solr-solrj-${version}.jar">
<artifact-attachments>

View File

@ -253,6 +253,7 @@
</sequential>
</macrodef>
<!-- NOTE, the pom.xml MUST be a relative path. An absolute path may break the build on windows -->
<macrodef name="m2-deploy" description="Builds a Maven artifact">
<element name="artifact-attachments" optional="yes"/>
<attribute name="pom.xml" default="${pom.xml}"/>