Skip to content

Commit 747c6f9

Browse files
author
Luis Miranda
committed
added <dependencyManagement> to top-level pom.xml
1 parent 40d1276 commit 747c6f9

2 files changed

Lines changed: 26 additions & 7 deletions

File tree

core/pom.xml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,26 +15,22 @@
1515
<dependency>
1616
<groupId>junit</groupId>
1717
<artifactId>junit</artifactId>
18-
<version>${junitVersion}</version>
1918
<scope>test</scope>
2019
</dependency>
2120
<dependency>
2221
<groupId>org.mockito</groupId>
2322
<artifactId>mockito-core</artifactId>
24-
<version>1.10.19</version>
2523
<scope>test</scope>
2624
</dependency>
2725

2826
<!-- for log -->
2927
<dependency>
3028
<groupId>org.slf4j</groupId>
3129
<artifactId>slf4j-api</artifactId>
32-
<version>${slf4jVersion}</version>
3330
</dependency>
3431
<dependency>
3532
<groupId>ch.qos.logback</groupId>
3633
<artifactId>logback-classic</artifactId>
37-
<version>${logbackVersion}</version>
3834
<scope>test</scope>
3935
</dependency>
4036

pom.xml

Lines changed: 26 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,8 @@
1111
<url>https://github.com/onelogin/java-saml</url>
1212

1313
<properties>
14-
<slf4jVersion>1.7.12</slf4jVersion>
15-
<junitVersion>4.12</junitVersion>
16-
1714
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
15+
<slf4jVersion>1.7.12</slf4jVersion>
1816
<junitVersion>4.12</junitVersion>
1917
<logbackVersion>1.1.3</logbackVersion>
2018
<apacheCommonsLangVersion>3.4</apacheCommonsLangVersion>
@@ -25,6 +23,31 @@
2523
<module>samples</module>
2624
</modules>
2725

26+
<dependencyManagement>
27+
<dependencies>
28+
<dependency>
29+
<groupId>junit</groupId>
30+
<artifactId>junit</artifactId>
31+
<version>${junitVersion}</version>
32+
</dependency>
33+
<dependency>
34+
<groupId>org.mockito</groupId>
35+
<artifactId>mockito-core</artifactId>
36+
<version>1.10.19</version>
37+
</dependency>
38+
<dependency>
39+
<groupId>org.slf4j</groupId>
40+
<artifactId>slf4j-api</artifactId>
41+
<version>${slf4jVersion}</version>
42+
</dependency>
43+
<dependency>
44+
<groupId>ch.qos.logback</groupId>
45+
<artifactId>logback-classic</artifactId>
46+
<version>${logbackVersion}</version>
47+
</dependency>
48+
</dependencies>
49+
</dependencyManagement>
50+
2851
<build>
2952
<plugins>
3053
<plugin>

0 commit comments

Comments
 (0)