From 4fafd3d8be57ec228d53deb9c08e752222d56d4d Mon Sep 17 00:00:00 2001
From: "bhill6@wisc.edu" <bhill6@wisc.edu>
Date: Fri, 22 Jul 2022 10:05:59 -0500
Subject: [PATCH] correcting repository ID so that it uses the correct
 authentication, adding...

---
 .m2/settings.xml |  5 +++++
 README.md        | 16 ++++++++--------
 pom.xml          |  2 +-
 3 files changed, 14 insertions(+), 9 deletions(-)

diff --git a/.m2/settings.xml b/.m2/settings.xml
index a4f939d..ab8eb65 100644
--- a/.m2/settings.xml
+++ b/.m2/settings.xml
@@ -11,5 +11,10 @@
 				</httpHeaders>
 			</configuration>
 		</server>
+		<server>
+			<id>uw-open-releases</id>
+			<username>${env.ARTIFACTORY_USER}</username>
+			<password>${env.ARTIFACTORY_PASSWORD}</password>
+		</server>
 	</servers>
 </settings>
diff --git a/README.md b/README.md
index 418c7bb..c63f28f 100644
--- a/README.md
+++ b/README.md
@@ -13,7 +13,7 @@ One of the biggest benefits of this project is that the core data model is re-us
 
 [Detailed usage documentation can be found at the project wiki.](https://git.doit.wisc.edu/adi-ia/uw-spring-security/wikis/home).
 
-This project was also recently the focus of an [Application Design Review Brown Bag](https://wiki.doit.wisc.edu/confluence/display/SOACOE/2016-03-04+Agenda).
+This project was also the focus of an [Application Design Review Brown Bag](https://wiki.doit.wisc.edu/confluence/display/SOACOE/2016-03-04+Agenda).
 
 ### Why this?
 
@@ -68,13 +68,13 @@ and get back an instance of [UWUserDetails](uw-spring-security-core/src/main/jav
 
 ### Adding the dependencies to your project
 
-The following instructions assuming that you have access to the UW Releases repository in our [Maven Repository Manager](https://wiki.doit.wisc.edu/confluence/display/ST/Maven+Repository+Manager).
+The following instructions assuming that you have access to the ADI-IA group repositories in Gitlab.
 
 ```xml
   <repositories>
     <repository>
-      <id>code.doit-uw-releases</id>
-      <url>https://code.doit.wisc.edu/maven/content/repositories/uw-releases/</url>
+      <id>adi-ia-libraries</id>
+      <url>https://git.doit.wisc.edu/api/v4/groups/15/-/packages/maven</url>
     </repository>
   </repositories>
 ```
@@ -98,15 +98,15 @@ The uw-spring-security-sample-war is an example of how to activate the Spring `@
 
 ### Release Management
 
-This project follows [Semantic Versioning](http://semver.org). Releases are published to the 'UW Releases' Repository in the [Shared Tools Maven Artifact Repository](https://wiki.doit.wisc.edu/confluence/display/ST/Maven+Repository+Manager)
+This project follows [Semantic Versioning](http://semver.org). Releases are published to the Gitlab Maven repository associated with the project.
 
-Add the following repository to your Maven/Gradle build file:
+Add the following group repository to your Maven/Gradle build file:
 
 ```xml
   <repositories>
     <repository>
-      <id>code.doit-uw-releases</id>
-      <url>https://code.doit.wisc.edu/maven/content/repositories/uw-releases/</url>
+        <id>adi-ia-libraries</id>
+        <url>https://git.doit.wisc.edu/api/v4/groups/15/-/packages/maven</url>
     </repository>
   </repositories>
 ```
\ No newline at end of file
diff --git a/pom.xml b/pom.xml
index 2f0b605..fdfa64d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -16,7 +16,7 @@
 
 	<distributionManagement>
 		<repository>
-			<id>adi-ia</id>
+			<id>adi-ia-libraries</id>
 			<url>https://git.doit.wisc.edu/api/v4/projects/392/packages/maven</url>
 		</repository>
 	</distributionManagement>
-- 
GitLab