Hi,

Agree it will be a surprise and it is actually a pretty big regression to
not enable to override a configuration from a file with inline/env values.
We should finish the impl to not copy twice the same options IMHO since we
have the info or at least keep the overriding working as expected (common
case being to hardcode the PR/dev options and override it on the CI when
you add things like sonar which are memory killers).

Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> |  Blog
<https://rmannibucau.metawerx.net/> | Old Blog
<http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> |
LinkedIn <https://www.linkedin.com/in/rmannibucau> | Book
<https://www.packtpub.com/application-development/java-ee-8-high-performance>


Le ven. 21 oct. 2022 à 08:27, Hervé Boutemy <herve.bout...@free.fr> a
écrit :

> there is no Jira issue associated?
>
> Le jeudi 20 octobre 2022, 18:15:28 CEST Guillaume Nodet a écrit :
> > This will be fixed by https://github.com/apache/maven/pull/836.
> >
> > Guillaume
> >
> > Le jeu. 20 oct. 2022 à 09:27, Delany <delany.middle...@gmail.com> a
> écrit :
> > > hi. I just changed .mvn/wrapper/maven-wrapper.properties to
> > > distributionUrl=
> > >
> > >
> https://repository.apache.org/service/local/repositories/maven-1811/conten
> > >
> t/org/apache/maven/apache-maven/4.0.0-alpha-2/apache-maven-4.0.0-alpha-2-b
> > > in.zip
> > >
> > > The options now require an equals: --threads=1C, but the help page
> still
> > > shows a space: -T,--threads <arg>
> > >
> > > After fixing that it fails with
> > > [ERROR] Failed to execute goal
> > > org.codehaus.mojo:flatten-maven-plugin:1.3.0:flatten (flatten) on
> project
> > > maven-super: Execution flatten of goal
> > > org.codehaus.mojo:flatten-maven-plugin:1.3.0:flatten failed: An API
> > > incompatibility was encountered while executing
> > > org.codehaus.mojo:flatten-maven-plugin:1.3.0:flatten:
> > > java.lang.NoSuchMethodError: 'void
> > >
> > >
> org.apache.maven.model.interpolation.MavenBuildTimestamp.<init>(java.util.
> > > Date, java.util.Properties)'
> > > [ERROR] -----------------------------------------------------
> > > [ERROR] realm =    plugin>org.codehaus.mojo:flatten-maven-plugin:1.3.0
> > > [ERROR] strategy =
> > > org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
> > > [ERROR] urls[0] =
> > >
> > >
> file:/home/sol/.m2/repository/org/codehaus/mojo/flatten-maven-plugin/1.3.0
> > > /flatten-maven-plugin-1.3.0.jar [ERROR] urls[1] =
> > >
> > >
> file:/home/sol/.m2/repository/org/apache/maven/shared/maven-dependency-tre
> > > e/3.2.0/maven-dependency-tree-3.2.0.jar [ERROR] urls[2] =
> > >
> > >
> file:/home/sol/.m2/repository/org/codehaus/plexus/plexus-utils/3.4.2/plexu
> > > s-utils-3.4.2.jar [ERROR] urls[3] =
> > >
> > >
> file:/home/sol/.m2/repository/org/apache/maven/shared/maven-artifact-trans
> > > fer/0.13.1/maven-artifact-transfer-0.13.1.jar [ERROR] urls[4] =
> > >
> file:/home/sol/.m2/repository/javax/enterprise/cdi-api/1.0/cdi-api-1.0.jar
> > > [ERROR] urls[5] =
> > >
> > >
> file:/home/sol/.m2/repository/javax/annotation/jsr250-api/1.0/jsr250-api-1
> > > .0.jar [ERROR] urls[6] =
> > >
> > >
> file:/home/sol/.m2/repository/org/eclipse/sisu/org.eclipse.sisu.inject/0.3
> > > .0.M1/org.eclipse.sisu.inject-0.3.0.M1.jar [ERROR] urls[7] =
> > >
> > >
> file:/home/sol/.m2/repository/org/sonatype/aether/aether-util/1.7/aether-u
> > > til-1.7.jar [ERROR] urls[8] =
> > >
> > >
> file:/home/sol/.m2/repository/org/sonatype/sisu/sisu-inject-bean/1.4.2/sis
> > > u-inject-bean-1.4.2.jar [ERROR] urls[9] =
> > >
> > >
> file:/home/sol/.m2/repository/org/sonatype/sisu/sisu-guice/2.1.7/sisu-guic
> > > e-2.1.7-noaop.jar [ERROR] urls[10] =
> > >
> > >
> file:/home/sol/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.1
> > > 4/plexus-interpolation-1.14.jar [ERROR] urls[11] =
> > >
> > >
> file:/home/sol/.m2/repository/org/sonatype/plexus/plexus-sec-dispatcher/1.
> > > 3/plexus-sec-dispatcher-1.3.jar [ERROR] urls[12] =
> > >
> > >
> file:/home/sol/.m2/repository/org/sonatype/plexus/plexus-cipher/1.4/plexus
> > > -cipher-1.4.jar [ERROR] urls[13] =
> > >
> > >
> file:/home/sol/.m2/repository/org/codehaus/plexus/plexus-component-annotat
> > > ions/2.0.0/plexus-component-annotations-2.0.0.jar [ERROR] urls[14] =
> > >
> > >
> file:/home/sol/.m2/repository/org/apache/maven/shared/maven-common-artifac
> > > t-filters/3.1.0/maven-common-artifact-filters-3.1.0.jar [ERROR]
> urls[15] =
> > >
> > >
> file:/home/sol/.m2/repository/org/apache/maven/shared/maven-shared-utils/3
> > > .1.0/maven-shared-utils-3.1.0.jar [ERROR] urls[16] =
> > >
> > >
> file:/home/sol/.m2/repository/commons-io/commons-io/2.11.0/commons-io-2.11
> > > .0.jar [ERROR] Number of foreign imports: 1
> > > [ERROR] import: Entry[import  from realm ClassRealm[maven.api, parent:
> > > null]]
> > >
> > > Regards,
> > > Delany
> > >
> > > On Sat, 15 Oct 2022 at 02:19, Guillaume Nodet <gno...@apache.org>
> wrote:
> > > > I've staged a release candidate at
> > > >
> > > >   https://repository.apache.org/content/repositories/maven-1811
> > > >
> > > > The binaries are available at:
> > >
> https://repository.apache.org/service/local/repositories/maven-1811/conten
> > > t/org/apache/maven/apache-maven/4.0.0-alpha-2/>
> > > > The tag is available at:
> > > >   https://github.com/apache/maven/tree/maven-4.0.0-alpha-2
> > > >
> > > > Please review and vote !
> > > >
> > > > Cheers,
> > > > Guillaume Nodet
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
> For additional commands, e-mail: dev-h...@maven.apache.org
>
>

Reply via email to