You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@creadur.apache.org by "Gav..." <ga...@16degrees.com.au> on 2010/06/01 10:15:31 UTC
RE: svn commit: r949777 - /incubator/rat/main/trunk/pom.xml
> -----Original Message-----
> From: bodewig@apache.org [mailto:bodewig@apache.org]
> Sent: Tuesday, 1 June 2010 1:58 AM
> To: rat-commits@incubator.apache.org
> Subject: svn commit: r949777 - /incubator/rat/main/trunk/pom.xml
>
> Author: bodewig
> Date: Mon May 31 15:57:57 2010
> New Revision: 949777
>
> URL: http://svn.apache.org/viewvc?rev=949777&view=rev
> Log:
> use a range, 1.8.0 will do
>
> Modified:
> incubator/rat/main/trunk/pom.xml
>
> Modified: incubator/rat/main/trunk/pom.xml
> URL:
> http://svn.apache.org/viewvc/incubator/rat/main/trunk/pom.xml?rev=94977
> 7&r1=949776&r2=949777&view=diff
> =======================================================================
> =======
> --- incubator/rat/main/trunk/pom.xml (original)
> +++ incubator/rat/main/trunk/pom.xml Mon May 31 15:57:57 2010
> @@ -101,7 +101,7 @@ Note that binary compatibility is not ga
> <dependency>
> <groupId>org.apache.ant</groupId>
> <artifactId>ant</artifactId>
> - <version>1.8.1</version>
> + <version>[1.8.0,)</version>
Having a square bracket opener and a round bracket closer seems weird to me,
is that correct?
Gav...
> <scope>provided</scope>
> </dependency>
> <dependency>
> @@ -118,7 +118,7 @@ Note that binary compatibility is not ga
> <dependency>
> <groupId>org.apache.ant</groupId>
> <artifactId>ant-testutil</artifactId>
> - <version>1.8.1</version>
> + <version>[1.8.0,)</version>
> <scope>test</scope>
> </dependency>
> </dependencies>
>
Re: svn commit: r949777 - /incubator/rat/main/trunk/pom.xml
Posted by Stefan Bodewig <bo...@apache.org>.
On 2010-06-01, Stefan Bodewig wrote:
> On 2010-06-01, Gav... wrote:
>> Having a square bracket opener and a round bracket closer seems weird to me,
>> is that correct?
> Since I don't provide an upper bound, "]" would probably work as well.
But doesn't change the effect of site:site dying with a
NullPointerException.
Stefan
Re: svn commit: r949777 - /incubator/rat/main/trunk/pom.xml
Posted by Stefan Bodewig <bo...@apache.org>.
On 2010-06-01, Gav... wrote:
>> Author: bodewig
>> Date: Mon May 31 15:57:57 2010
>> New Revision: 949777
>> - <version>1.8.1</version>
>> + <version>[1.8.0,)</version>
> Having a square bracket opener and a round bracket closer seems weird to me,
> is that correct?
It's a half-open interval. An example in
<http://www.sonatype.com/books/mvnref-book/reference/pom-relationships-sect-version-ranges.html>
uses the same syntax
,----
| For example, "[4.0,)" means any version greater than or equal to 4.0.
`----
Since I don't provide an upper bound, "]" would probably work as well.
Stefan