You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Ole Ersoy <ol...@yahoo.com> on 2006/02/08 21:46:46 UTC
jar install question
Hi,
I installed a few jars in my local repository using
the install command shown in the maven documentation.
The build works fine, except it tries to download a
pom for the installed jar everytime it runs....like
this:
Downloading:
http://repo1.maven.org/maven2/el-ri/el-ri/1.0/el-ri-1.0.pom
[WARNING] Unable to get resource from repository
central
Is there a way to stop Maven from trying this?
Thanks,
- Ole
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: jar install question
Posted by Ole Ersoy <ol...@yahoo.com>.
Wendy,
You are right. It was not generating the pom, and
when I added the -U to the command like this:
mvn -U install:install-file
-Dfile=/home/ole/Desktop/facelets-1.0.10/facelets-1.0.10/jsf-facelets.jar
-DgroupId=jsf-facelets -DartifactId=jsf-facelets
-Dversion=1.0.10 -Dpackaging=jar -DgeneratePom=true
It did it!
Thanks,
- Ole
--- Wendy Smoak <ws...@gmail.com> wrote:
> On 2/8/06, Ole Ersoy <ol...@yahoo.com> wrote:
>
> > I added the option, but maven is still trying to
> > download the poms. Here's the list of commands
> that
> > run successfully:
>
> Is it actually generating a pom in your local
> repository? If not,
> your're probably not using the latest version. Add
> -U to the command
> line to make Maven update its plugins, then install
> the files again.
>
> --
> Wendy
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> users-unsubscribe@maven.apache.org
> For additional commands, e-mail:
> users-help@maven.apache.org
>
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: jar install question
Posted by Wendy Smoak <ws...@gmail.com>.
On 2/8/06, Ole Ersoy <ol...@yahoo.com> wrote:
> I added the option, but maven is still trying to
> download the poms. Here's the list of commands that
> run successfully:
Is it actually generating a pom in your local repository? If not,
your're probably not using the latest version. Add -U to the command
line to make Maven update its plugins, then install the files again.
--
Wendy
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: jar install question
Posted by Ole Ersoy <ol...@yahoo.com>.
I added the option, but maven is still trying to
download the poms. Here's the list of commands that
run successfully:
mvn install:install-file
-Dfile=/home/ole/Desktop/facelets-1.0.10/facelets-1.0.10/lib/el-api.jar
-DgroupId=el-api -DartifactId=el-api -Dversion=1.0
-Dpackaging=jar -DgeneratePom=true
mvn install:install-file
-Dfile=/home/ole/Desktop/facelets-1.0.10/facelets-1.0.10/lib/el-ri.jar
-DgroupId=el-ri -DartifactId=el-ri -Dversion=1.0
-Dpackaging=jar -DgeneratePom=true
mvn install:install-file
-Dfile=/home/ole/Desktop/facelets-1.0.10/facelets-1.0.10/jsf-facelets.jar
-DgroupId=jsf-facelets -DartifactId=jsf-facelets
-Dversion=1.0.10 -Dpackaging=jar -DgeneratePom=true
Any ideas?
Thanks again,
- Ole
--- Kristof Vanbecelaere <kv...@jcs.be> wrote:
> add -DgeneratePom=true to the install command
>
> On Feb 8, 2006, at 21:46, Ole Ersoy wrote:
>
> > Hi,
> >
> > I installed a few jars in my local repository
> using
> > the install command shown in the maven
> documentation.
> >
> > The build works fine, except it tries to download
> a
> > pom for the installed jar everytime it
> runs....like
> > this:
> >
> > Downloading:
> >
>
http://repo1.maven.org/maven2/el-ri/el-ri/1.0/el-ri-1.0.pom
> > [WARNING] Unable to get resource from repository
> > central
> >
> > Is there a way to stop Maven from trying this?
> >
> > Thanks,
> > - Ole
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Tired of spam? Yahoo! Mail has the best spam
> protection around
> > http://mail.yahoo.com
> >
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> users-unsubscribe@maven.apache.org
> > For additional commands, e-mail:
> users-help@maven.apache.org
> >
>
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> users-unsubscribe@maven.apache.org
> For additional commands, e-mail:
> users-help@maven.apache.org
>
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: jar install question
Posted by Kristof Vanbecelaere <kv...@jcs.be>.
add -DgeneratePom=true to the install command
On Feb 8, 2006, at 21:46, Ole Ersoy wrote:
> Hi,
>
> I installed a few jars in my local repository using
> the install command shown in the maven documentation.
>
> The build works fine, except it tries to download a
> pom for the installed jar everytime it runs....like
> this:
>
> Downloading:
> http://repo1.maven.org/maven2/el-ri/el-ri/1.0/el-ri-1.0.pom
> [WARNING] Unable to get resource from repository
> central
>
> Is there a way to stop Maven from trying this?
>
> Thanks,
> - Ole
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org