Hi Lisa
The ID of the server <http://maven.apache.org/settings.html#Servers> in
your settings.xml file should comply to the ID of a distribution
management <http://maven.apache.org/pom.html#Distribution_Management>
repository in your projects pom.xml file or a profile
<http://maven.apache.org/settings.html#Repositories> (in your example)
repository in your settings.xml file.
Which one of those depends on the type of usage that is required.
In a case where your repository manager does not permit anonymous
*downloads*, then there should be a server for each profile repository.
In case of deployment, then there should be a server your target
distribution management repository.
Have fun and HTH,
Noam
lwightman wrote:
I seem to be missing something, but I'm not sure what... In my settings.xml,
I need to define
<server>
<id>???</id>
<username>admin</username>
<password>\{DESede\}dIHJfpftddCdbyyaeoaXJw==</password>
</server>
What do I need to put in for id? The machine name? Or is it the id from the
profile that points toward my repo in artifactory? Or the repository id?
<profile>
<repositories>
<repository>
<id>corp-repository</id>
<url>http://localhost:8081/artifactory/FirstDataRepo</url>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>central</id>
<url>http://localhost:8081/artifactory/FirstDataRepo</url>
</pluginRepository>
</pluginRepositories>
<id>env-corp</id>
</profile>
I've been trolling through the docs and mailing list and I still can't get
this working.
thanks,
lisa
------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users