Put them back in and see if it works :-)
Cheers,

Neil



On 23 August 2010 12:24, <[email protected]> wrote:

>  I dont have 
> libs-releases<http://myserver:port/artifactory/libs-releases%3C/url%3E>
> /libs-snapshots in my artifactory anymore... are they mandatory 
> ?<http://myserver:port/artifactory/libs-releases%3C/url%3E>
> I created fw-releases and fw-snapshots as local repositories in
> artifactory, and they are combined together in the fw-test virtual
> repository. Thats why only that appears in my settings.xml.
>
>   If I change my existing settings.xml with
> http://myserver:8080/artifactory/<http://myserver:8080/artifactory/remote-repos>repo
> it returns the same result, browsing to 
> http://myserver:8080/artifactory/<http://myserver:8080/artifactory/remote-repos>repo
> shows again that the required pom is accessible.
>
> Finally, do I need to have this information also in the pom ? Meaning to
> maintain that twice ? I thought having it in the settings.xml frees from
> defining it in any pom
>
> Thanks
>
>
>  -----Original Message-----
> From: Neil Tingley <[email protected]>
> To: artifactory-users <[email protected]>
> Sent: Mon, Aug 23, 2010 1:05 pm
> Subject: Re: [Artifactory-users] Fwd: getting artifacts failed
>
>  ok so you have a mirror of "remote-repos" only which doesn't include your
> local snapshot or release repos.
>
>  Change the mirror settings to point to
>
>  
> http://myserver:8080/artifactory/<http://myserver:8080/artifactory/remote-repos>
> repo
>
>  and make sure you add 2 more repos in settings.xml:
>
>  Also check these match the the repository settings on your pom.
>
>    <repository>
>                                         <snapshots>
>                                                 <enabled>false</enabled>
>                                         </snapshots>
>                                         <id>central</id>
>                                         <name>libs-releases</name>
>                                         <url>
> http://myserver:port/artifactory/libs-releases</url><http://myserver:port/artifactory/libs-releases%3C/url%3E>
> ;
>                                 </repository>
>                                 <repository>
>                                         <snapshots>
>
>  <updatePolicy>daily</updatePolicy>
>                                         </snapshots>
>                                         <id>snapshots</id>
>                                         <name>libs-snapshots</name>
>                                         <url>
> http://myserver:port/artifactory/libs-snapshots</url><http://myserver:port/artifactory/libs-snapshots%3C/url%3E>
> ;
>                                 </repository>
>
>
> Cheers,
>
> Neil
>
>
>
> On 23 August 2010 11:38, <[email protected]> wrote:
>
>> I have changed by settings.xml based on the MavenSettings option in
>> Artifactory
>>
>>
>> <settings xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0
>> http://maven.apache.org/xsd/settings-1.0.0.xsd"; xmlns="
>> http://maven.apache.org/SETTINGS/1.0.0";
>>     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
>>   <mirrors>
>>     <mirror>
>>        <mirrorOf>central</mirrorOf>
>>       <name>remote-repos</name>
>>
>>       <url>http://myserver:8080/artifactory/remote-repos</url>
>>        <id>remote-repos</id>
>>     </mirror>
>>   </mirrors>
>>   <profiles>
>>     <profile>
>>       <repositories>
>>         <repository>
>>           <snapshots>
>>             <enabled>true</enabled>
>>           </snapshots>
>>       <releases>
>>         <enabled>true</enabled>
>>        </releases>
>>           <id>fw-test</id>
>>           <name>fw-test</name>
>>           <url>http://myserver:8080/artifactory/fw-test</url>
>>         </repository>
>>       </repositories>
>>       <pluginRepositories>
>>         <pluginRepository>
>>           <snapshots>
>>             <enabled>false</enabled>
>>           </snapshots>
>>           <id>central</id>
>>           <name>plugins-releases</name>
>>           <url>http://myserver:8080/artifactory/plugins-releases</url>
>>         </pluginRepository>
>>         <pluginRepository>
>>           <snapshots />
>>           <id>snapshots</id>
>>           <name>plugins-snapshots</name>
>>           <url>http://myserver:8080/artifactory/plugins-snapshots</url>
>>         </pluginRepository>
>>       </pluginRepositories>
>>       <id>artifactory</id>
>>     </profile>
>>   </profiles>
>>
>>   <activeProfiles>
>>     <activeProfile>artifactory</activeProfile>
>>   </activeProfiles>
>> </settings>
>>
>>   which created the output I attached (by running mvn -X)
>>
>> I do have difficulties to understand
>> a) does the virtual repository has to be the on in <repository>
>> b) what has to be the values of <mirror> to mirror all remotes but not the
>> locals
>>
>> The URL
>> http://myserver:8080/artifactory/fw-test/de/test/company-pom/1.0/company-pom-1.0.pomfound
>>  in the output is, as i said, valid and can be accessed via browser.
>>
>> Thanks for the help
>>
>>
>>  -----Original Message-----
>> From: Neil Tingley <[email protected]>
>> To: artifactory-users <[email protected]>
>> Sent: Mon, Aug 23, 2010 11:56 am
>> Subject: Re: [Artifactory-users] Fwd: getting artifacts failed
>>
>>  Run
>>
>>  - mvn -X and post the results please.
>>
>>  and
>>
>>  - mvn help:effective:settings
>>
>>
>>  Cheers,
>>
>> Neil
>>
>>
>>
>> On 23 August 2010 10:37, <[email protected]> wrote:
>>
>>>  > (currently I have nothing written in the project pom.xml)
>>>   oh... nothing is a bit harsh ;-)
>>>
>>> I meant nothing concerning any repositories...
>>>
>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> This SF.net email is sponsored by
>>>
>>> Make an app they can't live without
>>> Enter the BlackBerry Developer Challenge
>>> http://p.sf.net/sfu/RIM-dev2dev
>>> _______________________________________________
>>> Artifactory-users mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/artifactory-users
>>>
>>>
>>   
>> ------------------------------------------------------------------------------
>>
>>
>>
>>
>>
>>
>> This SF.net email is sponsored by
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> Make an app they can't live without
>>
>>
>>
>>
>>
>>
>> Enter the BlackBerry Developer Challenge
>>
>>
>>
>>
>>
>> http://p.sf.net/sfu/RIM-dev2dev
>>
>>
>>
>>
>>
>>   _______________________________________________
>>
>>
>>
>>
>>
>>
>> Artifactory-users mailing list
>>
>>
>>
>>
>>
>> [email protected]
>>
>>
>>
>>
>>
>> https://lists.sourceforge.net/lists/listinfo/artifactory-users
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> This SF.net email is sponsored by
>>
>> Make an app they can't live without
>> Enter the BlackBerry Developer Challenge
>> http://p.sf.net/sfu/RIM-dev2dev
>> _______________________________________________
>> Artifactory-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/artifactory-users
>>
>>
>   
> ------------------------------------------------------------------------------
>
>
> This SF.net email is sponsored by
>
>
>
>
> Make an app they can't live without
>
>
> Enter the BlackBerry Developer Challenge
>
> http://p.sf.net/sfu/RIM-dev2dev
>
>   _______________________________________________
>
>
> Artifactory-users mailing list
>
> [email protected]
>
> https://lists.sourceforge.net/lists/listinfo/artifactory-users
>
>
>
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by
>
> Make an app they can't live without
> Enter the BlackBerry Developer Challenge
> http://p.sf.net/sfu/RIM-dev2dev
> _______________________________________________
> Artifactory-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/artifactory-users
>
>
------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users

Reply via email to