Skip to content

Commit

Permalink
chore: Disable depclean (#5725)
Browse files Browse the repository at this point in the history
It is broken for java 21 classfiles since quite a while.
See ASSERT-KTH/depclean#272
  • Loading branch information
I-Al-Istannen authored Apr 3, 2024
1 parent ddfb82c commit 1cb0b5f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
8 changes: 4 additions & 4 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -122,15 +122,15 @@
# Check documentation links
python3 ./chore/check-links-in-doc.py
# Analyze dependencies through DepClean in spoon-core
mvn -q depclean:depclean
# mvn -q depclean:depclean
pushd spoon-decompiler || exit 1
mvn -q versions:use-latest-versions -DallowSnapshots=true -Dincludes=fr.inria.gforge.spoon
mvn -q versions:update-parent -DallowSnapshots=true
git diff
mvn -q test
mvn -q checkstyle:checkstyle license:check
mvn -q depclean:depclean
# mvn -q depclean:depclean
popd || exit 1
pushd spoon-control-flow || exit 1
Expand All @@ -146,7 +146,7 @@
mvn -q versions:update-parent -DallowSnapshots=true
git diff
mvn -q test
mvn -q depclean:depclean
# mvn -q depclean:depclean
popd || exit 1
pushd spoon-smpl || exit 1
Expand All @@ -155,7 +155,7 @@
git diff
mvn -q -Djava.src.version=17 test
mvn -q checkstyle:checkstyle license:check
mvn -q depclean:depclean
# mvn -q depclean:depclean
popd || exit 1
'');
extraRemote = pkgs.writeScriptBin "extra-remote" ''
Expand Down
1 change: 1 addition & 0 deletions spoon-pom/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,7 @@
<configuration>
<!-- the build should fail if there are unused direct dependencies -->
<failIfUnusedDirect>true</failIfUnusedDirect>
<skipDepClean>true</skipDepClean>
</configuration>
</execution>
</executions>
Expand Down

0 comments on commit 1cb0b5f

Please sign in to comment.