From 2106e82c1f6b06f7b54fad90b0458dc80184ae41 Mon Sep 17 00:00:00 2001 From: m-heuser Date: Sat, 25 Sep 2010 02:29:50 +0200 Subject: [PATCH] updated pom maven will create javadoc and source.jar on mvn install --- pom.xml | 109 ++++++++++++++++++++++++++++++++++++-------------------- 1 file changed, 71 insertions(+), 38 deletions(-) diff --git a/pom.xml b/pom.xml index a6c5c7b..a616b06 100644 --- a/pom.xml +++ b/pom.xml @@ -1,43 +1,76 @@ - - 4.0.0 - redis.clients - jedis - 1.2.0 - - - junit - junit - 4.8.1 - jar - compile - - - - - localhost:6379,localhost:6380 - - - - - - org.apache.maven.plugins - maven-compiler-plugin - 2.0.2 - - 1.6 - 1.6 - - - - org.apache.maven.plugins - maven-surefire-plugin - 2.6 - + + 4.0.0 + redis.clients + jedis + 1.2.0 + + + junit + junit + 4.8.1 + jar + compile + + + + + localhost:6379,localhost:6380 + + + + + + org.apache.maven.plugins + maven-compiler-plugin + 2.0.2 + + 1.6 + 1.6 + + + + + org.apache.maven.plugins + maven-surefire-plugin + 2.6 + ${redis-hosts} - - - + + + + org.apache.maven.plugins + maven-source-plugin + 2.1.2 + + + attach-sources + verify + + jar + + + + + + + org.apache.maven.plugins + maven-javadoc-plugin + 2.7 + + + attach-javadocs + verify + + jar + + + + + + +