You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Markus Karg (Jira)" <ji...@apache.org> on 2022/06/08 13:31:00 UTC
[jira] [Created] (MANTRUN-237) Forwarding dependency classpath to ANT
Markus Karg created MANTRUN-237:
-----------------------------------
Summary: Forwarding dependency classpath to ANT
Key: MANTRUN-237
URL: https://issues.apache.org/jira/browse/MANTRUN-237
Project: Maven Antrun Plugin
Issue Type: New Feature
Reporter: Markus Karg
When adding a dependency to the maven-antrun-plugin, the classpath containing that dependency should be available to the <java> ant task within ANT. That would allow the <java> task to invoke classes found in that dependencies. As this is currently not the case, one has to use the dependency-plugin to write the dependency classpath into a property and explicitly use that property with <java classpath="${property}"> inside of build.xml. While that certainly is more flexible, it is rather tedious.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)