Re: [VOTE] Release Apache Maven 4.0.0-alpha-2

2022-11-09 Thread Delany
Thanks for explaining
Delany

On Tue, 8 Nov 2022 at 13:08, Guillaume Nodet  wrote:

> There are known issues that will be fixed in the next milestone.  This
> problem in particular has already been fixed in [1].
> The flatten plugin is still relevant, as the goal for maven 4.0 is to be
> compatible with maven 3 apart from the removal of things that have been
> deprecated since ages.
>
> [1] https://github.com/apache/maven/pull/836
>
> Le mar. 8 nov. 2022 à 07:11, Delany  a écrit :
>
> > Hi. I noticed the vote passed for alpha-2, but I'm still getting this
> > issue. Can someone comment?
> > Is the flatten plugin still relevant in Maven 4?
> >
> > Thanks,
> > Delany
> >
> > On Thu, 20 Oct 2022 at 09:26, Delany  wrote:
> >
> > > hi. I just changed .mvn/wrapper/maven-wrapper.properties to
> > > distributionUrl=
> > >
> >
> https://repository.apache.org/service/local/repositories/maven-1811/content/org/apache/maven/apache-maven/4.0.0-alpha-2/apache-maven-4.0.0-alpha-2-bin.zip
> > >
> > > The options now require an equals: --threads=1C, but the help page
> still
> > > shows a space: -T,--threads 
> > >
> > > 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.(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-tree/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/plexus-utils-3.4.2.jar
> > > [ERROR] urls[3] =
> > >
> >
> file:/home/sol/.m2/repository/org/apache/maven/shared/maven-artifact-transfer/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-util-1.7.jar
> > > [ERROR] urls[8] =
> > >
> >
> file:/home/sol/.m2/repository/org/sonatype/sisu/sisu-inject-bean/1.4.2/sisu-inject-bean-1.4.2.jar
> > > [ERROR] urls[9] =
> > >
> >
> file:/home/sol/.m2/repository/org/sonatype/sisu/sisu-guice/2.1.7/sisu-guice-2.1.7-noaop.jar
> > > [ERROR] urls[10] =
> > >
> >
> file:/home/sol/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.14/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-annotations/2.0.0/plexus-component-annotations-2.0.0.jar
> > > [ERROR] urls[14] =
> > >
> >
> file:/home/sol/.m2/repository/org/apache/maven/shared/maven-common-artifact-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 
> 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/content/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
> > >>
> > >
> >
>
>

Re: [VOTE] Release Apache Maven 4.0.0-alpha-2

2022-11-08 Thread Guillaume Nodet
There are known issues that will be fixed in the next milestone.  This
problem in particular has already been fixed in [1].
The flatten plugin is still relevant, as the goal for maven 4.0 is to be
compatible with maven 3 apart from the removal of things that have been
deprecated since ages.

[1] https://github.com/apache/maven/pull/836

Le mar. 8 nov. 2022 à 07:11, Delany  a écrit :

> Hi. I noticed the vote passed for alpha-2, but I'm still getting this
> issue. Can someone comment?
> Is the flatten plugin still relevant in Maven 4?
>
> Thanks,
> Delany
>
> On Thu, 20 Oct 2022 at 09:26, Delany  wrote:
>
> > hi. I just changed .mvn/wrapper/maven-wrapper.properties to
> > distributionUrl=
> >
> https://repository.apache.org/service/local/repositories/maven-1811/content/org/apache/maven/apache-maven/4.0.0-alpha-2/apache-maven-4.0.0-alpha-2-bin.zip
> >
> > The options now require an equals: --threads=1C, but the help page still
> > shows a space: -T,--threads 
> >
> > 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.(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-tree/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/plexus-utils-3.4.2.jar
> > [ERROR] urls[3] =
> >
> file:/home/sol/.m2/repository/org/apache/maven/shared/maven-artifact-transfer/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-util-1.7.jar
> > [ERROR] urls[8] =
> >
> file:/home/sol/.m2/repository/org/sonatype/sisu/sisu-inject-bean/1.4.2/sisu-inject-bean-1.4.2.jar
> > [ERROR] urls[9] =
> >
> file:/home/sol/.m2/repository/org/sonatype/sisu/sisu-guice/2.1.7/sisu-guice-2.1.7-noaop.jar
> > [ERROR] urls[10] =
> >
> file:/home/sol/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.14/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-annotations/2.0.0/plexus-component-annotations-2.0.0.jar
> > [ERROR] urls[14] =
> >
> file:/home/sol/.m2/repository/org/apache/maven/shared/maven-common-artifact-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  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/content/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
> >>
> >
>


-- 

Guillaume Nodet


Re: [VOTE] Release Apache Maven 4.0.0-alpha-2

2022-11-07 Thread Delany
Hi. I noticed the vote passed for alpha-2, but I'm still getting this
issue. Can someone comment?
Is the flatten plugin still relevant in Maven 4?

Thanks,
Delany

On Thu, 20 Oct 2022 at 09:26, Delany  wrote:

> hi. I just changed .mvn/wrapper/maven-wrapper.properties to
> distributionUrl=
> https://repository.apache.org/service/local/repositories/maven-1811/content/org/apache/maven/apache-maven/4.0.0-alpha-2/apache-maven-4.0.0-alpha-2-bin.zip
>
> The options now require an equals: --threads=1C, but the help page still
> shows a space: -T,--threads 
>
> 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.(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-tree/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/plexus-utils-3.4.2.jar
> [ERROR] urls[3] =
> file:/home/sol/.m2/repository/org/apache/maven/shared/maven-artifact-transfer/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-util-1.7.jar
> [ERROR] urls[8] =
> file:/home/sol/.m2/repository/org/sonatype/sisu/sisu-inject-bean/1.4.2/sisu-inject-bean-1.4.2.jar
> [ERROR] urls[9] =
> file:/home/sol/.m2/repository/org/sonatype/sisu/sisu-guice/2.1.7/sisu-guice-2.1.7-noaop.jar
> [ERROR] urls[10] =
> file:/home/sol/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.14/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-annotations/2.0.0/plexus-component-annotations-2.0.0.jar
> [ERROR] urls[14] =
> file:/home/sol/.m2/repository/org/apache/maven/shared/maven-common-artifact-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  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/content/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
>>
>


[RESULT] [VOTE] Release Apache Maven 4.0.0-alpha-2

2022-10-24 Thread Guillaume Nodet
Closing this vote with the following votes:
  +1: aheritier, cstamas, hboutemy, olamy, sjaranowski
Non binding votes:
  +1: martinkanters, mthmulders, Mark Derricutt

I'll promote the artifacts, releases and whatever is needed...

Thx everyone
Guillaume

Le sam. 15 oct. 2022 à 02:18, Guillaume Nodet  a écrit :

> 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/content/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
>
>

-- 

Guillaume Nodet


Re: [VOTE] Release Apache Maven 4.0.0-alpha-2

2022-10-24 Thread Herve Boutemy
I had a look: only root module documentation had been published
I republished the whole multi-module site
Some issues remain, but less than previously

site publication script is available in Maven core:
https://github.com/apache/maven/blob/master/deploySite.sh

and resulting svn content/commits is there:
https://svn.apache.org/viewvc/maven/website/components/ref/4-LATEST/

Regards,

Hervé

On 2022/10/16 13:52:48 Slawomir Jaranowski wrote:
> Thanks.
> 
> Site is also available under https://maven.apache.org/ref/4-LATEST/
> 
> - there are some missing links like
> https://maven.apache.org/ref/4-LATEST/maven-model/maven.html
> - some are outdated like
> https://maven.apache.org/ref/4-LATEST/maven-settings/settings.html
> 
> For me it can be fixed in next releases ...
> 
> 
> 
> niedz., 16 paź 2022 o 15:27 Guillaume Nodet  napisał(a):
> 
> > I've also deployed the distributions at
> >
> >
> > https://dist.apache.org/repos/dist/dev/maven/maven-4/4.0.0-alpha-2/binaries/
> >
> > https://dist.apache.org/repos/dist/dev/maven/maven-4/4.0.0-alpha-2/sources/
> >
> > and the web site at:
> >
> >
> > http://svn.apache.org/repos/asf/maven/website/components/ref/4-LATEST/index.html
> >
> > Guillaume
> >
> > Le sam. 15 oct. 2022 à 12:32, Slawomir Jaranowski 
> > a écrit :
> >
> > > Hi,
> > >
> > > Link for biaries is:
> > >
> > >
> > https://repository.apache.org/content/repositories/maven-1811/org/apache/maven/apache-maven/4.0.0-alpha-2/
> > >
> > > By the way binaries should be available at distribution area also ...
> > > https://dist.apache.org/repos/dist/dev/maven/
> > >
> > > Did you publish a staging Maven site somewhere?
> > >
> > >
> > > sob., 15 paź 2022 o 02:19 Guillaume Nodet 
> > napisał(a):
> > >
> > > > 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/content/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
> > > >
> > >
> > >
> > > --
> > > Sławomir Jaranowski
> > >
> >
> >
> > --
> > 
> > Guillaume Nodet
> >
> 
> 
> -- 
> Sławomir Jaranowski
> 

-
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org



Re: [VOTE] Release Apache Maven 4.0.0-alpha-2

2022-10-22 Thread Arnaud Héritier
+1

Le sam. 22 oct. 2022 à 20:30, Maarten Mulders  a
écrit :

> On 15/10/2022 02:18, Guillaume Nodet 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/content/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
> >
>
>
> TL;DR: my vote is a +1.
>
>
> First of all, thanks for creating this first alpha of Maven 4,
> Guillaume! I've been using snapshots of Maven 4 for over two years now,
> and they've proven to be quite reliable and stable.
>
> Given this is an alpha for a major release, I'm not concerned with
> changes that break backward compatibility, as long as we properly
> document those so our users know what they can expect.
>
>
> Thanks,
>
> Maarten
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
> For additional commands, e-mail: dev-h...@maven.apache.org
>
> --
Arnaud


Re: [VOTE] Release Apache Maven 4.0.0-alpha-2

2022-10-22 Thread Maarten Mulders

On 15/10/2022 02:18, Guillaume Nodet 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/content/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




TL;DR: my vote is a +1.


First of all, thanks for creating this first alpha of Maven 4, 
Guillaume! I've been using snapshots of Maven 4 for over two years now, 
and they've proven to be quite reliable and stable.


Given this is an alpha for a major release, I'm not concerned with 
changes that break backward compatibility, as long as we properly 
document those so our users know what they can expect.



Thanks,

Maarten

-
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org



Re: [VOTE] Release Apache Maven 4.0.0-alpha-2

2022-10-22 Thread Hervé Boutemy
thank you

Le vendredi 21 octobre 2022, 11:10:29 CEST Guillaume Nodet a écrit :
> Created https://issues.apache.org/jira/browse/MNG-7576 to track
> compatibility problems in maven 4.x.
> 
> Le ven. 21 oct. 2022 à 08:27, Hervé Boutemy  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  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 
> > > > 
> > > > 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.(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 
> > 
> > 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,
> > > 

Re: [VOTE] Release Apache Maven 4.0.0-alpha-2

2022-10-21 Thread Guillaume Nodet
Created https://issues.apache.org/jira/browse/MNG-7576 to track
compatibility problems in maven 4.x.

Le ven. 21 oct. 2022 à 08:27, Hervé Boutemy  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  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 
> > >
> > > 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.(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 
> 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
>
>

-- 

Guillaume Nodet


Re: [VOTE] Release Apache Maven 4.0.0-alpha-2

2022-10-21 Thread Romain Manni-Bucau
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  |  Blog
 | Old Blog
 | Github  |
LinkedIn  | Book



Le ven. 21 oct. 2022 à 08:27, Hervé Boutemy  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  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 
> > >
> > > 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.(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 
> wrote:
> > > > I've staged a release candidate at
> > > >
> > > >   

Re: [VOTE] Release Apache Maven 4.0.0-alpha-2

2022-10-21 Thread Hervé Boutemy
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  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 
> > 
> > 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.(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  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



Re: Re: [VOTE] Release Apache Maven 4.0.0-alpha-2

2022-10-20 Thread Olivier Lamy
fair enough.
but this might be a (bad?) surprise for few people

On Fri, 21 Oct 2022 at 01:25, Michael Osipov  wrote:
>
>
> On 2022/10/19 21:38:47 Olivier Lamy wrote:
> > +1
> >
> > I only have a small issue.
> > I have this env var
> > MAVEN_OPTS=-Djava.awt.headless=true -client -Xmx2048m -Xms2048m
> >
> > a project has .mvn/jvm.config with
> > -Xmx1100m
> >
> > Maven 3.8.5 does this
> >
> > + exec 
> > /Library/Java/JavaVirtualMachines/temurin-11.jdk/Contents/Home/bin/java
> > -Xmx1100m -Djava.awt.headless=true -client -Xmx2048m -Xms2048m
> > -classpath 
> > /Users/olamy/softs/maven/apache-maven-3.8.5/boot/plexus-classworlds-2.6.0.jar
> > -Dclassworlds.conf=/Users/olamy/softs/maven/apache-maven-3.8.5/bin/m2.conf
> > -Dmaven.home=/Users/olamy/softs/maven/apache-maven-3.8.5
> > -Dlibrary.jansi.path=/Users/olamy/softs/maven/apache-maven-3.8.5/lib/jansi-native
> >
> > 4.0.0-alpha-2 does this
> >
> > + exec 
> > /Library/Java/JavaVirtualMachines/temurin-11.jdk/Contents/Home/bin/java
> > -Djava.awt.headless=true -client -Xmx2048m -Xms2048m -Xmx1100m
> > -classpath 
> > /Users/olamy/softs/maven/apache-maven-4.0.0-alpha-2/boot/plexus-classworlds-2.6.0.jar
> > -Dclassworlds.conf=/Users/olamy/softs/maven/apache-maven-4.0.0-alpha-2/bin/m2.conf
> > -Dmaven.home=/Users/olamy/softs/maven/apache-maven-4.0.0-alpha-2
> > -Dlibrary.jansi.path=/Users/olamy/softs/maven/apache-maven-4.0.0-alpha-2/lib/jansi-native
> >
> > which obviously fails
>
> This is intended. Read:
> * https://cwiki.apache.org/confluence/display/MAVEN/Commandline+inheritance
> * https://issues.apache.org/jira/browse/MNG-7206
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
> For additional commands, e-mail: dev-h...@maven.apache.org
>

-
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org



Re: API changes - was [VOTE] Release Apache Maven 4.0.0-alpha-2

2022-10-20 Thread Mark Derricutt
 On 21/10/2022 at 12:41:54 AM, Mark Derricutt  wrote:

> Merged and I’ll release in the morning - and run our main projects thru
> with Maven 4.0.0 and see how it fares.
>


Doh - released the new tiles this morning ( should really have tested it
again $work’s main project first tho) ):

When running under 4.0.0-alpha-2 I now get:

org.apache.maven.InternalErrorException: Internal error:
com.google.inject.ProvisionException: Unable to provision, see the
following errors:

1) [Guice/ErrorInjectingConstructor]: NoSuchMethodError:
DefaultProjectBuilder: method 'void ()' not found
  at TilesProjectBuilder.(TilesProjectBuilder.groovy:29)
  while locating TilesProjectBuilder
  at ClassRealm[extension>io.repaint.maven:tiles-maven-plugin:2.31, parent:
ClassLoaders$AppClassLoader@5b37e0d2]
  \_ installed by: WireModule -> PlexusBindingModule
  while locating ProjectBuilder
  at LocatorWiring
  at
TilesMavenLifecycleParticipant.projectBuilder(TilesMavenLifecycleParticipant.groovy:105)
  \_ for field projectBuilder
  while locating TilesMavenLifecycleParticipant
  while locating Object annotated with *


Larger trace:

at
com.google.inject.internal.InternalProvisionException.toProvisionException
(InternalProvisionException.java:251)
at com.google.inject.internal.InjectorImpl$1.get
(InjectorImpl.java:1104)
at org.eclipse.sisu.inject.Guice4$1.get (Guice4.java:162)
at org.eclipse.sisu.inject.LazyBeanEntry.getValue
(LazyBeanEntry.java:81)
at org.eclipse.sisu.plexus.LazyPlexusBean.getValue
(LazyPlexusBean.java:51)
at org.eclipse.sisu.wire.EntryListAdapter$ValueIterator.next
(EntryListAdapter.java:111)
at java.util.AbstractCollection.addAll (AbstractCollection.java:337)
at org.apache.maven.DefaultMaven.getProjectScopedExtensionComponents
(DefaultMaven.java:543)
at org.apache.maven.DefaultMaven.getExtensionComponents
(DefaultMaven.java:518)
at org.apache.maven.DefaultMaven.afterProjectsRead
(DefaultMaven.java:420)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:297)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:248)
at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:158)
at org.apache.maven.cli.MavenCli.execute (MavenCli.java:1004)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:307)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:204)
at jdk.internal.reflect.DirectMethodHandleAccessor.invoke
(DirectMethodHandleAccessor.java:104)
at java.lang.reflect.Method.invoke (Method.java:578)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced
(Launcher.java:282)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch
(Launcher.java:225)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode
(Launcher.java:406)
at org.codehaus.plexus.classworlds.launcher.Launcher.main
(Launcher.java:347)
Caused by: java.lang.NoSuchMethodError:
org.apache.maven.project.DefaultProjectBuilder: method 'void ()' not
found
at io.repaint.maven.tiles.TilesProjectBuilder.
(TilesProjectBuilder.groovy)
at
io.repaint.maven.tiles.TilesProjectBuilder$$FastClassByGuice$$272625146.GUICE$TRAMPOLINE
()
at
io.repaint.maven.tiles.TilesProjectBuilder$$FastClassByGuice$$272625146.apply
()
at
com.google.inject.internal.DefaultConstructionProxyFactory$FastClassProxy.newInstance
(DefaultConstructionProxyFactory.java:82)
at com.google.inject.internal.ConstructorInjector.provision
(ConstructorInjector.java:114)
at com.google.inject.internal.ConstructorInjector.access$000
(ConstructorInjector.java:33)
at com.google.inject.internal.ConstructorInjector$1.call
(ConstructorInjector.java:98)
at
com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision
(ProvisionListenerStackCallback.java:109)



