Janos Mucsi wrote:
I declare an ear artifact in my project.xml:

<dependencies>
     <dependency>
        <groupId>opcert</groupId>
        <artifactId>USOpcert</artifactId>
        <version>${pom.currentVersion}</version>
        <type>ear</type>
     </dependency>

In maven.xml I want to resolve its full path so that I
can pass it to an external script like this:
*${home.dir}*${maven.repo.local}/${dependency.groupId}/${dependency.artifactId}-${dependency.version}.${dependency.type}

My question is how do I get the home directory of the
current user?
Isn't an easier way in Maven to resolve the full path
of the dependency?

Probably this:

${pom.getDependencyPath('atifactId:groupId')

Regards,
Gisbert Amm

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



Reply via email to