You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Nick Veys <ps...@gmail.com> on 2006/08/04 21:41:59 UTC
[M2] Finding dependency location
Is there an analog in M2 to finding the filesystem location of a
dependency such as M1's
${pom.getDependencyPath('groupId:artifactId')}? Currently migrating
M1->M2, and we have several components unit-tests that need to find a
native library dependency's location that is defined as a system
property. In M1 we could just find it this way, but now I don't see
an easy way short of writing a small plugin to define the variable,
which seems silly.
Within the component that builds them, I can easily define them as
sysProps in surefire as I know their build locations. But later, they
are used as dependencies, and this information is not readily
available.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org