Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Alles einsteigen! Einen eigenen Release Train mit Maven umsetzen

Alles einsteigen! Einen eigenen Release Train mit Maven umsetzen

Roland Weisleder

May 03, 2022
Tweet

More Decks by Roland Weisleder

Other Decks in Programming

Transcript

  1. Alles einsteigen!
    Einen eigenen Release Train mit
    Maven umsetzen
    Roland Weisleder, Freiberufler
    @Ro_Wei #jaxcon

    View full-size slide

  2. Java 6: November 2006

    View full-size slide

  3. Java 6: November 2006
    Java 7: Juli 2011

    View full-size slide

  4. Java 6: November 2006
    Java 7: Juli 2011
    Java 8: März 2014

    View full-size slide

  5. Java 6: November 2006
    Java 7: Juli 2011
    Java 8: März 2014
    Java 9: September 2017

    View full-size slide

  6. “The next train will
    leave on schedule.”
    Mark Reinhold
    Moving Java Forward Faster
    https://mreinhold.org/blog/forward-faster

    View full-size slide

  7. “Spring Data is an umbrella project
    consisting of independent projects
    with, in principle, different release
    cadences. To manage the portfolio, a
    BOM (Bill of Materials) is published with
    a curated set of dependencies on the
    individual project.”

    View full-size slide

  8. Dependency convergence error for
    org.slf4j:slf4j-api:jar:1.6.0:compile
    paths to dependency are:
    +-de.rweisleder:maven-release-train-talk-examples:jar:1.0-SNAPSHOT
    +-org.slf4j:slf4j-jdk14:jar:1.6.0:compile
    +-org.slf4j:slf4j-api:jar:1.6.0:compile
    and
    +-de.rweisleder:maven-release-train-talk-examples:jar:1.0-SNAPSHOT
    +-org.slf4j:slf4j-nop:jar:1.6.1:compile
    +-org.slf4j:slf4j-api:jar:1.6.1:compile

    View full-size slide

  9. Dependency convergence error for
    org.springframework:spring-context:jar:5.3.19:compile
    paths to dependency are:
    +-de.rweisleder:maven-release-train-talk-examples:jar:1.0-SNAPSHOT
    +-org.springframework.boot:spring-boot-starter-web:jar:2.6.7:compile
    +-org.springframework.boot:spring-boot-starter:jar:2.6.7:compile
    +-org.springframework.boot:spring-boot:jar:2.6.7:compile
    +-org.springframework:spring-context:jar:5.3.19:compile
    and
    +-de.rweisleder:maven-release-train-talk-examples:jar:1.0-SNAPSHOT
    +-org.springframework:spring-context:jar:4.3.18.RELEASE:compile

    View full-size slide

  10. Dependency convergence error for
    org.acme:io-utils:22.4:compile
    paths to dependency are:
    +-de.rweisleder:maven-release-train-talk-examples:jar:1.0-SNAPSHOT
    +-org.acme:excel-export:jar:3.17.2:compile
    +-org.acme:io-utils:22.4:compile
    and
    +-de.rweisleder:maven-release-train-talk-examples:jar:1.0-SNAPSHOT
    +-org.acme:sap-connector:jar:1.0.1:compile
    +-org.acme:io-utils:22.1:compile

    View full-size slide

  11. “The Maven Release Plugin is
    used to release a project with
    Maven, saving a lot of repetitive,
    manual work.”

    View full-size slide

  12. Customise the
    Maven Release Process
    https://maarten.mulders.it/2020/01/customise-
    the-maven-release-process/

    View full-size slide

  13. Alles einsteigen!
    Einen eigenen Release Train mit
    Maven umsetzen
    Roland Weisleder, Freiberufler
    @Ro_Wei #jaxcon
    [email protected]

    View full-size slide