The following comment has been added to this issue:

     Author: Matt Johnson
    Created: Tue, 4 May 2004 11:48 PM
       Body:
For example, if you have a dependency defined as

    <dependency>
      <groupId>struts</groupId>
      <artifactId>struts-bean</artifactId>
      <version>1.1</version>
      <type>tld</type>
      <properties>
        <war.bundle>true</war.bundle>
      </properties>
    </dependency>

${pom.getDependencyPath('struts:struts-bean')} and 
${pom.getDependencyPath('struts:struts-bean:tld')} both result in emptiness.
---------------------------------------------------------------------
View this comment:
  
http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-1265&page=comments#action_19372

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-1265

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MAVEN-1265
    Summary: getDependencyPath fails for nonstandard types
       Type: Bug

     Status: Unassigned
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven
 Components: 
             core
   Versions:
             1.0-rc2

   Assignee: 
   Reporter: Matt Johnson

    Created: Tue, 4 May 2004 11:45 PM
    Updated: Tue, 4 May 2004 11:48 PM
Environment: WinXP, cygwin

Description:
When attempting to retrieve dependency path information, 
${pom.getDependencyPath('my.dependency.id')} is empty for dependencies which have a 
nonstandard <type>.

Workaround is to iterate over ${pom.artifacts} and compare dependency id's to the one 
you're after.


---------------------------------------------------------------------
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