From 3987eefc567022135f5eacd88feeeb55f611227b Mon Sep 17 00:00:00 2001 From: tkellner Date: Wed, 2 Nov 2011 19:18:26 +0000 Subject: POM Housekeeping * Whitespace unified * Avoid "SVNRevMissing" when using git svn git-svn-id: https://joinup.ec.europa.eu/svn/mocca/trunk@995 8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4 --- BKUOnline/pom.xml | 94 ++++++++++++++++++++++++++++++++++++++++++++----------- 1 file changed, 76 insertions(+), 18 deletions(-) (limited to 'BKUOnline') diff --git a/BKUOnline/pom.xml b/BKUOnline/pom.xml index a2668e0a..b09fa26f 100644 --- a/BKUOnline/pom.xml +++ b/BKUOnline/pom.xml @@ -58,10 +58,10 @@ iaik iaik_xsect - - iaik - iaik_jce_full_signed - + + iaik + iaik_jce_full_signed + iaik iaik_ecc_signed @@ -99,9 +99,9 @@ servlet-api provided - + --> com.sun.xml.ws jaxws-rt @@ -112,12 +112,12 @@ wstx-asl - + sjsxp @@ -144,11 +144,11 @@ provided - javax.servlet - jstl - 1.2 - jar - compile + javax.servlet + jstl + 1.2 + jar + compile MOCCA Online @@ -173,6 +173,7 @@ unpack-fonts + package unpack-dependencies @@ -240,7 +241,7 @@ false false - SvnRevMissing + SvnRevMissing @@ -323,6 +324,63 @@ + + + buildnumber-git + + + .svn + + + + + + org.codehaus.groovy.maven + gmaven-plugin + 1.0 + + + generate-resources + + execute + + + + def gitSvnProc = ["sh", "-c", "git svn info | awk '/Revision:/ { print \$2 }'"].execute() + gitSvnProc.waitFor() + project.properties['gitSvnRev'] = gitSvnProc.in.text.trim() + + + + + + + org.codehaus.mojo + buildnumber-maven-plugin + + + generate-resources + + create + + + + + false + false + {0} + + ${gitSvnRev} + + + + + + Tomcat60 -- cgit v1.2.3