You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "Twadell, Daniel M" <Da...@jbosc.ksc.nasa.gov> on 2003/02/26 23:46:38 UTC
RE: RE: maven build fails, jars downloaded from where?
>>These questions have all been answered before and the answers are
in the
>>user's guide so RTFM and stop wasting everyone's time.
nice way to to treat fresh meat...
I asked the questions only after RTFM'n and searching mail archives
and not finding an anwser... definitly did not think I was wasting anyones
time.
why not send a link to the page that explains it, rather than a lame
RTFM.
what ever happend to "no stupid questions"...
any way some feed back from a thick-skined maven newbie
1: while RTFM the first thing I saw in TFM reference Property
Processing
http://jakarta.apache.org/turbine/maven/reference/user-guide.html#Properties
%20Processing
this describes how maven processes the .properties files
and default.properties sure looks like it has something to do with
jar file locations....
Is the default.properties used anymore ?
2: classpath is not mentioned any where in TFM
Maven "repository" vs jar-clumping is explained in
http://jakarta.apache.org/turbine/maven/start/use.html
not in the users guide
3: the start/use page says non-redistributable jars will tell you
where to download ... this behavior is not present....
enjoy
> -----Original Message-----
> From: Jason van Zyl
> Sent: Tuesday, February 25, 2003 10:06 AM
> To: Turbine Maven Users List
> Subject: RE: maven build fails, jars downloaded from where?
>
> On Tue, 2003-02-25 at 10:00, Twadell, Daniel M wrote:
> > Hi just joined today... been using jetspeed and just digging down...
> > I do already have activation jdbc , mail , etc
> >
> > question is , How do I tell maven either , dont get them, or use the one
> I
> > have.
> > I am new to Maven, and cant seem to figure out why it is still looking
> to
> > download these jars
> > in default.properties
> > #they are commented out....
>
> RTFM. It's all documented. People complain about there being no
> documentation and then when it gets written no one looks at it.
>
> These questions have all been answered before and the answers are in the
> user's guide so RTFM and stop wasting everyone's time.
>
[Twadell, Daniel M] > <snip src="default.properties">
>
> #activation.jar = ${lib.repo}/activation-1.0.2.jar
> commons-collections.jar = ${lib.repo}/commons-collections-2.0.jar
> commons-configuration.jar =
${lib.repo}/commons-configuration-1.0-dev.jar
> commons-lang.jar = ${lib.repo}/commons-lang-0.1-dev.jar
> ecs.jar = ${lib.repo}/ecs-1.4.1.jar
> regexp.jar = ${lib.repo}/jakarta-regexp-1.3-dev.jar
> #jdbc.jar = ${lib.repo}/jdbc2_0-stdext.jar
> jndi.jar = ${lib.repo}/jndi-1.2.1.jar
> jta.jar = ${lib.repo}/jta1.0.1.jar
> log4j.jar = ${lib.repo}/log4j-1.1.3.jar
> #javamail.jar = ${lib.repo}/mail-1.2.jar
> </snip>
> >
> > tia
> > dant
> >
> >
> > > -----Original Message-----
> > > From: Andy Paul
> > > Sent: Tuesday, February 25, 2003 9:49 AM
> > > To: Turbine Maven Users List
> > > Subject: Re: maven build fails, jars downloaded from where?
> > >
> > > This was answered two days ago...
> > >
> > > Question:
> > > The repo on ibiblio used to have the activation.jar under JAF and the
> > > javamail.jar under JavaMail directories. I can't find them anymore on
> > > ibilio. Have they been moved to a different directory?
> > >
> > > Answer:
> > > We can't distribute them anymore, you have to down them yourself. We
> > > have initiated some discussions with some folks at Sun and we hope
> that
> > > we will be able to distribute the JAF and JavaMail JARs soon.
> > >
> > > ie get them yourself from the Sun Java Site http://java.sun.com/
> > > Andy
> > >
> > > >Hi
> > > >attempting to build turbine 2.2 with maven...
> > > >fails to download the following
> > > >
> > > >activation-1.0.2.jar
> > > >javamail-1.3.jar
> > > >jdbc-2.0.jar
> > > >jndi-1.2.1.jar
> > > >
> > > >I do have versions of all these...
> > > >
> > > >where is maven trying to download from
> > > >
> > > >grepping for "jndi-1.2.1"
> > > >in /jakarta-turbine-2
> > > >finds that string in
> > > > build.properties.sample
> > > > default.properties
> > > > deps.list
> > > > and
> > > > /xdocs/howto/jboss-howto.xml
> > > >
> > > >hacking any of these does not change how maven runs
> > > >
> > > >any help???
> > > >
> > > >
> > > >tia
> > > >
> > > >
> > > >---------------------------------------------------------------------
> > > >To unsubscribe, e-mail:
> turbine-maven-user-unsubscribe@jakarta.apache.org
> > > >For additional commands, e-mail:
> > > turbine-maven-user-help@jakarta.apache.org
> > > >
> > > >
> > > >
> > > >
> > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail:
> turbine-maven-user-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail:
> > > turbine-maven-user-help@jakarta.apache.org
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> turbine-maven-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail:
> turbine-maven-user-help@jakarta.apache.org
> --
> jvz.
>
> Jason van Zyl
> jason@zenplex.com
> http://tambora.zenplex.org
>
> In short, man creates for himself a new religion of a rational
> and technical order to justify his work and to be justified in it.
>
> -- Jacques Ellul, The Technological Society
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: turbine-maven-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
> turbine-maven-user-help@jakarta.apache.org
RE: RE: maven build fails, jars downloaded from where?
Posted by di...@multitask.com.au.
"Twadell, Daniel M" <Da...@jbosc.ksc.nasa.gov> wrote on
27/02/2003 09:46:38 AM:
> 1: while RTFM the first thing I saw in TFM reference Property
> Processing
>
>
http://jakarta.apache.org/turbine/maven/reference/user-guide.html#Properties
> %20Processing
> this describes how maven processes the .properties files
>
> and default.properties sure looks like it has something to do with
> jar file locations....
Nope, default.properties is not used.
> Is the default.properties used anymore ?
>
> 2: classpath is not mentioned any where in TFM
> Maven "repository" vs jar-clumping is explained in
> http://jakarta.apache.org/turbine/maven/start/use.html
> not in the users guide
Maven doesn't use your classpath.
> 3: the start/use page says non-redistributable jars will tell you
> where to download ... this behavior is not present....
Yep, it's been removed - bad docs.
If you're looking for where you need to place jars so maven finds them,
you'll need to add them to your local repository, which defaults to
$MAVEN_HOME/repository/<projectName>/jars/<jarname>, and then add a
<dependency> element to your project.xml
--
dIon Gillard, Multitask Consulting
Blog: http://www.freeroller.net/page/dion/Weblog
Work: http://www.multitask.com.au