Skip to content

Commit

Permalink
Generates a custom pom file for the deployment of the XMLA module.
Browse files Browse the repository at this point in the history
git-svn-id: https://olap4j.svn.sourceforge.net/svnroot/olap4j/trunk@411 c6a108a4-781c-0410-a6c6-c2d559e19af0
  • Loading branch information
lucboudreau committed Mar 20, 2011
1 parent 537756f commit b96b3af
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -351,6 +351,15 @@ class XmlaOlap4jDriverVersion {
</not>
</condition>
</fail>
<echo message="Generating pom file for XMLA module"/>
<ivy:makepom ivyfile="${basedir}/ivy.xml" pomfile="${bin.dir}/olap4j-xmla.pom">
<mapping conf="default" scope="compile"/>
<mapping conf="xmla" scope="compile"/>
</ivy:makepom>
<replace
file="${bin.dir}/olap4j-xmla.pom"
token="artifactId>olap4j"
value="artifactId>olap4j-xmla"/>
<echo message="Publishing ${publish.file.xmla} to ${ivy.repository.publish}..." />
<if>
<isset property="isWindows" />
Expand All @@ -366,6 +375,8 @@ class XmlaOlap4jDriverVersion {
<arg value="-Dpackaging=jar" />
<arg value="-Dversion=${project.revision}" />
<arg value="-Dfile=${publish.file.xmla}" />
<arg value="-DpomFile=${bin.dir}/olap4j-xmla.pom" />
<arg value="-DupdateReleaseInfo=true" />
</exec>
</then>
<else>
Expand All @@ -378,6 +389,8 @@ class XmlaOlap4jDriverVersion {
<arg value="-Dpackaging=jar" />
<arg value="-Dversion=${project.revision}" />
<arg value="-Dfile=${publish.file.xmla}" />
<arg value="-DpomFile=${bin.dir}/olap4j-xmla.pom" />
<arg value="-DupdateReleaseInfo=true" />
</exec>
</else>
</if>
Expand Down

0 comments on commit b96b3af

Please sign in to comment.