Do you maybe use MAVEN_CONFIG? See https://issues.apache.org/jira/browse/MWRAPPER-133
Thanks T On Thu, Apr 25, 2024 at 12:10 PM Sven Nguyen Van <s.ngu...@optadata-gruppe.de.invalid> wrote: > Hi, > > sadly, this update made several Jenkins-Pipelines fail here. > > RenovateBot tried to update the maven-wrapper in several of our projects, > and during this update maven wrapper apparently switches to the new > "only-script" default. > > Somehow this results in getting a > > Failed to execute goal > org.apache.maven.plugins:maven-deploy-plugin:3.1.1:deploy (default-deploy) > on project [..]: Failed to deploy artifacts: Could not transfer artifact > [..](https://[..]): status code: 401, reason phrase: Unauthorized (401) > -> [Help 1] > > Manually switching back to `-Dtype=bin` installs a different `mvnw` > script, with which our `mvnw deploy` succeeds again. Of course, it would be > better if the "only-script" mode would not disrupt maven-deploy, though i > have no idea how this happens. > > Not just because of this, but also because of authentication and firewall > hassles during dynamic downloads, it would be nice if i could configure > (maybe in the maven-wrapper.properties) that it should keep using the > bin-style. > > > -- Sven Nguyen Van > > opta data Finance GmbH > Berthold-Beitz-Boulevard 461, 45141 Essen, Tel.: +49 201 3196-0 > serv...@optadata-gruppe.de<mailto:serv...@optadata-gruppe.de> > Geschäftsführer: Marcel Priester, Benedikt Steffen > Amtsgericht Essen HRA B1995 > https://www.optadata-gruppe.de > > [opta data] > > Servicezeiten: Mo. - Fr. 07:00 bis 19:00 Uhr > > Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte > Informationen. > Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich > erhalten > haben, informieren Sie bitte sofort den Absender und vernichten Sie diese > E-Mail. > Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser E-Mail sind > nicht gestattet. > [Logoleiste] >