My question is, how do you config a default settings.xml for a fresh install
of maven+artifactory?

if i will use the generated settings.xml file will it work?

also, does it suffice to put settings.xml in $M2_HOME/conf?
or does it have to be in every ~/.m2 dir as well?

Eyal.

On Sun, Mar 7, 2010 at 10:15 AM, Noam Y. Tenne <[email protected]> wrote:

>  Hi Eyal
>
> The maven settings generator uses only virtual repository references, not
> local.
>
> HTH,
> Noam
>
> eyal edri wrote:
>
> I think there is a bug in the "Home/Maven Settings".
>
>  when you create the default settings.xml the name of the repositories
> are"
>
>    <profiles>
>     <profile>
>       <repositories>
>         <repository>
>           <snapshots>
>             <enabled>false</enabled>
>           </snapshots>
>           <id>central</id>
>           <name>libs-releases</name>
>           <url>http://server.com:8081/artifactory*/libs-releases*</url>
>         </repository>
>         <repository>
>           <snapshots />
>           <id>snapshots</id>
>           <name>libs-snapshots</name>
>           <url>http://server.com:8081/artifactory/*libs-snapshots*</url>
>         </repository>
>       </repositories>
>
>  while the real address of the repo (when you browse them) has a -local
> suffix.
>
>  <distributionManagement>
>     <repository>
>         <id>server.com</id>
>         <name>server.com-releases</name>
>         <url>http://server.com:8081/artifactory/libs-releases-local</url>
>     </repository>
> </distributionManagement>
>  --
> Eyal Edri
>
> ------------------------------
>
> ------------------------------------------------------------------------------
> Download Intel&#174; Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during 
> beta.http://p.sf.net/sfu/intel-sw-dev
>
> ------------------------------
>
> _______________________________________________
> Artifactory-users mailing 
> [email protected]https://lists.sourceforge.net/lists/listinfo/artifactory-users
>
>
>
>
> ------------------------------------------------------------------------------
> Download Intel&#174; Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> Artifactory-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/artifactory-users
>
>


-- 
Eyal Edri
------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users

Reply via email to