On 9/3/11 1:59 PM, Phil Steitz wrote: > On 9/2/11 8:08 AM, sebb AT ASF wrote: >> I've updated to the latest versions of all the plugins. >> >> Some of these changes may well cause problems, but the best way to >> find this out is for various people to try using the POM, so I've >> uploaded 22-SNAPSHOT to the snapshot repo. >> >> Please report any issues with using 22-SNAPSHOT (you have to >> temporarily update your pom to use it; it does not happen >> automatically). > Is there a one-liner from the command line that you can use to > install the snapshot locally?
The following works4me: mvn install:install-file -Dfile=pom.xml -DgroupId=org.apache.commons -DartifactId=commons-parent -Dversion=22-SNAPSHOT -Dpackaging=pom run from the directory where I downloaded the updated pom.xml. After downloading a huge raft of new stuff, I unfortunately then get some strange test failures in [math], e.g. java.lang.NullPointerException at java.io.DataInputStream.read(DataInputStream.java:132) at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:264) at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:306) at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:158) at java.io.InputStreamReader.read(InputStreamReader.java:167) at java.io.BufferedReader.fill(BufferedReader.java:136) at java.io.BufferedReader.readLine(BufferedReader.java:299) at java.io.BufferedReader.readLine(BufferedReader.java:362) at org.apache.commons.math.linear.SingularValueDecompositionImplTest.loadRealMatrix(SingularValueDecompositionImplTest.java:281) at org.apache.commons.math.linear.SingularValueDecompositionImplTest.testStability2(SingularValueDecompositionImplTest.java:267) java.lang.NullPointerException at java.io.Reader.<init>(Reader.java:61) at java.io.InputStreamReader.<init>(InputStreamReader.java:55) at org.apache.commons.math.stat.CertifiedDataTest.loadStats(CertifiedDataTest.java:115) at org.apache.commons.math.stat.CertifiedDataTest.testDescriptiveStatistics(CertifiedDataTest.java:75) All seem to be io-related. Could be our setup is no longer supported? The failure above is using CertifiedDataTest.class.getResourceAsStream(resource))) to load the test files. Phil > > Phil >> S/// >> >> On 2 September 2011 15:58, <s...@apache.org> wrote: >>> Author: sebb >>> Date: Fri Sep 2 14:58:22 2011 >>> New Revision: 1164565 >>> >>> URL: http://svn.apache.org/viewvc?rev=1164565&view=rev >>> Log: >>> Update to latest versions of plugins >>> TODO - these need checking on projects >>> >>> Modified: >>> commons/proper/commons-parent/trunk/pom.xml >>> >>> Modified: commons/proper/commons-parent/trunk/pom.xml >>> URL: >>> http://svn.apache.org/viewvc/commons/proper/commons-parent/trunk/pom.xml?rev=1164565&r1=1164564&r2=1164565&view=diff >>> ============================================================================== >>> --- commons/proper/commons-parent/trunk/pom.xml (original) >>> +++ commons/proper/commons-parent/trunk/pom.xml Fri Sep 2 14:58:22 2011 >>> @@ -151,7 +151,7 @@ >>> <plugin> >>> <groupId>org.apache.maven.plugins</groupId> >>> <artifactId>maven-compiler-plugin</artifactId> >>> - <version>2.1</version> >>> + <version>2.3.2</version> >>> <configuration> >>> <source>${maven.compile.source}</source> >>> <target>${maven.compile.target}</target> >>> @@ -164,12 +164,12 @@ >>> <plugin> >>> <groupId>org.apache.maven.plugins</groupId> >>> <artifactId>maven-deploy-plugin</artifactId> >>> - <version>2.6</version> >>> + <version>2.7</version> >>> </plugin> >>> <plugin> >>> <groupId>org.apache.maven.plugins</groupId> >>> <artifactId>maven-gpg-plugin</artifactId> >>> - <version>1.3</version> >>> + <version>1.4</version> >>> </plugin> >>> <plugin> >>> <groupId>org.apache.maven.plugins</groupId> >>> @@ -179,7 +179,7 @@ >>> <plugin> >>> <groupId>org.apache.maven.plugins</groupId> >>> <artifactId>maven-jar-plugin</artifactId> >>> - <version>2.3</version> >>> + <version>2.3.2</version> >>> </plugin> >>> <plugin> >>> <groupId>org.apache.maven.plugins</groupId> >>> @@ -227,7 +227,7 @@ >>> <plugin> >>> <groupId>org.apache.maven.plugins</groupId> >>> <artifactId>maven-site-plugin</artifactId> >>> - <version>2.2</version> >>> + <version>3.0</version> >>> </plugin> >>> <plugin> >>> <groupId>org.apache.maven.plugins</groupId> >>> @@ -259,8 +259,7 @@ >>> <plugin> >>> <groupId>org.apache.felix</groupId> >>> <artifactId>maven-bundle-plugin</artifactId> >>> - <!-- version 1.4.x is required for JDK 1.4 compatibilty --> >>> - <version>1.4.3</version> >>> + <version>2.3.5</version> >>> <inherited>true</inherited> >>> </plugin> >>> </plugins> >>> >>> >>> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org >> For additional commands, e-mail: dev-h...@commons.apache.org >> >> --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org