Three Pillars of Reproducible Builds
fossa.com
Three Pillars of Reproducible Builds
1–10 of 15 posts
Re: Three Pillars of Reproducible Builds
#2It’s possible to try to store dependencies locally instead of shared in a global m2 repository, but it’s difficult to stop maven from adding the current time in jars or wars…
It’s as if all the default settings are the opposite of what they should be for reproducible builds.
Any idea if there is a project to try to improve things with maven or with another JVM tool? (Grade, sbt, etc.)
Re: Three Pillars of Reproducible Builds
#3On the JVM, maven doesn’t make this particularly easy. It’s possible to try to store dependencies locally instead of shared in a global m2 repository, but it’s difficult to stop maven from adding the current time in jars or wars… It’s as if all the default settings are the opposite of what they should be for reproducible builds. Any idea if there is a project to try to improve things with maven or with another JVM to…
Re: Three Pillars of Reproducible Builds
#4On the JVM, maven doesn’t make this particularly easy. It’s possible to try to store dependencies locally instead of shared in a global m2 repository, but it’s difficult to stop maven from adding the current time in jars or wars… It’s as if all the default settings are the opposite of what they should be for reproducible builds. Any idea if there is a project to try to improve things with maven or with another JVM to…
If you have an option to containerize the app, Jib may be what you are looking for. Plugs into Maven, and the same source/content always generates the same image - https://github.com/GoogleContainerTools/jib
Re: Three Pillars of Reproducible Builds
#5On the JVM, maven doesn’t make this particularly easy. It’s possible to try to store dependencies locally instead of shared in a global m2 repository, but it’s difficult to stop maven from adding the current time in jars or wars… It’s as if all the default settings are the opposite of what they should be for reproducible builds. Any idea if there is a project to try to improve things with maven or with another JVM to…
Re: Three Pillars of Reproducible Builds
#6Re: Three Pillars of Reproducible Builds
#7Re: Three Pillars of Reproducible Builds
#8On the JVM, maven doesn’t make this particularly easy. It’s possible to try to store dependencies locally instead of shared in a global m2 repository, but it’s difficult to stop maven from adding the current time in jars or wars… It’s as if all the default settings are the opposite of what they should be for reproducible builds. Any idea if there is a project to try to improve things with maven or with another JVM to…
Haven't tried this myself as I don't particularly like maven. It should be possible though
Re: Three Pillars of Reproducible Builds
#9Since the order and value of dynamically allocated pointers is non-deterministic, this resulted in diverging behaviour at some point.
Better be sure that all your tools used during the build don't do this kind of thing as well.