On Tuesday 03 July 2007 22:58, Glen Mazza wrote:
> Am Montag, den 02.07.2007, 10:04 -0400 schrieb Glen Mazza:
> > Yes, I see them in the lib directory after I run those commands, but
> > (pardon the simple Maven question) how does Maven know that those
> > two jars need to be downloaded?  I can't see their repositories
> > listed in the pom.xml file--either the pom.xml at the trunk or the
> > one in the distribution directory.
>
> Found them--they are located in the pom.xml in the trunk/parent
> directory.

Well, not really.    The stuff in parent/pom.xml is in a 
dependencyManagement section.   In that section, we define versions that 
we want to use IF it is used elsewhere.   The dependencyManagement 
section doesn't actually define dependencies.

In the case of the js and xbean jars, those are actually pulled in by 
rt/frontend/js/pom.xml.   In the dependencies section there, it defines 
a direct dependency on js and xbean.   Note that that pom doesn't set 
the version.   The version in inherited from the dependencyManangement 
section of parent/pom.xml.

If you look at distribution/pom.xml, it has a dependency on 
cxf-rt-frontend-js.   Since cxf-rt-frontend-js has a dependency on the 
xbean and js jars, those two jars will get sucked in along with the 
cxf-rt-frontend-js jar.

Hope that helps a little.

Dan


> Glen
>
> > Thanks,
> > Glen
> >
> > Am Montag, den 02.07.2007, 08:40 -0400 schrieb Jiang, Ning (Willem):
> > > Hi Glen,
> > >
> > > Yes, I am sure about it.
> > > You can build a kit with the fellowing instruction:
> > >
> > > cd trunk
> > > mvn install
> > > cd trunk/distribution
> > > mvn install
> > >
> > > You can find the two jars in the lib, when you extract the zip
> > > file in the trage directory.
> > >
> > > Willem.

-- 
J. Daniel Kulp
Principal Engineer
IONA
P: 781-902-8727    C: 508-380-7194
[EMAIL PROTECTED]
http://www.dankulp.com/blog

Reply via email to