Gotcha - it's interesting this works (the underscore) with 2.2.1 but m3 doesn't like it (and I changed nothing in the poms).
Well, it's corrected now - thanks all! -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Anders Hammar Sent: Thursday, August 19, 2010 2:32 PM To: Maven Users List Subject: Re: maven 3 and the enforcer plugin No action. [1] states that: "Your required range should therefore use the x.y.z-b format for comparison." [1] http://maven.apache.org/enforcer/enforcer-rules/requireJavaVersion.html /Anders On Thu, Aug 19, 2010 at 20:26, EJ Ciramella <[email protected]>wrote: > Ok, so now I'm confused - using a hyphen allows both 2.2.1 AND > 3-Something-beta-2 to work. > > So is this a bug? I'd think it's a bug with the enforcer plugin around its > normalization. > > Let me know what action you guys would like me to take. > > -----Original Message----- > From: [email protected] [mailto:[email protected]] On > Behalf Of Anders Hammar > Sent: Thursday, August 19, 2010 2:24 PM > To: Maven Users List > Subject: Re: maven 3 and the enforcer plugin > > If it's th exact same version of the plugin (I believe there is only one), > I'd say it's a maven 3 regression and might need to be fixed there (and not > in the plugin). > Creating a ticket for both projects and linking them together would > probably > be a good idea. > > /Anders > On Thu, Aug 19, 2010 at 19:49, Jesse Farinacci <[email protected]> wrote: > > > Hi, > > > > On Thu, Aug 19, 2010 at 1:41 PM, EJ Ciramella <[email protected] > > > > wrote: > > > 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: > > > > > > > That is weird. Perhaps you should open a JIRA with the enforcer > > plugin[1]? To get past this issue for the time being, you should > > create m2 vs m3 profiles with different executions of the m-enforcer-p > > which use the _ vs - formats for JDK normalization. > > > > [1] http://jira.codehaus.org/browse/MENFORCER > > > > -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] > > 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]
