Skip to content

Commit 7a64087

Browse files
author
Vivek Sachdeva
committed
Grouper docker container - Fix conflicting jar issue
1 parent 9d10074 commit 7a64087

File tree

4 files changed

+18
-10
lines changed

4 files changed

+18
-10
lines changed

grouper-misc/grouper-azure/pom.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030
<dependency>
3131
<groupId>com.squareup.okhttp3</groupId>
3232
<artifactId>logging-interceptor</artifactId>
33-
<version>3.14.7</version>
3433
</dependency>
3534
<dependency>
3635
<groupId>org.apache.commons</groupId>

grouper-misc/grouper-duo/pom.xml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,12 @@
4545
<groupId>com.duosecurity</groupId>
4646
<artifactId>duo-client</artifactId>
4747
<version>0.2.1</version>
48+
<exclusions>
49+
<exclusion>
50+
<groupId>com.squareup.okhttp</groupId>
51+
<artifactId>okhttp</artifactId>
52+
</exclusion>
53+
</exclusions>
4854
</dependency>
4955
<dependency>
5056
<groupId>commons-lang</groupId>
@@ -59,6 +65,10 @@
5965
<artifactId>json-lib</artifactId>
6066
<classifier>jdk15</classifier>
6167
</dependency>
68+
<dependency>
69+
<groupId>com.squareup.okhttp3</groupId>
70+
<artifactId>logging-interceptor</artifactId>
71+
</dependency>
6272
<dependency>
6373
<groupId>${project.groupId}</groupId>
6474
<artifactId>grouper</artifactId>

grouper-misc/grouper-installer/src/java/edu/internet2/middleware/grouperInstaller/GrouperInstaller.java

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13118,8 +13118,8 @@ private void downloadGrouperJarsIntoLibDirectory(File webInfDir) {
1311813118
List<String> urlsToDownload = new ArrayList<String>();
1311913119
urlsToDownload.add(basePath+"grouper-messaging-aws/"+this.version+"/grouper-messaging-aws-"+this.version+".jar");
1312013120
urlsToDownload.add(basePath+"grouper-messaging-rabbitmq/"+this.version+"/grouper-messaging-rabbitmq-"+this.version+".jar");
13121-
urlsToDownload.add(basePath+"grouper-activemq/"+this.version+"/grouper-activemq-"+this.version+".jar");
13122-
13121+
urlsToDownload.add(basePath+"grouper-messaging-activemq/"+this.version+"/grouper-messaging-activemq-"+this.version+".jar");
13122+
urlsToDownload.add(basePath+"grouper-ui/"+this.version+"/grouper-ui-"+this.version+".jar");
1312313123
urlsToDownload.add(basePath+"grouper-pspng/"+this.version+"/grouper-pspng-"+this.version+".jar");
1312413124
urlsToDownload.add(basePath+"grouper-box/"+this.version+"/grouper-box-"+this.version+".jar");
1312513125
urlsToDownload.add(basePath+"grouper-duo/"+this.version+"/grouper-duo-"+this.version+".jar");
@@ -13137,13 +13137,6 @@ private void downloadGrouperJarsIntoLibDirectory(File webInfDir) {
1313713137
downloadFile(wsUrlToDownload, libWsDir.getAbsolutePath() + File.separator+ wsJarfileName, "grouperInstaller.autorun.buildContainerUseExistingJarIfExists");
1313813138
}
1313913139

13140-
{
13141-
File libUiAndDaemonDir = new File(webInfDir+File.separator+"libUiAndDaemon");
13142-
String uiUrlToDownload = basePath+"grouper-ui/"+this.version+"/grouper-ui-"+this.version+".jar";
13143-
String uiJarfileName = uiUrlToDownload.substring(uiUrlToDownload.lastIndexOf(File.separator)+1, uiUrlToDownload.length());
13144-
downloadFile(uiUrlToDownload, libUiAndDaemonDir.getAbsolutePath() + File.separator+ uiJarfileName, "grouperInstaller.autorun.buildContainerUseExistingJarIfExists");
13145-
}
13146-
1314713140
{
1314813141
File libScimDir = new File(webInfDir+File.separator+"libScim");
1314913142
String scimUrlToDownload = basePath+"grouper-ws-scim/"+this.version+"/grouper-ws-scim-"+this.version+".jar";

grouper-parent/pom.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,7 @@
185185
<taglibs.standard.version>1.1.2</taglibs.standard.version>
186186
<jsp.version>2.3.2-b02</jsp.version>
187187
<xercesimpl.version>2.11.0</xercesimpl.version>
188+
<okhttp.version>3.14.7</okhttp.version>
188189
</properties>
189190

190191
<repositories>
@@ -679,6 +680,11 @@
679680
<artifactId>xml-apis</artifactId>
680681
<version>${xml.apis.version}</version>
681682
</dependency>
683+
<dependency>
684+
<groupId>com.squareup.okhttp3</groupId>
685+
<artifactId>logging-interceptor</artifactId>
686+
<version>${okhttp.version}</version>
687+
</dependency>
682688

683689

684690
<!-- Provided Dependencies -->

0 commit comments

Comments
 (0)