What's really weird is with maven 2.2.1, this rule is just fine.

I literally just setup m3 just to see what would break, this is the first thing 
that jumps out.

The java version is reported like this:

Java -version
java version "1.5.0_18"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_18-b02)
Java HotSpot(TM) Client VM (build 1.5.0_18-b02, mixed mode, sharing)

Maven version is like this:

mvn -version
Apache Maven 3.0-beta-2 (r983206; 2010-08-07 07:00:51-0400)
Java version: 1.5.0_18
Java home: C:\Program Files (x86)\Java\jdk1.5.0_18\jre
Default locale: en_US, platform encoding: Cp1252
OS name: "windows xp" version: "5.2" arch: "x86" Family: "windows"

But, when I switch from "_" to "-", m3 passes.

Weird....

-----Original Message-----
From: Jesse Farinacci [mailto:[email protected]]
Sent: Thursday, August 19, 2010 12:13 PM
To: Maven Users List
Subject: Re: maven 3 and the enforcer plugin

Thanks EJ,

On Thu, Aug 19, 2010 at 10:04 AM, EJ Ciramella
<[email protected]> wrote:
> [INFO] 
> ------------------------------------------------------------------------
> [INFO]
> [INFO] --- maven-enforcer-plugin:1.0-beta-1:display-info (default-cli) @ 
> <foo> ---
> [INFO] Maven Version: 3.0-beta-2
> [INFO] JDK Version: 1.5.0_18 normalized as: 1.5.0-18
> [INFO] OS Info: Arch: x86 Family: windows Name: windows xp Version: 5.2
> [INFO] 
> ------------------------------------------------------------------------

So, as you should be able to deduce by now, and also given Brett's
hypothesis earlier, it seems that you should be using -18 instead of
_18.

-Jesse

--
There are 10 types of people in this world, those
that can read binary and those that can not.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


CONFIDENTIALITY NOTICE:  This e-mail and the information transmitted within 
including any attachments is only for the recipient(s) to which it is intended 
and may contain confidential and/or privileged material. Any review, 
retransmission, dissemination or other use of; or taking of any action in 
reliance upon this information by persons or entities other than the intended 
recipient is prohibited. If you received this in error, please send the e-mail 
back by replying to the sender and permanently delete the entire message and 
its attachments from all computers and network systems involved in its receipt.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to