Skip to content

Commit

Permalink
Remove java.level property from examples
Browse files Browse the repository at this point in the history
The `java.level` property is deprecated and will be removed from a
future plugin parent pom.

See jenkinsci/plugin-pom#522 for the plugin pom
deprecation of `java.level`.

See the following additional references:

* jenkinsci/plugin-pom#478 (comment)
* jenkinsci/plugin-pom#478 (comment)
* jenkinsci/plugin-pom#522 (comment)

Also uses newer Jenkins version in the example.  Would have liked to use
the automatic replacement as is done in the "Choosing a Jenkins version"
baseline page, but that was a larger change than I'm ready to make in
this pull request.
  • Loading branch information
MarkEWaite committed Sep 6, 2022
1 parent db735ce commit 22e5eb5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions content/doc/developer/persistence/incompatible-releases.adoc
Expand Up @@ -18,8 +18,7 @@ it is possible to set the `hpi.compatibleSinceVersion` property to define the ol
[source,xml]
----
<properties>
<jenkins.version>2.60.3</jenkins.version>
<java.level>8</java.level>
<jenkins.version>2.289.3</jenkins.version>
<hpi.compatibleSinceVersion>1.0</hpi.compatibleSinceVersion>
</properties>
----
Expand Down
Expand Up @@ -16,8 +16,7 @@ Starting from Plugin POM 3.33, it is possible to set a `hpi.compatibleSinceVersi
[source,xml]
----
<properties>
<jenkins.version>2.60.3</jenkins.version>
<java.level>8</java.level>
<jenkins.version>2.289.3</jenkins.version>
<hpi.compatibleSinceVersion>1.0</hpi.compatibleSinceVersion>
</properties>
----
Expand Down

0 comments on commit 22e5eb5

Please sign in to comment.