Skip to content

Commit 4195b45

Browse files
IAM-6438 Added dependency convergence scan
Signed-off-by: ashikuma <ashish.kumar@here.com>
1 parent 0f71874 commit 4195b45

1 file changed

Lines changed: 120 additions & 43 deletions

File tree

pom.xml

Lines changed: 120 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,12 @@
7070
<mockito.version>1.10.19</mockito.version>
7171
<org.asynchttpclient.version>2.12.4</org.asynchttpclient.version>
7272
<browsermob.version>2.1.5</browsermob.version>
73+
<io.netty.version>4.1.60.Final</io.netty.version>
74+
<org.slf4j.version>1.7.30</org.slf4j.version>
75+
<com.google.guava.version>33.4.8-android</com.google.guava.version>
76+
<commons.logging.version>1.3.5</commons.logging.version>
77+
<com.fasterxml.jackson.core.version>2.19.1</com.fasterxml.jackson.core.version>
78+
<org.apache.commons.version>3.17.0</org.apache.commons.version>
7379

7480
<!-- configure surefire and maven to be individually skippable -->
7581
<!-- set to skip all tests -->
@@ -86,21 +92,6 @@
8692

8793
</properties>
8894

89-
90-
<distributionManagement>
91-
92-
<repository>
93-
<id>aaa-releases</id>
94-
<url>${releaseServer}</url>
95-
</repository>
96-
97-
<snapshotRepository>
98-
<id>aaa-snapshots</id>
99-
<url>${snapshotServer}</url>
100-
</snapshotRepository>
101-
102-
</distributionManagement>
103-
10495
<dependencyManagement>
10596
<dependencies>
10697
<dependency>
@@ -122,6 +113,40 @@
122113
<groupId>net.lightbody.bmp</groupId>
123114
<artifactId>browsermob-core</artifactId>
124115
<version>${browsermob.version}</version>
116+
<exclusions>
117+
<exclusion>
118+
<groupId>io.netty</groupId>
119+
<artifactId>netty-all</artifactId>
120+
</exclusion>
121+
<exclusion>
122+
<groupId>org.slf4j</groupId>
123+
<artifactId>slf4j-api</artifactId>
124+
</exclusion>
125+
<exclusion>
126+
<groupId>org.slf4j</groupId>
127+
<artifactId>jcl-over-slf4j</artifactId>
128+
</exclusion>
129+
<exclusion>
130+
<groupId>com.google.guava</groupId>
131+
<artifactId>guava</artifactId>
132+
</exclusion>
133+
<exclusion>
134+
<groupId>commons-logging</groupId>
135+
<artifactId>commons-logging</artifactId>
136+
</exclusion>
137+
<exclusion>
138+
<groupId>org.apache.commons</groupId>
139+
<artifactId>commons-lang3</artifactId>
140+
</exclusion>
141+
<exclusion>
142+
<groupId>com.fasterxml.jackson.core</groupId>
143+
<artifactId>jackson-annotations</artifactId>
144+
</exclusion>
145+
<exclusion>
146+
<groupId>com.fasterxml.jackson.core</groupId>
147+
<artifactId>jackson-core</artifactId>
148+
</exclusion>
149+
</exclusions>
125150
</dependency>
126151

