You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Scokart Gilles <Gi...@be.fujitsu.com> on 2005/08/22 13:39:24 UTC
includes tools.jar as dependency
I have a project generates code. In my tests, I want to verify that this
code compile properly. I would like to use the tools.jar of the JDK in my
tests to do that.
How should I set the dependency with maven 2. I guess I should use the
"provided" scope, but I didn't manage to find what group, artefact and
version I should use.
Can anyone help me?
Thanks,
Gilles Scokart
Re: includes tools.jar as dependency
Posted by Brett Porter <br...@gmail.com>.
You can look at plexus-compiler-javac [1], or even use that itself,
like the compiler mojo does [2].
- Brett
[1] http://tinyurl.com/aj4ub
[2] http://tinyurl.com/c6v7z
On 8/22/05, Scokart Gilles <Gi...@be.fujitsu.com> wrote:
>
>
>
>
> I have a project generates code. In my tests, I want to verify that this
> code compile properly. I would like to use the tools.jar of the JDK in my
> tests to do that.
>
>
>
> How should I set the dependency with maven 2. I guess I should use the
> "provided" scope, but I didn't manage to find what group, artefact and
> version I should use.
>
>
>
> Can anyone help me?
>
>
>
> Thanks,
>
>
>
> Gilles Scokart
>
>
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org