you can not activate profiles based on properties defined in a project
thus this profile was as much use as a chocolate fire guard and has been
terminated with extreme prejudice
<java.level>8</java.level>
</properties>
</profile>
- <profile>
- <id>deprecated-java.level-7</id>
- <activation>
- <property>
- <name>java.level</name>
- <value>7</value>
- </property>
- </activation>
- <build>
- <plugins>
- <plugin>
- <artifactId>maven-antrun-plugin</artifactId>
- <executions>
- <execution>
- <id>warn-deprecated-java.level</id>
- <phase>initialize</phase>
- <configuration>
- <target>
- <echo>WARNING: Plugin POM defines java.level=${java.level} which is deprecated in the current Plugin POM version. See https://github.com/jenkinsci/plugin-pom/blob/master/README.md#java-support</echo>
- </target>
- </configuration>
- <goals>
- <goal>run</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </profile>
<profile>
<id>jenkins-release</id>
<properties>
