maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nathan Maves" <nathan.ma...@gmail.com>
Subject Re: tools.jar dependency and MacOSX
Date Mon, 11 Jun 2007 19:09:22 GMT
I agree with Gregory,

I would remove the dependency all-together.

Everything should just work.

On 6/11/07, Gregory Kick <gk5885@gmail.com> wrote:
>
> The deal is that tools.jar is in classes.jar (i think) and is always
> on the classpath.  If you just exclude the dependency it should work.
>
> On 6/11/07, Nathan Maves <nathan.maves@gmail.com> wrote:
> > What causes your project to have a dependency on tools.jar?
> >
> > I have been using maven on a mac for a while now and have never had to
> deal
> > with the tools.jar.
> >
> > Nathan
> >
> > On 6/11/07, Jerome Thibaud <thibaud.jerome@gmail.com> wrote:
> > >
> > > Hi All,
> > >
> > > Discovering the joy of coding Java in a Mac environment I learned that
> > > there
> > > is no tools.jar in the Mac version of the JDK.
> > > Consequence is, my projects having dependencies on tools.jar fail to
> > > build.
> > >
> > > So for the project with a direct dependency, I used Profile
> successfully.
> > > I created one profile triggered by the OS family and everything went
> > > smooth.
> > >
> > > Now I got 2 problems:
> > >    - it seems that, when inherited through transitive dependency, the
> > > profile trigger is not taken into account
> > > and tools.jar is added to the dependencies list anyway.
> > >    - I got an ant plugin setup in the build section with tools.jar in
> the
> > > dependencies section of the plugin.
> > > What do I use to make the dependency conditional there?
> > >
> > >
> > > thanks in advance
> > >
> > > Jerome
> > >
> >
>
>
> --
> Gregory Kick
> http://kickstyle.net/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message