Last active
August 8, 2018 07:08
-
-
Save dortegau/eb6b3a46747b5023b7c9 to your computer and use it in GitHub Desktop.
maven and spring boot sucks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- IT WORKS --> | |
<dependencyManagement> | |
<dependencies> | |
<dependency> | |
<groupId>org.springframework.data</groupId> | |
<artifactId>spring-data-releasetrain</artifactId> | |
<version>${spring-data.version}</version> | |
<type>pom</type> | |
<scope>import</scope> | |
</dependency> | |
<dependency> | |
<groupId>org.springframework.boot</groupId> | |
<artifactId>spring-boot-dependencies</artifactId> | |
<version>${spring.boot.version}</version> | |
<type>pom</type> | |
<scope>import</scope> | |
<exclusions> | |
<exclusion> | |
<artifactId>slf4j-log4j12</artifactId> | |
<groupId>org.slf4j</groupId> | |
</exclusion> | |
</exclusions> | |
</dependency> | |
</dependencies> | |
</dependencyManagement> | |
<!-- IT DOESN'T WORK --> | |
<dependencyManagement> | |
<dependencies> | |
<dependency> | |
<groupId>org.springframework.boot</groupId> | |
<artifactId>spring-boot-dependencies</artifactId> | |
<version>${spring.boot.version}</version> | |
<type>pom</type> | |
<scope>import</scope> | |
<exclusions> | |
<exclusion> | |
<artifactId>slf4j-log4j12</artifactId> | |
<groupId>org.slf4j</groupId> | |
</exclusion> | |
</exclusions> | |
</dependency> | |
<dependency> | |
<groupId>org.springframework.data</groupId> | |
<artifactId>spring-data-releasetrain</artifactId> | |
<version>${spring-data.version}</version> | |
<type>pom</type> | |
<scope>import</scope> | |
</dependency> | |
</dependencies> | |
</dependencyManagement> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
true