127152
<!-- test dependencies -->
@@ -143,6 +168,51 @@
143168
<version>${org.asynchttpclient.version}</version>
144169
<scope>test</scope>
145170
</dependency>
171+
<dependency>
172+
<groupId>io.netty</groupId>
173+
<artifactId>netty-all</artifactId>
174+
<version>${io.netty.version}</version>
175+
</dependency>
176+
<dependency>
177+
<groupId>io.netty</groupId>
178+
<artifactId>netty-handler</artifactId>
179+
<version>${io.netty.version}</version>
180+
</dependency>
181+
<dependency>
182+
<groupId>org.slf4j</groupId>
183+
<artifactId>slf4j-api</artifactId>
184+
<version>${org.slf4j.version}</version>
185+
</dependency>
186+
<dependency>
187+
<groupId>org.slf4j</groupId>
188+
<artifactId>jcl-over-slf4j</artifactId>
189+
<version>${org.slf4j.version}</version>
190+
</dependency>
191+
<dependency>
192+
<groupId>com.google.guava</groupId>
193+
<artifactId>guava</artifactId>
194+
<version>${com.google.guava.version}</version>
195+
</dependency>
196+
<dependency>
197+
<groupId>commons-logging</groupId>
198+
<artifactId>commons-logging</artifactId>
199+
<version>${commons.logging.version}</version>
200+
</dependency>
201+
<dependency>
202+
<groupId>org.apache.commons</groupId>
203+
<artifactId>commons-lang3</artifactId>
204+
<version>${org.apache.commons.version}</version>
205+
</dependency>
206+
<dependency>
207+
<groupId>com.fasterxml.jackson.core</groupId>
208+
<artifactId>jackson-annotations</artifactId>
209+
<version>${com.fasterxml.jackson.core.version}</version>
210+
</dependency>
211+
<dependency>
212+
<groupId>com.fasterxml.jackson.core</groupId>
213+
<artifactId>jackson-core</artifactId>
214+
<version>${com.fasterxml.jackson.core.version}</version>
215+
</dependency>
146216
</dependencies>
147217
</dependencyManagement>
148218

@@ -151,6 +221,15 @@
151221

152222
<pluginManagement>
153223
<plugins>
224+
<plugin>
225+
<groupId>org.sonatype.central</groupId>
226+
<artifactId>central-publishing-maven-plugin</artifactId>
227+
<version>0.8.0</version>
228+
<extensions>true</extensions>
229+
<configuration>
230+
<publishingServerId>central</publishingServerId>
231+
</configuration>
232+
</plugin>
154233
<plugin>
155234
<groupId>org.apache.maven.plugins</groupId>
156235
<artifactId>maven-assembly-plugin</artifactId>
@@ -209,6 +288,32 @@
209288
</execution>
210289
</executions>
211290
</plugin>
291+
<plugin>
292+
<groupId>org.apache.maven.plugins</groupId>
293+
<artifactId>maven-enforcer-plugin</artifactId>
294+
<version>3.4.1</version>
295+
<configuration>
296+
<rules>
297+
<dependencyConvergence />
298+
</rules>
299+
<fail>true</fail>
300+
</configuration>
301+
<executions>
302+
<execution>
303+
<id>enforce-rules</id>
304+
<goals>
305+
<goal>enforce</goal>
306+
</goals>
307+
<phase>validate</phase>
308+
<configuration>
309+
<rules>
310+
<dependencyConvergence />
311+
</rules>
312+
<fail>true</fail>
313+
</configuration>
314+
</execution>
315+
</executions>
316+
</plugin>
212317
<plugin>
213318
<groupId>org.apache.maven.plugins</groupId>
214319
<artifactId>maven-resources-plugin</artifactId>
@@ -336,32 +441,4 @@
336441
</plugins>
337442
</pluginManagement>
338443
</build>
339-
<profiles>
340-
<profile>
341-
<id>gpg-sign-artifacts</id>
342-
<activation>
343-
<property>
344-
<name>gpg.passphrase</name>
345-
</property>
346-
</activation>
347-
<build>
348-
<plugins>
349-
<plugin>
350-
<groupId>org.apache.maven.plugins</groupId>
351-
<artifactId>maven-gpg-plugin</artifactId>
352-
<version>${maven-gpg-plugin.version}</version>
353-
<executions>
354-
<execution>
355-
<id>sign-artifacts</id>
356-
<phase>verify</phase>
357-
<goals>
358-
<goal>sign</goal>
359-
</goals>
360-
</execution>
361-
</executions>
362-
</plugin>
363-
</plugins>
364-
</build>
365-
</profile>
366-
</profiles>
367444
</project>

0 commit comments

Comments
 (0)