Hello,

I'm trying maven in a corporate environnement.
My problem is to use maven-proxy, to sit on my main server and imitate ibiblio. To do this, on a Windows XP machine with internet connection, I set my user settings (in .m2 directory) like this :
|<settings>
<profiles>
  <profile>
    <id>myprofile</id>
    <repositories>
      <repository>
        <id>central</id>
        <name>your custom repo</name>
        <url>http://localhost:9999/repository</url>
      </repository>
    </repositories>
   <pluginRepositories>
      <pluginRepository>
        <id>central</id>
        <name>your custom repo</name>
        <url>http://localhost:9999/</url>
      </pluginRepository>
    </pluginRepositories>
  </profile>
</profiles>

<activeProfiles>
  <activeProfile>myprofile</activeProfile>
</activeProfiles>
</settings>
|
Maven-proxy is running well (I can administrate it with a web browser at http://localhost:9999)

In a empty directory, I try this
|mvn archetype:create -DgroupId=com.mycompany.app -DartifactId=my-app|

This work fine, but all downloads are done from http://repo1.maven.org/maven2 ! And not from maven-proxy ! Maven-proxy cache is empty, and these no log in it's command window.
It seems that maven do not reach maven-proxy.
What's wrong with my configuration ?

Thank's by advance.

--
             \|/
            -o o-
----------o00-(_)-00o-------------

Didier BRICHET
Mél : [EMAIL PROTECTED]

------oo00-----------00oo---------

Reply via email to