RE: Problem downloading latest SNAPSHOT from central repository

2007-03-01 Thread dbaker

Hi Jorg, thanks for your reply. I'm sure that the URL is correct because when
I delete my local copy of the artifact, I am able to download the latest
version correctly from the repository at the given URL. But thanks anyway.

David

Jörg Schaible wrote:
> 
> dbaker wrote on Wednesday, February 28, 2007 5:22 PM:
> 
>> Hi
>> 
>> I'm having trouble in downloading snapshots to my local
>> repository from a
>> central repository stored on my company's network. The
>> snapshots are built
>> nightly in the central repository. If I build my application locally,
>> it does not pull down the latest version of the snapshot into my local
>> repository. However, if I delete my local version of the
>> snapshot, when I
>> run a local build it downloads the mssing snapshot from my repository
>> - so I know I'm able to access the repository.
>> 
>> My understanding was that if the timestamp of the version in
>> the central
>> repository is more recent than that of the local version,
>> then the local
>> version would be updated. Is this correct, or does Maven only
>> download to the local repository if the required artifact is missing?
>> 
>> My pom.xml file contains:
>> 
>>   
>>  
>>  central
>>  Name
>>  default
>>  file:\\\J:\\repository
> 
> This is not a valid URL.
> 
>>  
>>   
>> 
>> 
>>  myGroupId
>>  myArtifact
>>  1.0.0-SNAPSHOT
>> 
>> 
>> 
>> My settings.xml file is:
>> 
>> 
>>  
>>  
>>  
>> true 
>>  
>>  
>>
>> true
>> always
>> warn
>>   
>>   central
>>   Remote Repository
>>   default
>>   file:\\\J:\\repository
> 
> This is not a valid URL.
> 
>>  
>>  
>>   
>> 
>>   
>> 
>> Thanks in advance for your help.
> 
> file:///J:\repository
> 
> - Jörg
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Problem-downloading-latest-SNAPSHOT-from-central-repository-tf3309925s177.html#a9246637
Sent from the Maven - Users mailing list archive at Nabble.com.


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



RE: Problem downloading latest SNAPSHOT from central repository

2007-02-28 Thread Jörg Schaible
dbaker wrote on Wednesday, February 28, 2007 5:22 PM:

> Hi
> 
> I'm having trouble in downloading snapshots to my local
> repository from a
> central repository stored on my company's network. The
> snapshots are built
> nightly in the central repository. If I build my application locally,
> it does not pull down the latest version of the snapshot into my local
> repository. However, if I delete my local version of the
> snapshot, when I
> run a local build it downloads the mssing snapshot from my repository
> - so I know I'm able to access the repository.
> 
> My understanding was that if the timestamp of the version in
> the central
> repository is more recent than that of the local version,
> then the local
> version would be updated. Is this correct, or does Maven only
> download to the local repository if the required artifact is missing?
> 
> My pom.xml file contains:
> 
>   
>   
>   central
>   Name
>   default
>   file:\\\J:\\repository

This is not a valid URL.

>   
>   
> 
> 
>  myGroupId
>  myArtifact
>  1.0.0-SNAPSHOT
> 
> 
> 
> My settings.xml file is:
> 
> 
>  
>  
>  
> true 
>  
>  
>
> true
> always
> warn
>   
>   central
>   Remote Repository
>   default
>   file:\\\J:\\repository

This is not a valid URL.

>  
>  
>   
> 
>   
> 
> Thanks in advance for your help.

file:///J:\repository

- Jörg

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