Re: Last deployed Snapshot not retrieve from another machine

2006-09-18 Thread Tamás Cservenák

Hi Olivier,

Is maven even trying to get the library from proximity?

Could you send some build logs please?

~t~

On 9/8/06, Olivier Catteau <[EMAIL PROTECTED]> wrote:

Hi,

I've got a strange problem and I'd like to know if it's a known bug or if I
made a mistake when I configure my settings.xml or when I configure
proximity.

In fact, if I deploy a library in snapshot with maven2 and if I use this
library in a project on the same machine, then I use my new snapshot
library. So, in this case, it works correctly.

But if on another machine, I try to compile the same project, the snapshot
deployed is not downloaded (metadata files seems to be updated but not jar
files). Instead of this, the older snapshot (from the local repository) is
used.

Has anyone has got the same problem ?


Here is a part of my settings.xml :

http://maven.apache.org/POM/4.0.0";
  xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance";
  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/settings-1.0.0.xsd";>

...
C:/Dev/tools/maven/local/maven2



corp-central-mirror
central (CORP mirror)
 http://martinique:8181/proximity/repository
central


corp-central-snapshot-mirror
central snapshot (CORP mirror)
http://martinique:8181/proximity/repository
 apache.snapshots


corp-codehaus-mirror
codehaus (CORP mirror)
 http://martinique:8181/proximity/repository
codehaus


corp-codehaus-snapshot-mirror
codehaus snapshot (CORP mirror)
http://martinique:8181/proximity/repository 
codehaus.snapshots





corp-repositories


corp-repository-maven1
Repository CORP (maven1)
file:Z:/maven/repository
legacy

true


false



corp-repository-maven1-snapshot
Repository CORP (maven1-snapshot)
file:Z:/maven/repository
legacy

false


true
always



corp-repository-snapshot
Repository CORP snapshot
http://martinique:8181/proximity/repository

false


true
always





corp-repository-plugin
Repository CORP plugin
http://martinique:8181/proximity/repository


corp-repository-maven1
Repository CORP (maven1)
file:Z:/maven/repository
legacy

true


false



corp-repository-maven1-snapshot
Repository CORP (maven1-snapshot)
file:Z:/maven/repository
legacy

false


true
always




...

...

corp-repositories

...





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Last deployed Snapshot not retrieve from another machine

2006-09-08 Thread Olivier Catteau

Hi,

I've got a strange problem and I'd like to know if it's a known bug or if I
made a mistake when I configure my settings.xml or when I configure
proximity.

In fact, if I deploy a library in snapshot with maven2 and if I use this
library in a project on the same machine, then I use my new snapshot
library. So, in this case, it works correctly.

But if on another machine, I try to compile the same project, the snapshot
deployed is not downloaded (metadata files seems to be updated but not jar
files). Instead of this, the older snapshot (from the local repository) is
used.

Has anyone has got the same problem ?


Here is a part of my settings.xml :

http://maven.apache.org/POM/4.0.0";
 xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance";
 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/settings-1.0.0.xsd";>

...
   C:/Dev/tools/maven/local/maven2

   
   
   corp-central-mirror
   central (CORP mirror)
http://martinique:8181/proximity/repository
   central
   
   
   corp-central-snapshot-mirror
   central snapshot (CORP mirror)
   http://martinique:8181/proximity/repository
apache.snapshots
   
   
   corp-codehaus-mirror
   codehaus (CORP mirror)
http://martinique:8181/proximity/repository
   codehaus
   
   
   corp-codehaus-snapshot-mirror
   codehaus snapshot (CORP mirror)
   http://martinique:8181/proximity/repository 
   codehaus.snapshots
   
   

   
   
   corp-repositories
   
   
   corp-repository-maven1
   Repository CORP (maven1)
   file:Z:/maven/repository
   legacy
   
   true
   
   
   false
   
   
   
   corp-repository-maven1-snapshot
   Repository CORP (maven1-snapshot)
   file:Z:/maven/repository
   legacy
   
   false
   
   
   true
   always
   
   
   
   corp-repository-snapshot
   Repository CORP snapshot
   http://martinique:8181/proximity/repository
   
   false
   
   
   true
   always
   
   
   
   
   
   corp-repository-plugin
   Repository CORP plugin
   http://martinique:8181/proximity/repository
   
   
   corp-repository-maven1
   Repository CORP (maven1)
   file:Z:/maven/repository
   legacy
   
   true
   
   
   false
   
   
   
   corp-repository-maven1-snapshot
   Repository CORP (maven1-snapshot)
   file:Z:/maven/repository
   legacy
   
   false
   
   
   true
   always
   
   
   
   
...
   
...
   
   corp-repositories
   
...