Skip to content

Commit 1be7a57

Browse files
committed
Download animal-sniffer for use with Java 7
1 parent f2fc462 commit 1be7a57

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

pom.xml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -406,6 +406,18 @@ limitations under the License.
406406
</plugins>
407407
</reporting>
408408
<profiles>
409+
<!-- profile to allow the use of plugin versions that require Java 7 -->
410+
<!-- TODO remove when CP updated to version 51 -->
411+
<profile>
412+
<id>jdk7-plugin-fix-version</id>
413+
<activation>
414+
<jdk>[1.7,1.8)</jdk>
415+
</activation>
416+
<properties>
417+
<!-- Fix to build on JDK 7: version 1.18 requires Java 8. -->
418+
<commons.animal-sniffer.version>1.17</commons.animal-sniffer.version>
419+
</properties>
420+
</profile>
409421
<profile>
410422
<id>java9+</id>
411423
<activation>

0 commit comments

Comments
 (0)