Branch: refs/heads/master
  Home:   https://github.com/jenkinsci/maven-hpi-plugin
  Commit: d2dd160851e4dc5ca26f2af71c42b9db65af3cdd
      
https://github.com/jenkinsci/maven-hpi-plugin/commit/d2dd160851e4dc5ca26f2af71c42b9db65af3cdd
  Author: Vincent Latombe <[email protected]>
  Date:   2024-02-08 (Thu, 08 Feb 2024)

  Changed paths:
    A src/it/ensure-java-level-marker-11-migration/invoker.properties
    A src/it/ensure-java-level-marker-11-migration/pom.xml
    A src/it/ensure-java-level-marker-11-migration/verify.groovy
    A src/it/ensure-java-level-marker-11/invoker.properties
    A src/it/ensure-java-level-marker-11/pom.xml
    A src/it/ensure-java-level-marker-11/verify.groovy
    M src/main/java/org/jenkinsci/maven/plugins/hpi/ValidateMojo.java

  Log Message:
  -----------
  Generates automatically a marker file for a maven profile depending on java 
level to use

The current logic of setting `maven.compiler.release` dynamically works fine 
for the Maven CLI. However IDE support (at least IntelliJ) doesn't work well 
with this and happily ignores what the plugin set dynamically.

Instead, it picks up the default value set through the plugin pom that defaults 
to the minimum java version supported (currently 
[11](https://github.com/jenkinsci/plugin-pom/blob/6949f8af159d30e2722fcf773b397bc870e47359/pom.xml#L61)),
 instead of the version inferred from Java bytecode version obtained from 
Jenkins core.

Generating markerfiles allow to enable maven profiles that will set the java 
release to the correct version when loaded in IDE.


  Commit: a084df09866e184cee638c1017b839ead1f06524
      
https://github.com/jenkinsci/maven-hpi-plugin/commit/a084df09866e184cee638c1017b839ead1f06524
  Author: Vincent Latombe <[email protected]>
  Date:   2024-02-08 (Thu, 08 Feb 2024)

  Changed paths:
    A src/main/java/org/jenkinsci/maven/plugins/hpi/InitializeMojo.java
    M 
src/main/java/org/jenkinsci/maven/plugins/hpi/extensions/HpiLifecycleMappingProvider.java

  Log Message:
  -----------
  Reinstate `InitializeMojo`

This reverts commit 13db53e3521e91047a5f2c02156ce5202f66e465.


  Commit: d45cb7825d6b3c15b207f87e63d84c3fde189b12
      
https://github.com/jenkinsci/maven-hpi-plugin/commit/d45cb7825d6b3c15b207f87e63d84c3fde189b12
  Author: Vincent Latombe <[email protected]>
  Date:   2024-02-08 (Thu, 08 Feb 2024)

  Changed paths:
    A src/it/ensure-java-level-marker-11-migration/target/java-level/8

  Log Message:
  -----------
  Force commit a file to target in the test case


Compare: 
https://github.com/jenkinsci/maven-hpi-plugin/compare/2a88ac75e7b1...d45cb7825d6b

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Commits" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-commits/jenkinsci/maven-hpi-plugin/push/refs/heads/master/2a88ac-d45cb7%40github.com.

Reply via email to