Do not enforce container deps on maven 3.0.5
<scope>provided</scope>
</dependency>
</dependencies>
-
+ <profiles>
+ <profile>
+ <id>enforce-container-deps</id>
+ <activation>
+ <activeByDefault>false</activeByDefault>
+ <property>
+ <!-- Dependency resolution is broken for old maven used in our CentOS docker containers -->
+ <name>maven.version</name>
+ <value>!3.0.5</value>
+ </property>
+ </activation>
<build>
<plugins>
<plugin>
<include>org.slf4j:slf4j-api:1.7.5:jar:provided</include>
<include>org.slf4j:slf4j-jdk14:1.7.5:jar:provided</include>
<include>xml-apis:xml-apis:1.4.01:jar:provided</include>
-
- <!-- TODO: Remove the deps below when all environments use maven >= 3.3 -->
- <include>org.scala-lang:scala-library:2.11.4:jar:provided</include>
- <include>commons-lang:commons-lang:2.6:jar:provided</include>
- <include>org.apache.commons:commons-exec:1.3:jar:provided</include>
- <include>org.antlr:antlr-runtime:3.5.2:jar:provided</include>
- <include>log4j:log4j:1.2.16:jar:provided</include>
- <include>commons-collections:commons-collections:3.2.1:jar:provided</include>
</includes>
</bannedDependencies>
</rules>
</plugin>
</plugins>
</build>
+ </profile>
+ </profiles>
+
</project>
