Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -219,8 +219,7 @@ jobs:

- name: Build with downloaded Maven
shell: bash
# palantir-java-format crashes on JDK 27 (palantir/palantir-java-format#1786); drop the skip once a fixed release is in maven-parent
run: mvn verify -Papache-release -Dgpg.skip=true -e -B -V ${{ matrix.java == '27' && '-Dspotless.skip=true' || '' }}
run: mvn verify -Papache-release -Dgpg.skip=true -e -B -V

- name: Build site with downloaded Maven
shell: bash
Expand Down Expand Up @@ -321,8 +320,7 @@ jobs:

- name: Build Maven and ITs and run them
shell: bash
# palantir-java-format crashes on JDK 27 (palantir/palantir-java-format#1786); drop the skip once a fixed release is in maven-parent
run: mvn install -e -B -V -Prun-its,mimir ${{ matrix.java == '27' && '-Dspotless.skip=true' || '' }}
run: mvn install -e -B -V -Prun-its,mimir

- name: Upload Mimir caches
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
Expand Down
16 changes: 16 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -978,6 +978,22 @@ under the License.
</build>

<profiles>
<profile>
<!-- palantir-java-format crashes on JDK 27 (palantir/palantir-java-format#1786);
drop this profile once maven-parent ships a fixed release.
Activated by property, not <jdk>: the model builder tests build this POM in sessions
without java.version, where a <jdk> activation is an error. -->
<id>jdk27-skip-spotless</id>
<activation>
<property>
Comment thread
slachiewicz marked this conversation as resolved.
<name>java.specification.version</name>
<value>27</value>
</property>
</activation>
<properties>
<spotless.skip>true</spotless.skip>
</properties>
</profile>
<profile>
<id>mockito</id>
<activation>
Expand Down
Loading