diff options
author | Evgeny Mandrikov <Godin@users.noreply.github.com> | 2017-04-22 12:39:30 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-22 12:39:30 +0200 |
commit | e93053e8a54540f5394fe0938752f7421e2222ad (patch) | |
tree | d2c14bfed5730c09125531404c669b6a7e006375 /org.jacoco.core.test/pom.xml | |
parent | 0e72710a54657200a17ade56501463294860baff (diff) | |
download | platform_external_jacoco-e93053e8a54540f5394fe0938752f7421e2222ad.tar.gz platform_external_jacoco-e93053e8a54540f5394fe0938752f7421e2222ad.tar.bz2 platform_external_jacoco-e93053e8a54540f5394fe0938752f7421e2222ad.zip |
Add filter for try-with-resources statement (#500)
Diffstat (limited to 'org.jacoco.core.test/pom.xml')
-rw-r--r-- | org.jacoco.core.test/pom.xml | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/org.jacoco.core.test/pom.xml b/org.jacoco.core.test/pom.xml index 8ee218a5..31ef2e37 100644 --- a/org.jacoco.core.test/pom.xml +++ b/org.jacoco.core.test/pom.xml @@ -40,6 +40,37 @@ <profiles> <profile> + <id>java7-validation</id> + <activation> + <property> + <name>bytecode.version</name> + <value>1.7</value> + </property> + </activation> + <build> + <plugins> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>build-helper-maven-plugin</artifactId> + <executions> + <execution> + <id>add-source</id> + <phase>generate-sources</phase> + <goals> + <goal>add-source</goal> + </goals> + <configuration> + <sources> + <source>src-java7</source> + </sources> + </configuration> + </execution> + </executions> + </plugin> + </plugins> + </build> + </profile> + <profile> <id>java8-validation</id> <activation> <property> @@ -61,6 +92,7 @@ </goals> <configuration> <sources> + <source>src-java7</source> <source>src-java8</source> </sources> </configuration> @@ -96,6 +128,7 @@ </goals> <configuration> <sources> + <source>src-java7</source> <source>src-java8</source> </sources> </configuration> |