Error: Maven2RepositoryLayoutFactory: Unsupported repository layout legacy
There are two solutions known to me:
- Update log4j version to 1.2.17 solves the issue.
Stay with log4j version 1.2.15, but add scope runtime to it in this way:
<dependency> <groupId>log4j</groupId> <artifactId>log4j</artifactId> <version>1.2.15</version> <scope>runtime</scope> </dependency>