You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by MT...@EvergreenInvestments.com on 2006/04/12 14:23:31 UTC
Question on mvn compile
Can someone explain why during mvn compile, that librarires from apache
commons, i.e. commons-digester and commons-logging are not
retrieved automatically as a plugin? I can see why licensing for mail and
activation packages from sun need to be installed manually into your local
repository, but how come these too? Am I not putting something in my
dependency tags that will first look at the apache site or ibiblio?
Thanks, Mike Tedesco
Re: Question on mvn compile
Posted by Paul Li <pa...@gmail.com>.
Do you have a copy of your pom file handy?
As far as i know, commons jars are on the ibiblo site, you should
include them as dependencies, you dont need to specify them in the
build plugin part of your pom.
hth,
paul
On 4/12/06, MTedesco@evergreeninvestments.com
<MT...@evergreeninvestments.com> wrote:
> Can someone explain why during mvn compile, that librarires from apache
> commons, i.e. commons-digester and commons-logging are not
> retrieved automatically as a plugin? I can see why licensing for mail and
> activation packages from sun need to be installed manually into your local
> repository, but how come these too? Am I not putting something in my
> dependency tags that will first look at the apache site or ibiblio?
>
>
> Thanks, Mike Tedesco
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Question on mvn compile
Posted by MT...@EvergreenInvestments.com.
Wonderful, thanks..................
"Arik Kfir" <ar...@gmail.com>
04/12/2006 08:35 AM
Please respond to
"Maven Users List" <us...@maven.apache.org>
To
"Maven Users List" <us...@maven.apache.org>
cc
Subject
Re: Question on mvn compile
Try adding this to your pom.xml, under the <project> tag:
<dependencies>
<dependency>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
<version>1.0.4</version> <!-- or any other specific version that you
need... -->
</dependency>
<!-- you can add as many dependencies as you need -->
</dependencies>
On 4/12/06, Arik Kfir <ar...@gmail.com> wrote:
>
> Hi MTedesco,
>
> Did you specify them as dependencies in your pom.xml file?
>
>
> On 4/12/06, MTedesco@evergreeninvestments.com <
> MTedesco@evergreeninvestments.com> wrote:
> >
> > Can someone explain why during mvn compile, that librarires from
apache
> > commons, i.e. commons-digester and commons-logging are not
> > retrieved automatically as a plugin? I can see why licensing for mail
> > and
> > activation packages from sun need to be installed manually into your
> > local
> > repository, but how come these too? Am I not putting something in my
> > dependency tags that will first look at the apache site or ibiblio?
> >
> >
> > Thanks, Mike Tedesco
> >
>
>
Re: Question on mvn compile
Posted by Arik Kfir <ar...@gmail.com>.
Try adding this to your pom.xml, under the <project> tag:
<dependencies>
<dependency>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
<version>1.0.4</version> <!-- or any other specific version that you
need... -->
</dependency>
<!-- you can add as many dependencies as you need -->
</dependencies>
On 4/12/06, Arik Kfir <ar...@gmail.com> wrote:
>
> Hi MTedesco,
>
> Did you specify them as dependencies in your pom.xml file?
>
>
> On 4/12/06, MTedesco@evergreeninvestments.com <
> MTedesco@evergreeninvestments.com> wrote:
> >
> > Can someone explain why during mvn compile, that librarires from apache
> > commons, i.e. commons-digester and commons-logging are not
> > retrieved automatically as a plugin? I can see why licensing for mail
> > and
> > activation packages from sun need to be installed manually into your
> > local
> > repository, but how come these too? Am I not putting something in my
> > dependency tags that will first look at the apache site or ibiblio?
> >
> >
> > Thanks, Mike Tedesco
> >
>
>
Re: Question on mvn compile
Posted by Arik Kfir <ar...@gmail.com>.
Exactly.
On 4/12/06, MTedesco@evergreeninvestments.com <
MTedesco@evergreeninvestments.com> wrote:
>
> Yes, but only after it complained it couldn't find them the first time.
> Are you saying that if I just put these as dependencies, I don't need to
> download the jars
> seperately and install them manually into my local respository?
>
>
>
>
> "Arik Kfir" <ar...@gmail.com>
> 04/12/2006 08:27 AM
> Please respond to
> "Maven Users List" <us...@maven.apache.org>
>
>
> To
> "Maven Users List" <us...@maven.apache.org>
> cc
>
> Subject
> Re: Question on mvn compile
>
>
>
>
>
>
> Hi MTedesco,
>
> Did you specify them as dependencies in your pom.xml file?
>
> On 4/12/06, MTedesco@evergreeninvestments.com <
> MTedesco@evergreeninvestments.com> wrote:
> >
> > Can someone explain why during mvn compile, that librarires from apache
> > commons, i.e. commons-digester and commons-logging are not
> > retrieved automatically as a plugin? I can see why licensing for mail
> and
> > activation packages from sun need to be installed manually into your
> local
> > repository, but how come these too? Am I not putting something in my
> > dependency tags that will first look at the apache site or ibiblio?
> >
> >
> > Thanks, Mike Tedesco
> >
>
>
>
Re: Question on mvn compile
Posted by MT...@EvergreenInvestments.com.
Yes, but only after it complained it couldn't find them the first time.
Are you saying that if I just put these as dependencies, I don't need to
download the jars
seperately and install them manually into my local respository?
"Arik Kfir" <ar...@gmail.com>
04/12/2006 08:27 AM
Please respond to
"Maven Users List" <us...@maven.apache.org>
To
"Maven Users List" <us...@maven.apache.org>
cc
Subject
Re: Question on mvn compile
Hi MTedesco,
Did you specify them as dependencies in your pom.xml file?
On 4/12/06, MTedesco@evergreeninvestments.com <
MTedesco@evergreeninvestments.com> wrote:
>
> Can someone explain why during mvn compile, that librarires from apache
> commons, i.e. commons-digester and commons-logging are not
> retrieved automatically as a plugin? I can see why licensing for mail
and
> activation packages from sun need to be installed manually into your
local
> repository, but how come these too? Am I not putting something in my
> dependency tags that will first look at the apache site or ibiblio?
>
>
> Thanks, Mike Tedesco
>
Re: Question on mvn compile
Posted by Arik Kfir <ar...@gmail.com>.
Hi MTedesco,
Did you specify them as dependencies in your pom.xml file?
On 4/12/06, MTedesco@evergreeninvestments.com <
MTedesco@evergreeninvestments.com> wrote:
>
> Can someone explain why during mvn compile, that librarires from apache
> commons, i.e. commons-digester and commons-logging are not
> retrieved automatically as a plugin? I can see why licensing for mail and
> activation packages from sun need to be installed manually into your local
> repository, but how come these too? Am I not putting something in my
> dependency tags that will first look at the apache site or ibiblio?
>
>
> Thanks, Mike Tedesco
>