|
From: <lh...@us...> - 2010-03-01 11:41:26
|
Revision: 164
http://tmapi.svn.sourceforge.net/tmapi/?rev=164&view=rev
Author: lheuer
Date: 2010-03-01 11:41:20 +0000 (Mon, 01 Mar 2010)
Log Message:
-----------
Added experimental support for Maven pom generation
Modified Paths:
--------------
trunk/build.xml
Modified: trunk/build.xml
===================================================================
--- trunk/build.xml 2010-02-28 10:56:43 UTC (rev 163)
+++ trunk/build.xml 2010-03-01 11:41:20 UTC (rev 164)
@@ -49,6 +49,7 @@
<property name="tmapi.tar" value="${dist.name}.tar"/>
<property name="tmapi.tar.gz" value="${tmapi.tar}.gz"/>
<property name="tmapi.zip" value="${dist.name}.zip"/>
+ <property name="tmapi.pom" value="${dist.name}.pom"/>
<property name="dir.build" value="${basedir}/build"/>
<property name="dir.dist.root" value="${dir.build}/dist"/>
@@ -195,6 +196,9 @@
<attribute name="Bundle-Version" value="${dist.version}"/>
</manifest>
</jar>
+ <checksum file="${dir.build}/${tmapi.jar}" algorithm="sha1"/>
+ <antcall target="pom"/>
+ <checksum file="${dir.build}/${tmapi.pom}" algorithm="sha1"/>
</target>
<!-- =================================================================== -->
@@ -214,6 +218,17 @@
</jar>
</target>
+ <target name="pom">
+ <echoxml file="${dir.build}/${tmapi.pom}" namespacePolicy="elementsOnly">
+ <project xmlns="http://maven.apache.org/POM/4.0.0">
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.tmapi</groupId>
+ <artifactId>tmapi</artifactId>
+ <version>${dist.version}</version>
+ </project>
+ </echoxml>
+ </target>
+
<!-- =================================================================== -->
<!-- Runs all the tests -->
<!-- =================================================================== -->
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|