The following comment has been added to this issue:

     Author: dion gillard
    Created: Mon, 30 Aug 2004 10:08 PM
       Body:
It's a JEXL/Jelly restriction.

JEXL doesn't recognise dotted or dashed variable names. See 
http://jakarta.apache.org/commons/jexl/reference/syntax.html#Language%20Elements for 
details.

Jelly adds the notion of ant style variables. Unfortunately for Jelly, JEXL returns a 
non-null value for variables with dashes, as in JEXL, null - null == 0.

Jelly treats the 0 as a valid value and doesn't go look up an alternative. 

We could work around this in Jelly if needed.
---------------------------------------------------------------------
View this comment:
  http://jira.codehaus.org/browse/MAVEN-581?page=comments#action_23617

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MAVEN-581

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MAVEN-581
    Summary: dependency id with '-' will fail overriden process
       Type: Bug

     Status: Reopened
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven
   Fix Fors:
             1.0-beta-10
             1.0.1
   Versions:
             1.0-beta-10

   Assignee: Brett Porter
   Reporter: Emmanuel

    Created: Thu, 17 Jul 2003 11:22 AM
    Updated: Mon, 30 Aug 2004 10:08 PM
Environment: W2k Box / Java 1.3.1

Description:
Having a dependency containing a '-' will fail the jar overriding process

project.xml
<dependency>
     <id>v-c</id>
     <version>1</version>
...

project.properties
maven.jar.override = on
maven.jar.v-c = c:/myoverridenrepository/v-c-1.jar

=> the maven jar will try to download v-c-1.jar from ibiblio

Same test with
<id>vc</id>

and maven.jatr.vc = ...

works


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to