Return-Path: X-Original-To: apmail-accumulo-commits-archive@www.apache.org Delivered-To: apmail-accumulo-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 296DD1092D for ; Wed, 2 Apr 2014 20:30:30 +0000 (UTC) Received: (qmail 43722 invoked by uid 500); 2 Apr 2014 20:30:29 -0000 Delivered-To: apmail-accumulo-commits-archive@accumulo.apache.org Received: (qmail 43660 invoked by uid 500); 2 Apr 2014 20:30:27 -0000 Mailing-List: contact commits-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@accumulo.apache.org Delivered-To: mailing list commits@accumulo.apache.org Received: (qmail 43653 invoked by uid 99); 2 Apr 2014 20:30:26 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Apr 2014 20:30:26 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 17988926310; Wed, 2 Apr 2014 20:30:26 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: ctubbsii@apache.org To: commits@accumulo.apache.org Message-Id: X-Mailer: ASF-Git Admin Mailer Subject: git commit: ACCUMULO-2616 Bump maven plugin/parent POM versions Date: Wed, 2 Apr 2014 20:30:26 +0000 (UTC) Repository: accumulo Updated Branches: refs/heads/1.6.0-SNAPSHOT e2552a89f -> aaa8afb9f ACCUMULO-2616 Bump maven plugin/parent POM versions Change Apache parent POM to version 14. Drop resulting redundant and/or unnecessary plugin versions, configuration, and properties. Update bouncycastle test dependency version and incorporate into the dependencyManagement section and fix resulting deprecation warnings. Drop redundant m2e container in assembly POM. Migrate to non-deprecated surefire/failsafe fork settings. Update other plugin versions to latest. Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/aaa8afb9 Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/aaa8afb9 Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/aaa8afb9 Branch: refs/heads/1.6.0-SNAPSHOT Commit: aaa8afb9fe28d6af3437428dc30490fc079f2836 Parents: e2552a8 Author: Christopher Tubbs Authored: Wed Apr 2 16:24:11 2014 -0400 Committer: Christopher Tubbs Committed: Wed Apr 2 16:24:11 2014 -0400 ---------------------------------------------------------------------- assemble/pom.xml | 31 --------- examples/simple/pom.xml | 1 - maven-plugin/src/it/plugin-test/pom.xml | 4 -- pom.xml | 70 ++++++++------------ start/pom.xml | 3 +- test/pom.xml | 7 +- .../apache/accumulo/test/util/CertUtils.java | 10 +-- test/src/test/scripts/run-test.sh | 2 +- 8 files changed, 38 insertions(+), 90 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/accumulo/blob/aaa8afb9/assemble/pom.xml ---------------------------------------------------------------------- diff --git a/assemble/pom.xml b/assemble/pom.xml index a293fb5..704107b 100644 --- a/assemble/pom.xml +++ b/assemble/pom.xml @@ -117,37 +117,6 @@ libthrift - - - - - - org.eclipse.m2e - lifecycle-mapping - 1.0.0 - - - - - - org.codehaus.mojo - build-helper-maven-plugin - [1.8,) - - regex-property - - - - - - - - - - - - - apache-release http://git-wip-us.apache.org/repos/asf/accumulo/blob/aaa8afb9/examples/simple/pom.xml ---------------------------------------------------------------------- diff --git a/examples/simple/pom.xml b/examples/simple/pom.xml index 7930a54..35f0540 100644 --- a/examples/simple/pom.xml +++ b/examples/simple/pom.xml @@ -84,7 +84,6 @@ org.apache.maven.plugins maven-site-plugin - 3.2 true http://git-wip-us.apache.org/repos/asf/accumulo/blob/aaa8afb9/maven-plugin/src/it/plugin-test/pom.xml ---------------------------------------------------------------------- diff --git a/maven-plugin/src/it/plugin-test/pom.xml b/maven-plugin/src/it/plugin-test/pom.xml index a602042..7654c96 100644 --- a/maven-plugin/src/it/plugin-test/pom.xml +++ b/maven-plugin/src/it/plugin-test/pom.xml @@ -30,10 +30,6 @@ A simple IT verifying the basic use case. - - UTF-8 - - commons-cli http://git-wip-us.apache.org/repos/asf/accumulo/blob/aaa8afb9/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index 0ed6b05..1b555b0 100644 --- a/pom.xml +++ b/pom.xml @@ -20,7 +20,7 @@ org.apache apache - 13 + 14 org.apache.accumulo accumulo-project @@ -114,17 +114,22 @@ - 1 ${project.version} + + 1.50 + + 0.25C 2.2.0 3.1 3.0.4 + + true 1.5 - UTF-8 - UTF-8 + + true false 1.7.5 @@ -382,6 +387,16 @@ ${zookeeper.version} + org.bouncycastle + bcpkix-jdk15on + ${bouncycastle.version} + + + org.bouncycastle + bcprov-jdk15on + ${bouncycastle.version} + + org.codehaus.plexus plexus-utils 3.0.10 @@ -439,7 +454,7 @@ com.google.code.sortpom maven-sortpom-plugin - 2.1.0 + 2.3.0 recommended_2008_06 \n @@ -453,7 +468,7 @@ com.github.koraktor mavanagaiata - 0.6.1 + 0.7.0 true @@ -461,7 +476,7 @@ org.codehaus.mojo native-maven-plugin - 1.0-alpha-7 + 1.0-alpha-8 org.apache.maven.plugins @@ -505,16 +520,9 @@ 1.6 1.6 true - ${project.build.sourceEncoding} - - org.apache.maven.plugins - maven-dependency-plugin - 2.8 - - org.apache.maven.plugins maven-jar-plugin @@ -554,23 +562,11 @@ org.apache.maven.plugins maven-site-plugin - 3.3 true - maven-surefire-plugin - - true - - - - org.apache.rat - apache-rat-plugin - 0.10 - - org.codehaus.mojo build-helper-maven-plugin 1.8 @@ -578,7 +574,7 @@ org.codehaus.mojo cobertura-maven-plugin - 2.5.2 + 2.6 true @@ -799,14 +795,6 @@ integration-test verify - - - false - perthread - false - ${accumulo.it.forkCount} - true - @@ -860,7 +848,7 @@ org.apache.maven.wagon wagon-ssh - 2.4 + 2.6 @@ -881,7 +869,6 @@ org.apache.maven.plugins maven-javadoc-plugin - 2.9 @@ -893,12 +880,12 @@ org.apache.maven.plugins maven-jxr-plugin - 2.3 + 2.4 org.apache.maven.plugins maven-pmd-plugin - 3.0.1 + 3.1 html true @@ -927,7 +914,7 @@ org.codehaus.mojo findbugs-maven-plugin - 2.5.2 + 2.5.3 contrib/findbugs-exclude.xml true @@ -968,7 +955,6 @@ source-release-zip-tar - gnu @@ -1038,7 +1024,7 @@ org.codehaus.mojo cobertura-maven-plugin - 2.5.2 + 2.6 true http://git-wip-us.apache.org/repos/asf/accumulo/blob/aaa8afb9/start/pom.xml ---------------------------------------------------------------------- diff --git a/start/pom.xml b/start/pom.xml index 4cad554..e164e82 100644 --- a/start/pom.xml +++ b/start/pom.xml @@ -93,7 +93,8 @@ maven-surefire-plugin - always + 1 + false http://git-wip-us.apache.org/repos/asf/accumulo/blob/aaa8afb9/test/pom.xml ---------------------------------------------------------------------- diff --git a/test/pom.xml b/test/pom.xml index 50a2f70..4ec6f6a 100644 --- a/test/pom.xml +++ b/test/pom.xml @@ -25,9 +25,6 @@ accumulo-test Testing Tests for Apache Accumulo. - - 1.49 - com.beust @@ -159,13 +156,11 @@ org.bouncycastle bcpkix-jdk15on - ${bouncycastle.version} test org.bouncycastle bcprov-jdk15on - ${bouncycastle.version} test @@ -198,11 +193,13 @@ shared-mini-for-it + http://git-wip-us.apache.org/repos/asf/accumulo/blob/aaa8afb9/test/src/test/java/org/apache/accumulo/test/util/CertUtils.java ---------------------------------------------------------------------- diff --git a/test/src/test/java/org/apache/accumulo/test/util/CertUtils.java b/test/src/test/java/org/apache/accumulo/test/util/CertUtils.java index bb7b16d..b561600 100644 --- a/test/src/test/java/org/apache/accumulo/test/util/CertUtils.java +++ b/test/src/test/java/org/apache/accumulo/test/util/CertUtils.java @@ -55,8 +55,8 @@ import org.bouncycastle.asn1.x500.X500Name; import org.bouncycastle.asn1.x500.style.IETFUtils; import org.bouncycastle.asn1.x500.style.RFC4519Style; import org.bouncycastle.asn1.x509.BasicConstraints; +import org.bouncycastle.asn1.x509.Extension; import org.bouncycastle.asn1.x509.KeyUsage; -import org.bouncycastle.asn1.x509.X509Extension; import org.bouncycastle.cert.CertIOException; import org.bouncycastle.cert.X509CertificateHolder; import org.bouncycastle.cert.jcajce.JcaX509ExtensionUtils; @@ -274,11 +274,11 @@ public class CertUtils { X500Name issuer = new X500Name(IETFUtils.rDNsFromString(issuerDirString, RFC4519Style.INSTANCE)); JcaX509v3CertificateBuilder certGen = new JcaX509v3CertificateBuilder(issuer, serialNumber, startDate.getTime(), endDate.getTime(), issuer, kp.getPublic()); JcaX509ExtensionUtils extensionUtils = new JcaX509ExtensionUtils(); - certGen.addExtension(X509Extension.subjectKeyIdentifier, false, extensionUtils.createSubjectKeyIdentifier(kp.getPublic())); - certGen.addExtension(X509Extension.basicConstraints, false, new BasicConstraints(isCertAuthority)); - certGen.addExtension(X509Extension.authorityKeyIdentifier, false, extensionUtils.createAuthorityKeyIdentifier(signerPublicKey)); + certGen.addExtension(Extension.subjectKeyIdentifier, false, extensionUtils.createSubjectKeyIdentifier(kp.getPublic())); + certGen.addExtension(Extension.basicConstraints, false, new BasicConstraints(isCertAuthority)); + certGen.addExtension(Extension.authorityKeyIdentifier, false, extensionUtils.createAuthorityKeyIdentifier(signerPublicKey)); if (isCertAuthority) { - certGen.addExtension(X509Extension.keyUsage, true, new KeyUsage(KeyUsage.keyCertSign)); + certGen.addExtension(Extension.keyUsage, true, new KeyUsage(KeyUsage.keyCertSign)); } X509CertificateHolder cert = certGen.build(new JcaContentSignerBuilder(signingAlgorithm).build(signerPrivateKey)); return new X509CertificateObject(cert.toASN1Structure()); http://git-wip-us.apache.org/repos/asf/accumulo/blob/aaa8afb9/test/src/test/scripts/run-test.sh ---------------------------------------------------------------------- diff --git a/test/src/test/scripts/run-test.sh b/test/src/test/scripts/run-test.sh index d669d67..02a5090 100755 --- a/test/src/test/scripts/run-test.sh +++ b/test/src/test/scripts/run-test.sh @@ -38,5 +38,5 @@ cd $bin/.. tests=$1 shift -# Let the user provide additional maven options (like -Daccumulo.it.forkCount=2) +# Let the user provide additional maven options (like -DforkCount=2) mvn verify -Dit.test=$tests -Dtest=testnamethatdoesntexist -DfailIfNoTests=false $@