I actually see the IT tests in the repo failing with the 4.0.0 release
(built via:

~/Applications/apache-maven-4.0.0-alpha-2/bin/mvn clean install
-Prun-its

I should set up GH action jobs for running with 4.x builds as well the 3.x
version.

Hrm

-- 
"Great artists are extremely selfish and arrogant things" — Steven Wilson,
Porcupine Tree


Re: [VOTE] Release Apache Maven 4.0.0-alpha-2

2022-10-20 Thread Guillaume Nodet
This will be fixed by https://github.com/apache/maven/pull/836.

Guillaume

Le jeu. 20 oct. 2022 à 09:27, Delany  a écrit :

> hi. I just changed .mvn/wrapper/maven-wrapper.properties to
> distributionUrl=
>
> https://repository.apache.org/service/local/repositories/maven-1811/content/org/apache/maven/apache-maven/4.0.0-alpha-2/apache-maven-4.0.0-alpha-2-bin.zip
>
> The options now require an equals: --threads=1C, but the help page still
> shows a space: -T,--threads 
>
> 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.(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-tree/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/plexus-utils-3.4.2.jar
> [ERROR] urls[3] =
>
> file:/home/sol/.m2/repository/org/apache/maven/shared/maven-artifact-transfer/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-util-1.7.jar
> [ERROR] urls[8] =
>
> file:/home/sol/.m2/repository/org/sonatype/sisu/sisu-inject-bean/1.4.2/sisu-inject-bean-1.4.2.jar
> [ERROR] urls[9] =
>
> file:/home/sol/.m2/repository/org/sonatype/sisu/sisu-guice/2.1.7/sisu-guice-2.1.7-noaop.jar
> [ERROR] urls[10] =
>
> file:/home/sol/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.14/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-annotations/2.0.0/plexus-component-annotations-2.0.0.jar
> [ERROR] urls[14] =
>
> file:/home/sol/.m2/repository/org/apache/maven/shared/maven-common-artifact-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  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/content/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
> >
>


-- 

Guillaume Nodet


RE: Re: [VOTE] Release Apache Maven 4.0.0-alpha-2

2022-10-20 Thread Michael Osipov



On 2022/10/19 21:38:47 Olivier Lamy wrote:

+1

I only have a small issue.
I have this env var
MAVEN_OPTS=-Djava.awt.headless=true -client -Xmx2048m -Xms2048m

a project has .mvn/jvm.config with
-Xmx1100m

Maven 3.8.5 does this

+ exec /Library/Java/JavaVirtualMachines/temurin-11.jdk/Contents/Home/bin/java
-Xmx1100m -Djava.awt.headless=true -client -Xmx2048m -Xms2048m
-classpath 
/Users/olamy/softs/maven/apache-maven-3.8.5/boot/plexus-classworlds-2.6.0.jar
-Dclassworlds.conf=/Users/olamy/softs/maven/apache-maven-3.8.5/bin/m2.conf
-Dmaven.home=/Users/olamy/softs/maven/apache-maven-3.8.5
-Dlibrary.jansi.path=/Users/olamy/softs/maven/apache-maven-3.8.5/lib/jansi-native

4.0.0-alpha-2 does this

+ exec /Library/Java/JavaVirtualMachines/temurin-11.jdk/Contents/Home/bin/java
-Djava.awt.headless=true -client -Xmx2048m -Xms2048m -Xmx1100m
-classpath 
/Users/olamy/softs/maven/apache-maven-4.0.0-alpha-2/boot/plexus-classworlds-2.6.0.jar
-Dclassworlds.conf=/Users/olamy/softs/maven/apache-maven-4.0.0-alpha-2/bin/m2.conf
-Dmaven.home=/Users/olamy/softs/maven/apache-maven-4.0.0-alpha-2
-Dlibrary.jansi.path=/Users/olamy/softs/maven/apache-maven-4.0.0-alpha-2/lib/jansi-native

which obviously fails


This is intended. Read:
* https://cwiki.apache.org/confluence/display/MAVEN/Commandline+inheritance
* https://issues.apache.org/jira/browse/MNG-7206

-
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org



Re: API changes - was [VOTE] Release Apache Maven 4.0.0-alpha-2

2022-10-20 Thread Mark Derricutt
 On 20/10/2022 at 11:49:48 PM, Tamás Cservenák  wrote:

> created PR that should restore compatibility, moreover, it remains mvn 3
> and 4 compatible
> (and some little cosmetic change to plexus xml)
>

Oh sweet!  Kudos.   Just triggered the build jobs with IT tests and all
passed.

Merged and I’ll release in the morning - and run our main projects thru
with Maven 4.0.0 and see how it fares.

Cheers
Mark

-- 
"Great artists are extremely selfish and arrogant things" — Steven Wilson,
Porcupine Tree


Re: API changes - was [VOTE] Release Apache Maven 4.0.0-alpha-2

2022-10-20 Thread Tamás Cservenák
Howdy,

created PR that should restore compatibility, moreover, it remains mvn 3
and 4 compatible
(and some little cosmetic change to plexus xml)

https://github.com/repaint-io/maven-tiles/pull/133

Thanks
T

On Thu, Oct 20, 2022 at 1:37 AM Mark Derricutt  wrote:

> Trying out the new 4.0.0-alpha-2 release I see our tiles-maven-plugin
> doesn’t work:
>
> Caused by: java.lang.NoSuchMethodError:
> org.apache.maven.project.DefaultProjectBuilder: method ()V not found
> at io.repaint.maven.tiles.TilesProjectBuilder.
> (TilesProjectBuilder.groovy)
> at
>
> io.repaint.maven.tiles.TilesProjectBuilder$$FastClassByGuice$$257858534.GUICE$TRAMPOLINE
> ()
>
> Totally not a blocker for the release and will do additional tests on a
> normal, but more a heads up of anyone with Mojos doing Project stuff -
> guess I’ll be looking at a supporting version of tiles shortly.
>
>
>
> --
> "Great artists are extremely selfish and arrogant things" — Steven Wilson,
> Porcupine Tree
>
>
> On 15/10/2022 at 1:18:52 PM, Guillaume Nodet  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/content/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
> >
>


Re: [VOTE] Release Apache Maven 4.0.0-alpha-2

2022-10-20 Thread Delany
hi. I just changed .mvn/wrapper/maven-wrapper.properties to
distributionUrl=
https://repository.apache.org/service/local/repositories/maven-1811/content/org/apache/maven/apache-maven/4.0.0-alpha-2/apache-maven-4.0.0-alpha-2-bin.zip

The options now require an equals: --threads=1C, but the help page still
shows a space: -T,--threads 

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.(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-tree/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/plexus-utils-3.4.2.jar
[ERROR] urls[3] =
file:/home/sol/.m2/repository/org/apache/maven/shared/maven-artifact-transfer/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-util-1.7.jar
[ERROR] urls[8] =
file:/home/sol/.m2/repository/org/sonatype/sisu/sisu-inject-bean/1.4.2/sisu-inject-bean-1.4.2.jar
[ERROR] urls[9] =
file:/home/sol/.m2/repository/org/sonatype/sisu/sisu-guice/2.1.7/sisu-guice-2.1.7-noaop.jar
[ERROR] urls[10] =
file:/home/sol/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.14/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-annotations/2.0.0/plexus-component-annotations-2.0.0.jar
[ERROR] urls[14] =
file:/home/sol/.m2/repository/org/apache/maven/shared/maven-common-artifact-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  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/content/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
>


Re: [VOTE] Release Apache Maven 4.0.0-alpha-2

2022-10-19 Thread Mark Derricutt
+1 one my projects not using tiles.


-- 
"Great artists are extremely selfish and arrogant things" — Steven Wilson,
Porcupine Tree


On 20/10/2022 at 10:38:47 AM, Olivier Lamy  wrote:

> +1
>
> I only have a small issue.
> I have this env var
> MAVEN_OPTS=-Djava.awt.headless=true -client -Xmx2048m -Xms2048m
>
> a project has .mvn/jvm.config with
> -Xmx1100m
>
> Maven 3.8.5 does this
>
> + exec
> /Library/Java/JavaVirtualMachines/temurin-11.jdk/Contents/Home/bin/java
> -Xmx1100m -Djava.awt.headless=true -client -Xmx2048m -Xms2048m
> -classpath
> /Users/olamy/softs/maven/apache-maven-3.8.5/boot/plexus-classworlds-2.6.0.jar
> -Dclassworlds.conf=/Users/olamy/softs/maven/apache-maven-3.8.5/bin/m2.conf
> -Dmaven.home=/Users/olamy/softs/maven/apache-maven-3.8.5
>
> -Dlibrary.jansi.path=/Users/olamy/softs/maven/apache-maven-3.8.5/lib/jansi-native
>
> 4.0.0-alpha-2 does this
>
> + exec
> /Library/Java/JavaVirtualMachines/temurin-11.jdk/Contents/Home/bin/java
> -Djava.awt.headless=true -client -Xmx2048m -Xms2048m -Xmx1100m
> -classpath
> /Users/olamy/softs/maven/apache-maven-4.0.0-alpha-2/boot/plexus-classworlds-2.6.0.jar
>
> -Dclassworlds.conf=/Users/olamy/softs/maven/apache-maven-4.0.0-alpha-2/bin/m2.conf
> -Dmaven.home=/Users/olamy/softs/maven/apache-maven-4.0.0-alpha-2
>
> -Dlibrary.jansi.path=/Users/olamy/softs/maven/apache-maven-4.0.0-alpha-2/lib/jansi-native
>
> which obviously fails
>
>
>
>
> On Sun, 16 Oct 2022 at 23:27, Guillaume Nodet  wrote:
>
>
> I've also deployed the distributions at
>
>
>
> https://dist.apache.org/repos/dist/dev/maven/maven-4/4.0.0-alpha-2/binaries/
>
>
> https://dist.apache.org/repos/dist/dev/maven/maven-4/4.0.0-alpha-2/sources/
>
>
> and the web site at:
>
>
>
> http://svn.apache.org/repos/asf/maven/website/components/ref/4-LATEST/index.html
>
>
> Guillaume
>
>
> Le sam. 15 oct. 2022 à 12:32, Slawomir Jaranowski 
>
> a écrit :
>
>
> > Hi,
>
> >
>
> > Link for biaries is:
>
> >
>
> >
> https://repository.apache.org/content/repositories/maven-1811/org/apache/maven/apache-maven/4.0.0-alpha-2/
>
> >
>
> > By the way binaries should be available at distribution area also ...
>
> > https://dist.apache.org/repos/dist/dev/maven/
>
> >
>
> > Did you publish a staging Maven site somewhere?
>
> >
>
> >
>
> > sob., 15 paź 2022 o 02:19 Guillaume Nodet 
> napisał(a):
>
> >
>
> > > 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/content/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
>
> > >
>
> >
>
> >
>
> > --
>
> > Sławomir Jaranowski
>
> >
>
>
>
> --
>
> 
>
> Guillaume Nodet
>
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
> For additional commands, e-mail: dev-h...@maven.apache.org
>
>


API changes - was [VOTE] Release Apache Maven 4.0.0-alpha-2

2022-10-19 Thread Mark Derricutt
Trying out the new 4.0.0-alpha-2 release I see our tiles-maven-plugin
doesn’t work:

Caused by: java.lang.NoSuchMethodError:
org.apache.maven.project.DefaultProjectBuilder: method ()V not found
at io.repaint.maven.tiles.TilesProjectBuilder.
(TilesProjectBuilder.groovy)
at
io.repaint.maven.tiles.TilesProjectBuilder$$FastClassByGuice$$257858534.GUICE$TRAMPOLINE
()

Totally not a blocker for the release and will do additional tests on a
normal, but more a heads up of anyone with Mojos doing Project stuff -
guess I’ll be looking at a supporting version of tiles shortly.



-- 
"Great artists are extremely selfish and arrogant things" — Steven Wilson,
Porcupine Tree


On 15/10/2022 at 1:18:52 PM, Guillaume Nodet  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/content/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
>


Re: [VOTE] Release Apache Maven 4.0.0-alpha-2

2022-10-19 Thread Olivier Lamy
+1

I only have a small issue.
I have this env var
MAVEN_OPTS=-Djava.awt.headless=true -client -Xmx2048m -Xms2048m

a project has .mvn/jvm.config with
-Xmx1100m

Maven 3.8.5 does this

+ exec /Library/Java/JavaVirtualMachines/temurin-11.jdk/Contents/Home/bin/java
-Xmx1100m -Djava.awt.headless=true -client -Xmx2048m -Xms2048m
-classpath 
/Users/olamy/softs/maven/apache-maven-3.8.5/boot/plexus-classworlds-2.6.0.jar
-Dclassworlds.conf=/Users/olamy/softs/maven/apache-maven-3.8.5/bin/m2.conf
-Dmaven.home=/Users/olamy/softs/maven/apache-maven-3.8.5
-Dlibrary.jansi.path=/Users/olamy/softs/maven/apache-maven-3.8.5/lib/jansi-native

4.0.0-alpha-2 does this

+ exec /Library/Java/JavaVirtualMachines/temurin-11.jdk/Contents/Home/bin/java
-Djava.awt.headless=true -client -Xmx2048m -Xms2048m -Xmx1100m
-classpath 
/Users/olamy/softs/maven/apache-maven-4.0.0-alpha-2/boot/plexus-classworlds-2.6.0.jar
-Dclassworlds.conf=/Users/olamy/softs/maven/apache-maven-4.0.0-alpha-2/bin/m2.conf
-Dmaven.home=/Users/olamy/softs/maven/apache-maven-4.0.0-alpha-2
-Dlibrary.jansi.path=/Users/olamy/softs/maven/apache-maven-4.0.0-alpha-2/lib/jansi-native

which obviously fails




On Sun, 16 Oct 2022 at 23:27, Guillaume Nodet  wrote:
>
> I've also deployed the distributions at
>
> https://dist.apache.org/repos/dist/dev/maven/maven-4/4.0.0-alpha-2/binaries/
>
> https://dist.apache.org/repos/dist/dev/maven/maven-4/4.0.0-alpha-2/sources/
>
> and the web site at:
>
> http://svn.apache.org/repos/asf/maven/website/components/ref/4-LATEST/index.html
>
> Guillaume
>
> Le sam. 15 oct. 2022 à 12:32, Slawomir Jaranowski 
> a écrit :
>
> > Hi,
> >
> > Link for biaries is:
> >
> > https://repository.apache.org/content/repositories/maven-1811/org/apache/maven/apache-maven/4.0.0-alpha-2/
> >
> > By the way binaries should be available at distribution area also ...
> > https://dist.apache.org/repos/dist/dev/maven/
> >
> > Did you publish a staging Maven site somewhere?
> >
> >
> > sob., 15 paź 2022 o 02:19 Guillaume Nodet  napisał(a):
> >
> > > 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/content/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
> > >
> >
> >
> > --
> > Sławomir Jaranowski
> >
>
>
> --
> 
> Guillaume Nodet

-
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org



Re: [VOTE] Release Apache Maven 4.0.0-alpha-2

2022-10-19 Thread Slawomir Jaranowski
+1 tested with some of my projects

sob., 15 paź 2022 o 02:19 Guillaume Nodet  napisał(a):

> 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/content/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
>


-- 
Sławomir Jaranowski


Re: [VOTE] Release Apache Maven 4.0.0-alpha-2

2022-10-18 Thread Martin Kanters
Hi all,

+1 Works fine for me.
Locally I've been using the Jenkins build from master for over a year
successfully, and I'm seeing the same results with this alpha-2 version.

Cheers,
Martin


Op ma 17 okt. 2022 om 21:12 schreef Romain Manni-Bucau <
rmannibu...@gmail.com>:

> +1 getting a bunch of new warnings as expected (which is good - ex: version
> not locked for clean plugin) but works on recent projects.
>
> Romain Manni-Bucau
> @rmannibucau  |  Blog
>  | Old Blog
>  | Github <
> https://github.com/rmannibucau> |
> LinkedIn  | Book
> <
> https://www.packtpub.com/application-development/java-ee-8-high-performance
> >
>
>
> Le lun. 17 oct. 2022 à 20:52, Tamás Cservenák  a
> écrit :
>
> > +1 works ok for me on several projects
> >
> > T
> >
> > On Sat, Oct 15, 2022 at 2:19 AM Guillaume Nodet 
> 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/content/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
> > >
> >
>


Re: [VOTE] Release Apache Maven 4.0.0-alpha-2

2022-10-17 Thread Romain Manni-Bucau
+1 getting a bunch of new warnings as expected (which is good - ex: version
not locked for clean plugin) but works on recent projects.

Romain Manni-Bucau
@rmannibucau  |  Blog
 | Old Blog
 | Github  |
LinkedIn  | Book



Le lun. 17 oct. 2022 à 20:52, Tamás Cservenák  a
écrit :

> +1 works ok for me on several projects
>
> T
>
> On Sat, Oct 15, 2022 at 2:19 AM Guillaume Nodet  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/content/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
> >
>


Re: [VOTE] Release Apache Maven 4.0.0-alpha-2

2022-10-17 Thread Tamás Cservenák
+1 works ok for me on several projects

T

On Sat, Oct 15, 2022 at 2:19 AM Guillaume Nodet  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/content/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
>


Re: [VOTE] Release Apache Maven 4.0.0-alpha-2

2022-10-16 Thread Herve Boutemy
+1

as defined in our release process for core
https://maven.apache.org/developers/release/maven-core-release.html

I replaced md5 and sha1 with sha512 in
https://maven.apache.org/developers/release/maven-core-release.html

build is not fully reproducible: reference was done on *nix with JDK 8, but 
plexus-utils binary jar has non-reproducible DEPENDENCIES and NOTICE generation

Regards,

Hervé

On 2022/10/15 00:18:52 Guillaume Nodet 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/content/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



Re: [VOTE] Release Apache Maven 4.0.0-alpha-2

2022-10-16 Thread Slawomir Jaranowski
Thanks.

Site is also available under https://maven.apache.org/ref/4-LATEST/

- there are some missing links like
https://maven.apache.org/ref/4-LATEST/maven-model/maven.html
- some are outdated like
https://maven.apache.org/ref/4-LATEST/maven-settings/settings.html

For me it can be fixed in next releases ...



niedz., 16 paź 2022 o 15:27 Guillaume Nodet  napisał(a):

> I've also deployed the distributions at
>
>
> https://dist.apache.org/repos/dist/dev/maven/maven-4/4.0.0-alpha-2/binaries/
>
> https://dist.apache.org/repos/dist/dev/maven/maven-4/4.0.0-alpha-2/sources/
>
> and the web site at:
>
>
> http://svn.apache.org/repos/asf/maven/website/components/ref/4-LATEST/index.html
>
> Guillaume
>
> Le sam. 15 oct. 2022 à 12:32, Slawomir Jaranowski 
> a écrit :
>
> > Hi,
> >
> > Link for biaries is:
> >
> >
> https://repository.apache.org/content/repositories/maven-1811/org/apache/maven/apache-maven/4.0.0-alpha-2/
> >
> > By the way binaries should be available at distribution area also ...
> > https://dist.apache.org/repos/dist/dev/maven/
> >
> > Did you publish a staging Maven site somewhere?
> >
> >
> > sob., 15 paź 2022 o 02:19 Guillaume Nodet 
> napisał(a):
> >
> > > 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/content/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
> > >
> >
> >
> > --
> > Sławomir Jaranowski
> >
>
>
> --
> 
> Guillaume Nodet
>


-- 
Sławomir Jaranowski


Re: [VOTE] Release Apache Maven 4.0.0-alpha-2

2022-10-16 Thread Guillaume Nodet
I've also deployed the distributions at

https://dist.apache.org/repos/dist/dev/maven/maven-4/4.0.0-alpha-2/binaries/

https://dist.apache.org/repos/dist/dev/maven/maven-4/4.0.0-alpha-2/sources/

and the web site at:

http://svn.apache.org/repos/asf/maven/website/components/ref/4-LATEST/index.html

Guillaume

Le sam. 15 oct. 2022 à 12:32, Slawomir Jaranowski 
a écrit :

> Hi,
>
> Link for biaries is:
>
> https://repository.apache.org/content/repositories/maven-1811/org/apache/maven/apache-maven/4.0.0-alpha-2/
>
> By the way binaries should be available at distribution area also ...
> https://dist.apache.org/repos/dist/dev/maven/
>
> Did you publish a staging Maven site somewhere?
>
>
> sob., 15 paź 2022 o 02:19 Guillaume Nodet  napisał(a):
>
> > 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/content/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
> >
>
>
> --
> Sławomir Jaranowski
>


-- 

Guillaume Nodet


Re: [VOTE] Release Apache Maven 4.0.0-alpha-2

2022-10-15 Thread Slawomir Jaranowski
Why alpha-2, we didn't release alpha-1.
Even if some technical problems occur during release we should reuse the
final tag.

In jira we have a label for alpha-1.

sob., 15 paź 2022 o 02:19 Guillaume Nodet  napisał(a):

> 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/content/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
>


-- 
Sławomir Jaranowski


Re: [VOTE] Release Apache Maven 4.0.0-alpha-2

2022-10-15 Thread Slawomir Jaranowski
Hi,

Link for biaries is:
https://repository.apache.org/content/repositories/maven-1811/org/apache/maven/apache-maven/4.0.0-alpha-2/

By the way binaries should be available at distribution area also ...
https://dist.apache.org/repos/dist/dev/maven/

Did you publish a staging Maven site somewhere?


sob., 15 paź 2022 o 02:19 Guillaume Nodet  napisał(a):

> 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/content/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
>


-- 
Sławomir Jaranowski


[VOTE] Release Apache Maven 4.0.0-alpha-2

2022-10-14 Thread Guillaume Nodet
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/content/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