You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Muhammad Gelbana <m....@gmail.com> on 2013/06/05 12:45:14 UTC

[t5.3.7] Tapestry archtype dependencies

Why tapestry archtype project, when generated using maven and imported into
Eclipse, has much more dependencies than the ones separately downloadable
from tapestry's portal ?

Re: [t5.3.7] Tapestry archtype dependencies

Posted by Thiago H de Paula Figueiredo <th...@gmail.com>.
On Wed, 05 Jun 2013 10:12:59 -0300, Muhammad Gelbana <m....@gmail.com>  
wrote:

> I can't remember the classpath entries generated by maven as I've  
> disabled maven dependencies but I remember seeing Apache "xerces" !

Weird. I've never seen it in a Tapestry project.

> I guess maven just follow each dependency's dependencies in it's pom and
> downloads\includes it automatically.

That's exactly what a dependency tool does.

> Whats weird is that tapestry's
> downloaded jars and dependencies are way lot less than what maven
> downloaded\included.

There's at least one huge difference: the Tapestry downloaded JARs (from  
Tapestry website) don't include Hibernate and its dependencies (which are  
quite a few), for example, as its license (non ASL-compatible) prevents it.

> But I guess it's just the way that maven works that makes it look weird  
> "to me" as I'm successfully working with tapestry's downloaded jars.

Agreed.

-- 
Thiago H. de Paula Figueiredo

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


Re: [t5.3.7] Tapestry archtype dependencies

Posted by Muhammad Gelbana <m....@gmail.com>.
I can't remember the classpath entries generated by maven as I've disabled
maven dependencies but I remember seeing Apache "xerces" !

I guess maven just follow each dependency's dependencies in it's pom and
downloads\includes it automatically. Whats weird is that tapestry's
downloaded jars and dependencies are way lot less than what maven
downloaded\included.

But I guess it's just the way that maven works that makes it look weird "to
me" as I'm successfully working with tapestry's downloaded jars.


On Wed, Jun 5, 2013 at 2:08 PM, Thiago H. de Paula Figueiredo <
thiagohp@gmail.com> wrote:

> Which libraries are being added which you consider useless? Don't forget
> that dependencies may have dependencies themselves, so Maven (or any other
> tool that handles dependencies) has to deal with that too. In Eclipse, in
> the POM editor, there's a dependency graph you can check. Of mvn
> dependency:tree in command line (I'm not sure that's the exact command).
> And no, Maven doesn't add its own dependencies to the generated classpath
> of any projects, just the one your project declares in one way or another.
>
>
> On Wed, Jun 5, 2013 at 8:56 AM, Muhammad Gelbana <m.gelbana@gmail.com
> >wrote:
>
> > I'm talking about the generated classpath. I understand from your answer
> > that this is not possible or should not happen ?
> > I guess these libraries are for maven's sake as you suggested.
> >
> > Thank you.
> >
> >
> > On Wed, Jun 5, 2013 at 1:44 PM, Thiago H. de Paula Figueiredo <
> > thiagohp@gmail.com> wrote:
> >
> > > Are you talking about any JAR downloaded by Maven or just the ones put
> in
> > > the generated project classpath? If, for example, your .m2/repository
> > > folder didn't exist or wasn't populated yet, Maven will download lots
> of
> > > stuff used by itself.
> > >
> > >
> > > On Wed, Jun 5, 2013 at 7:45 AM, Muhammad Gelbana <m.gelbana@gmail.com
> > > >wrote:
> > >
> > > > Why tapestry archtype project, when generated using maven and
> imported
> > > into
> > > > Eclipse, has much more dependencies than the ones separately
> > downloadable
> > > > from tapestry's portal ?
> > > >
> > >
> > >
> > >
> > > --
> > > Thiago
> > >
> >
>
>
>
> --
> Thiago
>

Re: [t5.3.7] Tapestry archtype dependencies

Posted by "Thiago H. de Paula Figueiredo" <th...@gmail.com>.
Which libraries are being added which you consider useless? Don't forget
that dependencies may have dependencies themselves, so Maven (or any other
tool that handles dependencies) has to deal with that too. In Eclipse, in
the POM editor, there's a dependency graph you can check. Of mvn
dependency:tree in command line (I'm not sure that's the exact command).
And no, Maven doesn't add its own dependencies to the generated classpath
of any projects, just the one your project declares in one way or another.


On Wed, Jun 5, 2013 at 8:56 AM, Muhammad Gelbana <m....@gmail.com>wrote:

> I'm talking about the generated classpath. I understand from your answer
> that this is not possible or should not happen ?
> I guess these libraries are for maven's sake as you suggested.
>
> Thank you.
>
>
> On Wed, Jun 5, 2013 at 1:44 PM, Thiago H. de Paula Figueiredo <
> thiagohp@gmail.com> wrote:
>
> > Are you talking about any JAR downloaded by Maven or just the ones put in
> > the generated project classpath? If, for example, your .m2/repository
> > folder didn't exist or wasn't populated yet, Maven will download lots of
> > stuff used by itself.
> >
> >
> > On Wed, Jun 5, 2013 at 7:45 AM, Muhammad Gelbana <m.gelbana@gmail.com
> > >wrote:
> >
> > > Why tapestry archtype project, when generated using maven and imported
> > into
> > > Eclipse, has much more dependencies than the ones separately
> downloadable
> > > from tapestry's portal ?
> > >
> >
> >
> >
> > --
> > Thiago
> >
>



-- 
Thiago

Re: [t5.3.7] Tapestry archtype dependencies

Posted by Muhammad Gelbana <m....@gmail.com>.
I'm talking about the generated classpath. I understand from your answer
that this is not possible or should not happen ?
I guess these libraries are for maven's sake as you suggested.

Thank you.


On Wed, Jun 5, 2013 at 1:44 PM, Thiago H. de Paula Figueiredo <
thiagohp@gmail.com> wrote:

> Are you talking about any JAR downloaded by Maven or just the ones put in
> the generated project classpath? If, for example, your .m2/repository
> folder didn't exist or wasn't populated yet, Maven will download lots of
> stuff used by itself.
>
>
> On Wed, Jun 5, 2013 at 7:45 AM, Muhammad Gelbana <m.gelbana@gmail.com
> >wrote:
>
> > Why tapestry archtype project, when generated using maven and imported
> into
> > Eclipse, has much more dependencies than the ones separately downloadable
> > from tapestry's portal ?
> >
>
>
>
> --
> Thiago
>

Re: [t5.3.7] Tapestry archtype dependencies

Posted by "Thiago H. de Paula Figueiredo" <th...@gmail.com>.
Are you talking about any JAR downloaded by Maven or just the ones put in
the generated project classpath? If, for example, your .m2/repository
folder didn't exist or wasn't populated yet, Maven will download lots of
stuff used by itself.


On Wed, Jun 5, 2013 at 7:45 AM, Muhammad Gelbana <m....@gmail.com>wrote:

> Why tapestry archtype project, when generated using maven and imported into
> Eclipse, has much more dependencies than the ones separately downloadable
> from tapestry's portal ?
>



-- 
Thiago