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