Skip to content

Commit a887bc1

Browse files
committed
2 parents d9d80a6 + 1be7a57 commit a887bc1

1 file changed

Lines changed: 12 additions & 3 deletions

File tree

pom.xml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -227,9 +227,6 @@ limitations under the License.
227227
<properties>
228228
<maven.compiler.source>1.7</maven.compiler.source>
229229
<maven.compiler.target>1.7</maven.compiler.target>
230-
<!-- Fix to build on JDK 7: version 4.0.0 requires Java 8. -->
231-
<!-- Can be dropped when CP 49 is released -->
232-
<commons.felix.version>3.5.1</commons.felix.version>
233230
<commons.componentid>codec</commons.componentid>
234231
<commons.module.name>org.apache.commons.codec</commons.module.name>
235232
<commons.jira.id>CODEC</commons.jira.id>
@@ -409,6 +406,18 @@ limitations under the License.
409406
</plugins>
410407
</reporting>
411408
<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>
412421
<profile>
413422
<id>java9+</id>
414423
<activation>

0 commit comments

Comments
 (0)