You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by EJ Ciramella <ej...@upromise.com> on 2006/09/26 22:30:18 UTC

passing along maven built classpath to ant plugin

Is there some easy way to do something like ${project.classpath} and
have that passed along to my plugin?

Re: passing along maven built classpath to ant plugin

Posted by franz see <fr...@gmail.com>.


zarar wrote:
> 
> Yup, you can use these classpaths:
> 
>     * maven.dependency.classpath
>     * maven.compile.classpath
>     * maven.runtime.classpath
>     * maven.test.classpath
>     * maven.plugin.classpath
> 
> http://maven.apache.org/plugins/maven-antrun-plugin/classpaths.html
> 
> Zarar
> 
> On 9/26/06, EJ Ciramella <ej...@upromise.com> wrote:
>> Is there some easy way to do something like ${project.classpath} and
>> have that passed along to my plugin?
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
> 
> 

Good day,

Here is the revised plugin documentation of the one mentioned above, [1].
You cannot reference those keywords from within your ant build directly.
Instead, you'd have to set a property for it first before using them.

However, [1] is not yet final, and it is still being reviewed. So if you
have any comments, kindly let us know about them so that we can improve the
documentation. 

Thanks, 
Franz

[1]
http://people.apache.org/~aramirez/maven-antrun-plugin/examples/classpaths.html
-- 
View this message in context: http://www.nabble.com/passing-along-maven-built-classpath-to-ant-plugin-tf2340883.html#a6518921
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: passing along maven built classpath to ant plugin

Posted by Zarar Siddiqi <za...@gmail.com>.
Yup, you can use these classpaths:

    * maven.dependency.classpath
    * maven.compile.classpath
    * maven.runtime.classpath
    * maven.test.classpath
    * maven.plugin.classpath

http://maven.apache.org/plugins/maven-antrun-plugin/classpaths.html

Zarar

On 9/26/06, EJ Ciramella <ej...@upromise.com> wrote:
> Is there some easy way to do something like ${project.classpath} and
> have that passed along to my plugin?
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org