How to not make reproducible builds: Add this to your Java project's
pom.xml:
<profile>
<id>jdk11+</id>
<activation>
<jdk>[11,)</jdk>
</activation>
<dependencies>
<dependency>
<groupId>com.sun.activation</groupId>
<artifactId>jakarta.activation</artifactId>
</dependency>
</dependencies>
</profile>
This gem from jersey-common makes sure the dependency graph is
different depending on which version of javac is first in classpath
:face_palm: Creating the land of confusion that we all know and love:
- why doesn't this build on my computer, it built yesterday!
- why does this build on Jenkins node
build1but not onbuild6?
And so on. Good grief.