You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by john_sh <mr...@yahoo.com> on 2006/08/23 14:08:52 UTC

changing remote repository

hello

when i type the command "mvn clean install" to compile some exo modules, i
recieve this error message :

F:\java\projects\v2.x\exo-sso>mvn clean install
[INFO] Scanning for projects...
Downloading:
http://www.ibiblio.org/maven2//exo-tools/exo-tools.build.config/2.0
.1/exo-tools.build.config-2.0.1.pom
[WARNING] Unable to get resource from repository central
(http://repo1.maven.org
/maven2)[INFO]
------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

GroupId: exo-tools
ArtifactId: exo-tools.build.config
Version: 2.0.1

Reason: Unable to download the artifact from any repository

  exo-tools:exo-tools.build.config:pom:2.0.1

from the specified remote repositories:
  central (http://repo1.maven.org/maven2)


[INFO]
------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.reactor.MavenExecutionException: Cannot find parent:
exo-tools:
exo-tools.build.config for project: exo-sso:exo-sso:pom:1.0
        at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:365)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:278)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39) ................................


although i have executed command "mvn instal"l before, and maven have
downloaded it's neseccery files.

may be the default repository "http://repo1.maven.org" does not have the
neseccery files for this task,
i have find another site wich has nesecceray jar files that maven needs for
this task, but i don't know how to set maven remote repository to that site.
how can i change maven remote repositrory? in wich file i should set it? and
where is that file located?

i appreciate any help.
-- 
View this message in context: http://www.nabble.com/changing-remote-repository-tf2152019.html#a5943129
Sent from the Maven - Users forum at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: changing remote repository

Posted by Allan Ramirez <ar...@exist.com>.
Please refer to this link 
http://maven.apache.org/guides/introduction/introduction-to-repositories.html

allan

john_sh wrote:
> hello
>
> when i type the command "mvn clean install" to compile some exo modules, i
> recieve this error message :
>
> F:\java\projects\v2.x\exo-sso>mvn clean install
> [INFO] Scanning for projects...
> Downloading:
> http://www.ibiblio.org/maven2//exo-tools/exo-tools.build.config/2.0
> .1/exo-tools.build.config-2.0.1.pom
> [WARNING] Unable to get resource from repository central
> (http://repo1.maven.org
> /maven2)[INFO]
> ------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
>
> GroupId: exo-tools
> ArtifactId: exo-tools.build.config
> Version: 2.0.1
>
> Reason: Unable to download the artifact from any repository
>
>   exo-tools:exo-tools.build.config:pom:2.0.1
>
> from the specified remote repositories:
>   central (http://repo1.maven.org/maven2)
>
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Trace
> org.apache.maven.reactor.MavenExecutionException: Cannot find parent:
> exo-tools:
> exo-tools.build.config for project: exo-sso:exo-sso:pom:1.0
>         at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:365)
>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:278)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:39) ................................
>
>
> although i have executed command "mvn instal"l before, and maven have
> downloaded it's neseccery files.
>
> may be the default repository "http://repo1.maven.org" does not have the
> neseccery files for this task,
> i have find another site wich has nesecceray jar files that maven needs for
> this task, but i don't know how to set maven remote repository to that site.
> how can i change maven remote repositrory? in wich file i should set it? and
> where is that file located?
>
> i appreciate any help.
>   

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org