You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Olivier Lamy <ol...@accor.com> on 2005/11/10 11:38:47 UTC
[m2]beginner question
Hi all,
I am starting using m2.
I have the following exception[1].
I suppose it's probably due to a non acces via a proxy to the maven repo
with plugins. But I'm not sure ;-)
I want to try a different setting on a proxy but I need to know where
are downloading the plugin by default.
I suppose it's : http://repo1.maven.org/
But is there any way to override this value with www.ibiblio.org/**
Because this value is our proxy configuration.
Thanks in advance for any help,
- Olivier
[1]
Exception
+ Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO]
------------------------------------------------------------------------
----
[INFO] Building accommons-tools
[INFO] task-segment: [clean]
[INFO]
------------------------------------------------------------------------
----
[INFO]
------------------------------------------------------------------------
----
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
----
[INFO] The plugin 'org.apache.maven.plugins:maven-clean-plugin' does not
exist or no valid version could be found [INFO]
------------------------------------------------------------------------
----
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: The plugin
'org.apache.maven.plugins:maven-clean-plugin' does not exist or no valid
version could be found
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(Default
LifecycleExecutor.java:1124)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(De
faultLifecycleExecutor.java:1356)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.bindLifecycleForPack
aging(DefaultLifecycleExecutor.java:896)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.constructLifecycleMa
ppings(DefaultLifecycleExecutor.java:862)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultL
ifecycleExecutor.java:447)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandle
Failures(DefaultLifecycleExecutor.java:301)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
DefaultLifecycleExecutor.java:268)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifec
ycleExecutor.java:137)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:316)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:113)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:249)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by:
org.apache.maven.plugin.version.PluginVersionNotFoundException: The
plugin 'org.apache.maven.plugins:maven-clean-plugin' does not exist or
no valid version could be found
at
org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePlugi
nVersion(DefaultPluginVersionManager.java:225)
at
org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePlugi
nVersion(DefaultPluginVersionManager.java:87)
at
org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPluginM
anager.java:158)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(Default
LifecycleExecutor.java:1095)
... 18 more
[INFO]
------------------------------------------------------------------------
----
[INFO] Total time: 2 seconds
[INFO] Finished at: Thu Nov 10 11:31:06 MET 2005
[INFO] Final Memory: 1M/510M
[INFO]
------------------------------------------------------------------------
----
This e-mail, any attachments and the information contained therein ("this message") are confidential and intended solely for the use of the addressee(s). If you have received this message in error please send it back to the sender and delete it. Unauthorized publication, use, dissemination or disclosure of this message, either in whole or in part is strictly prohibited.
**********************************************************************
Ce message electronique et tous les fichiers joints ainsi que les informations contenues dans ce message ( ci apres "le message" ), sont confidentiels et destines exclusivement a l'usage de la personne a laquelle ils sont adresses. Si vous avez recu ce message par erreur, merci de le renvoyer a son emetteur et de le detruire. Toutes diffusion, publication, totale ou partielle ou divulgation sous quelque forme que se soit non expressement autorisees de ce message, sont interdites.
**********************************************************************
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
RE : RE : RE : [m2]beginner question
Posted by Olivier Lamy <ol...@accor.com>.
Yep
<proxy>
<active>true</active>
<protocol>http</protocol>
<host>proxy ip</host>
<port>proxy port</port>
</proxy>
Normaly I don't need to define a user/pwd for the url started with
http://www.ibiblio.org/ for this machine
I will check the proxy configuration for this machine (a solaris
machine) because it works fine on my machine.
No way to see the http exchange on the console ?
I am right with this definiton in the settings.xml ?
<pluginRepositories>
<pluginRepository>
<id>ibiblio-m1-repository-plugins</id>
<name>ibiblio-m1-repository-plugins</name>
<url>http://www.ibiblio.org/maven</url>
<layout>legacy</layout>
</pluginRepository>
<pluginRepository>
<id>ibiblio-m2-repository-plugins</id>
<name>ibiblio-m2-repository-plugins</name>
<url>http://www.ibiblio.org/maven2/plugins</url>
</pluginRepository>
</pluginRepositories>
An other question : does it exist a way to get informations from a
project.xml in order to inject it on a pom.xml like an xsl or something
else ?
Thanks for help,
- Olivier
> -----Message d'origine-----
> De : Brett Porter [mailto:brett.porter@gmail.com]
> Envoyé : jeudi 10 novembre 2005 12:18
> À : Maven Users List
> Objet : Re: RE : RE : [m2]beginner question
>
>
> This is the default (except for /plugins), so this is not
> improving your situation.
>
> Have you defined the proxy properties for your environment?
>
> - Brett
>
> On 11/10/05, Olivier Lamy <ol...@accor.com> wrote:
> > I try with
> > <pluginRepository>
> > <id>ibiblio-m2-repository-plugins</id>
> > <name>ibiblio-m2-repository-plugins</name>
> >
> <url>http://www.ibiblio.org/maven2/plugins</url> (not sure
> > about the /plugins at the end ?)
> > </pluginRepository>
> > Is there any way to activate a log on the http exchange
> (good way to
> > look at the headers and the http return value) Thanks
> > - Olivier
> >
> > > -----Message d'origine-----
> > > De : Olivier Lamy [mailto:olivier.lamy@accor.com]
> > > Envoyé : jeudi 10 novembre 2005 11:50
> > > À : 'Maven Users List'
> > > Objet : RE : [m2]beginner question
> > >
> > >
> > > Ok thanks for the Correct response ;-)
> > > But to override the default I need to follow guidelines :
> > > http://maven.apache.org/maven-settings/settings.html#class_plu
> > > ginReposit
> > > ory
> > >
> > > Thanks,
> > > - Olivier
> > >
> > > > -----Message d'origine-----
> > > > De : Brett Porter [mailto:brett.porter@gmail.com]
> > > > Envoyé : jeudi 10 novembre 2005 11:45
> > > > À : Maven Users List
> > > > Objet : Re: [m2]beginner question
> > > >
> > > >
> > > > On 11/10/05, Olivier Lamy <ol...@accor.com> wrote:
> > > > > Hi all,
> > > > > I am starting using m2.
> > > > > I have the following exception[1].
> > > > > I suppose it's probably due to a non acces via a proxy to
> > > the maven
> > > > > repo with plugins. But I'm not sure ;-)
> > > >
> > > > Correct.
> > > >
> > > > - Brett
> > > >
> > > >
> > >
> --------------------------------------------------------------------
> > > -
> > > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > > For additional commands, e-mail: users-help@maven.apache.org
> > > >
> > >
> > >
> > >
> > > This e-mail, any attachments and the information
> contained therein
> > > ("this message") are confidential and intended solely for
> the use of
> > > the addressee(s). If you have received this message in
> error please
> > > send it back to the sender and delete it. Unauthorized
> publication,
> > > use, dissemination or disclosure of this message, either
> in whole or
> > > in part is strictly prohibited.
> > > --------------------------------------------------------------
> > > ------------------------------------------------
> > > Ce message électronique et tous les fichiers joints ainsi que
> > > les informations contenues dans ce message ( ci après "le
> > > message" ), sont confidentiels et destinés exclusivement à
> > > l'usage de la personne à laquelle ils sont adressés. Si vous
> > > avez reçu ce message par erreur, merci de le renvoyer à son
> > > émetteur et de le détruire. Toutes diffusion, publication,
> > > totale ou partielle ou divulgation sous quelque forme que se
> > > soit non expressément autorisées de ce message, sont interdites.
> > > --------------------------------------------------------------
> > > -----------------------------------------------
> > >
> > >
> > >
> --------------------------------------------------------------------
> > > -
> > > 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
> >
> >
>
> ---------------------------------------------------------------------
> 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
Re: RE : RE : [m2]beginner question
Posted by Brett Porter <br...@gmail.com>.
This is the default (except for /plugins), so this is not improving
your situation.
Have you defined the proxy properties for your environment?
- Brett
On 11/10/05, Olivier Lamy <ol...@accor.com> wrote:
> I try with
> <pluginRepository>
> <id>ibiblio-m2-repository-plugins</id>
> <name>ibiblio-m2-repository-plugins</name>
> <url>http://www.ibiblio.org/maven2/plugins</url> (not sure
> about the /plugins at the end ?)
> </pluginRepository>
> Is there any way to activate a log on the http exchange (good way to
> look at the headers and the http return value)
> Thanks
> - Olivier
>
> > -----Message d'origine-----
> > De : Olivier Lamy [mailto:olivier.lamy@accor.com]
> > Envoyé : jeudi 10 novembre 2005 11:50
> > À : 'Maven Users List'
> > Objet : RE : [m2]beginner question
> >
> >
> > Ok thanks for the Correct response ;-)
> > But to override the default I need to follow guidelines :
> > http://maven.apache.org/maven-settings/settings.html#class_plu
> > ginReposit
> > ory
> >
> > Thanks,
> > - Olivier
> >
> > > -----Message d'origine-----
> > > De : Brett Porter [mailto:brett.porter@gmail.com]
> > > Envoyé : jeudi 10 novembre 2005 11:45
> > > À : Maven Users List
> > > Objet : Re: [m2]beginner question
> > >
> > >
> > > On 11/10/05, Olivier Lamy <ol...@accor.com> wrote:
> > > > Hi all,
> > > > I am starting using m2.
> > > > I have the following exception[1].
> > > > I suppose it's probably due to a non acces via a proxy to
> > the maven
> > > > repo with plugins. But I'm not sure ;-)
> > >
> > > Correct.
> > >
> > > - Brett
> > >
> > >
> > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > For additional commands, e-mail: users-help@maven.apache.org
> > >
> >
> >
> >
> > This e-mail, any attachments and the information contained
> > therein ("this message") are confidential and intended solely
> > for the use of the addressee(s). If you have received this
> > message in error please send it back to the sender and delete
> > it. Unauthorized publication, use, dissemination or
> > disclosure of this message, either in whole or in part is
> > strictly prohibited.
> > --------------------------------------------------------------
> > ------------------------------------------------
> > Ce message électronique et tous les fichiers joints ainsi que
> > les informations contenues dans ce message ( ci après "le
> > message" ), sont confidentiels et destinés exclusivement à
> > l'usage de la personne à laquelle ils sont adressés. Si vous
> > avez reçu ce message par erreur, merci de le renvoyer à son
> > émetteur et de le détruire. Toutes diffusion, publication,
> > totale ou partielle ou divulgation sous quelque forme que se
> > soit non expressément autorisées de ce message, sont interdites.
> > --------------------------------------------------------------
> > -----------------------------------------------
> >
> >
> > ---------------------------------------------------------------------
> > 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
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
RE : RE : [m2]beginner question
Posted by Olivier Lamy <ol...@accor.com>.
I try with
<pluginRepository>
<id>ibiblio-m2-repository-plugins</id>
<name>ibiblio-m2-repository-plugins</name>
<url>http://www.ibiblio.org/maven2/plugins</url> (not sure
about the /plugins at the end ?)
</pluginRepository>
Is there any way to activate a log on the http exchange (good way to
look at the headers and the http return value)
Thanks
- Olivier
> -----Message d'origine-----
> De : Olivier Lamy [mailto:olivier.lamy@accor.com]
> Envoyé : jeudi 10 novembre 2005 11:50
> À : 'Maven Users List'
> Objet : RE : [m2]beginner question
>
>
> Ok thanks for the Correct response ;-)
> But to override the default I need to follow guidelines :
> http://maven.apache.org/maven-settings/settings.html#class_plu
> ginReposit
> ory
>
> Thanks,
> - Olivier
>
> > -----Message d'origine-----
> > De : Brett Porter [mailto:brett.porter@gmail.com]
> > Envoyé : jeudi 10 novembre 2005 11:45
> > À : Maven Users List
> > Objet : Re: [m2]beginner question
> >
> >
> > On 11/10/05, Olivier Lamy <ol...@accor.com> wrote:
> > > Hi all,
> > > I am starting using m2.
> > > I have the following exception[1].
> > > I suppose it's probably due to a non acces via a proxy to
> the maven
> > > repo with plugins. But I'm not sure ;-)
> >
> > Correct.
> >
> > - Brett
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
>
>
>
> This e-mail, any attachments and the information contained
> therein ("this message") are confidential and intended solely
> for the use of the addressee(s). If you have received this
> message in error please send it back to the sender and delete
> it. Unauthorized publication, use, dissemination or
> disclosure of this message, either in whole or in part is
> strictly prohibited.
> --------------------------------------------------------------
> ------------------------------------------------
> Ce message électronique et tous les fichiers joints ainsi que
> les informations contenues dans ce message ( ci après "le
> message" ), sont confidentiels et destinés exclusivement à
> l'usage de la personne à laquelle ils sont adressés. Si vous
> avez reçu ce message par erreur, merci de le renvoyer à son
> émetteur et de le détruire. Toutes diffusion, publication,
> totale ou partielle ou divulgation sous quelque forme que se
> soit non expressément autorisées de ce message, sont interdites.
> --------------------------------------------------------------
> -----------------------------------------------
>
>
> ---------------------------------------------------------------------
> 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
RE : [m2]beginner question
Posted by Olivier Lamy <ol...@accor.com>.
Ok thanks for the Correct response ;-)
But to override the default I need to follow guidelines :
http://maven.apache.org/maven-settings/settings.html#class_pluginReposit
ory
Thanks,
- Olivier
> -----Message d'origine-----
> De : Brett Porter [mailto:brett.porter@gmail.com]
> Envoyé : jeudi 10 novembre 2005 11:45
> À : Maven Users List
> Objet : Re: [m2]beginner question
>
>
> On 11/10/05, Olivier Lamy <ol...@accor.com> wrote:
> > Hi all,
> > I am starting using m2.
> > I have the following exception[1].
> > I suppose it's probably due to a non acces via a proxy to the maven
> > repo with plugins. But I'm not sure ;-)
>
> Correct.
>
> - Brett
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
This e-mail, any attachments and the information contained therein ("this message") are confidential and intended solely for the use of the addressee(s). If you have received this message in error please send it back to the sender and delete it. Unauthorized publication, use, dissemination or disclosure of this message, either in whole or in part is strictly prohibited.
--------------------------------------------------------------------------------------------------------------
Ce message électronique et tous les fichiers joints ainsi que les informations contenues dans ce message ( ci après "le message" ), sont confidentiels et destinés exclusivement à l'usage de la personne à laquelle ils sont adressés. Si vous avez reçu ce message par erreur, merci de le renvoyer à son émetteur et de le détruire. Toutes diffusion, publication, totale ou partielle ou divulgation sous quelque forme que se soit non expressément autorisées de ce message, sont interdites.
-------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: [m2]beginner question
Posted by Brett Porter <br...@gmail.com>.
On 11/10/05, Olivier Lamy <ol...@accor.com> wrote:
> Hi all,
> I am starting using m2.
> I have the following exception[1].
> I suppose it's probably due to a non acces via a proxy to the maven repo
> with plugins. But I'm not sure ;-)
Correct.
- Brett
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org