You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Guillaume Nodet <gn...@apache.org> on 2023/03/15 17:14:21 UTC

[VOTE] Release Apache Maven 4.0.0-alpha-5

Hey

We solved 26 issues:

https://issues.apache.org/jira/secure/ReleaseNote.jspa?version=12352862&projectId=12316922

Staging repository:
  https://repository.apache.org/content/repositories/maven-1890

Dev dist directory:
  https://dist.apache.org/repos/dist/dev/maven/maven-4/4.0.0-alpha-5/

Staged site:
  https://maven.apache.org/ref/4-LATEST/

Guide to testing staged releases:
http://maven.apache.org/guides/development/guide-testing-releases.html

Please review and vote !

Cheers,
Guillaume Nodet

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

Posted by Slawomir Jaranowski <s....@gmail.com>.
Eg project versions-m-p [1] use RequirePluginVersions and rules pass for me
with master version


[1] https://github.com/mojohaus/versions


śr., 15 mar 2023 o 19:21 Delany <de...@gmail.com> napisał(a):

> Build fails
>
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
> goal org.apache.maven.plugins:maven-enforcer-plugin:3.2.1:enforce (fail) on
> project t1000:
> Rule 0: org.apache.maven.enforcer.rules.RequirePluginVersions failed with
> message:
> Some plugins are missing valid versions or depend on Maven 4.0.0-alpha-5
> defaults (LATEST, RELEASE as plugin version are not allowed)
>    org.apache.maven.plugins:maven-surefire-plugin.      The version
> currently in use is 3.0.0 via super POM or default lifecycle bindings
>
> I don't get this with 4.0.0-alpha-4
>
>
> On Wed, 15 Mar 2023 at 19:14, Guillaume Nodet <gn...@apache.org> wrote:
>
> > Hey
> >
> > We solved 26 issues:
> >
> >
> >
> https://issues.apache.org/jira/secure/ReleaseNote.jspa?version=12352862&projectId=12316922
> >
> > Staging repository:
> >   https://repository.apache.org/content/repositories/maven-1890
> >
> > Dev dist directory:
> >   https://dist.apache.org/repos/dist/dev/maven/maven-4/4.0.0-alpha-5/
> >
> > Staged site:
> >   https://maven.apache.org/ref/4-LATEST/
> >
> > Guide to testing staged releases:
> > http://maven.apache.org/guides/development/guide-testing-releases.html
> >
> > Please review and vote !
> >
> > Cheers,
> > Guillaume Nodet
> >
>


-- 
Sławomir Jaranowski

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

Posted by Delany <de...@gmail.com>.
I set maven-surefire-plugin version in pluginManagement.
Then I have a profile (on by default) that brings in another
pluginManagement element. If I don't want to use the stateless reporter I
can turn this profile off:

        <pluginManagement>
          <plugins>
            <plugin>
              <artifactId>maven-surefire-plugin</artifactId>
              <configuration combine.children="append">
                <statelessTestsetInfoReporter
implementation="org.apache.maven.plugin.surefire.extensions.junit5.JUnit5StatelessTestsetInfoTreeReporterUnicode"/>
              </configuration>
              <dependencies>
                <dependency>
                  <groupId>me.fabriciorby</groupId>

<artifactId>maven-surefire-junit5-tree-reporter</artifactId>

<version>${dep.maven-surefire-junit5-tree-reporter}</version>
                </dependency>
              </dependencies>
            </plugin>
          </plugins>
        </pluginManagement>

I'm guessing that
With 4.0.0-alpha-4 enforcer evaluates the version number after combining
all pluginManagement sections.
With 4.0.0-alpha-5 enforcer evaluates each pluginManagement section
independently.

I would like to only set the version number once. Is this an issue for
enforcer-plugin/rules?


On Wed, 15 Mar 2023 at 20:25, Guillaume Nodet <gn...@apache.org> wrote:

> Do you have a small project to reproduce the problem ?
> The violation looks legit if you haven't specified a version for the
> surefire plugin.
>
> Le mer. 15 mars 2023 à 19:21, Delany <de...@gmail.com> a écrit
> :
>
> > Build fails
> >
> > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
> > goal org.apache.maven.plugins:maven-enforcer-plugin:3.2.1:enforce (fail)
> on
> > project t1000:
> > Rule 0: org.apache.maven.enforcer.rules.RequirePluginVersions failed with
> > message:
> > Some plugins are missing valid versions or depend on Maven 4.0.0-alpha-5
> > defaults (LATEST, RELEASE as plugin version are not allowed)
> >    org.apache.maven.plugins:maven-surefire-plugin.      The version
> > currently in use is 3.0.0 via super POM or default lifecycle bindings
> >
> > I don't get this with 4.0.0-alpha-4
> >
> >
> > On Wed, 15 Mar 2023 at 19:14, Guillaume Nodet <gn...@apache.org> wrote:
> >
> > > Hey
> > >
> > > We solved 26 issues:
> > >
> > >
> > >
> >
> https://issues.apache.org/jira/secure/ReleaseNote.jspa?version=12352862&projectId=12316922
> > >
> > > Staging repository:
> > >   https://repository.apache.org/content/repositories/maven-1890
> > >
> > > Dev dist directory:
> > >   https://dist.apache.org/repos/dist/dev/maven/maven-4/4.0.0-alpha-5/
> > >
> > > Staged site:
> > >   https://maven.apache.org/ref/4-LATEST/
> > >
> > > Guide to testing staged releases:
> > > http://maven.apache.org/guides/development/guide-testing-releases.html
> > >
> > > Please review and vote !
> > >
> > > Cheers,
> > > Guillaume Nodet
> > >
> >
>
>
> --
> ------------------------
> Guillaume Nodet
>

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

Posted by Guillaume Nodet <gn...@apache.org>.
Do you have a small project to reproduce the problem ?
The violation looks legit if you haven't specified a version for the
surefire plugin.

Le mer. 15 mars 2023 à 19:21, Delany <de...@gmail.com> a écrit :

> Build fails
>
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
> goal org.apache.maven.plugins:maven-enforcer-plugin:3.2.1:enforce (fail) on
> project t1000:
> Rule 0: org.apache.maven.enforcer.rules.RequirePluginVersions failed with
> message:
> Some plugins are missing valid versions or depend on Maven 4.0.0-alpha-5
> defaults (LATEST, RELEASE as plugin version are not allowed)
>    org.apache.maven.plugins:maven-surefire-plugin.      The version
> currently in use is 3.0.0 via super POM or default lifecycle bindings
>
> I don't get this with 4.0.0-alpha-4
>
>
> On Wed, 15 Mar 2023 at 19:14, Guillaume Nodet <gn...@apache.org> wrote:
>
> > Hey
> >
> > We solved 26 issues:
> >
> >
> >
> https://issues.apache.org/jira/secure/ReleaseNote.jspa?version=12352862&projectId=12316922
> >
> > Staging repository:
> >   https://repository.apache.org/content/repositories/maven-1890
> >
> > Dev dist directory:
> >   https://dist.apache.org/repos/dist/dev/maven/maven-4/4.0.0-alpha-5/
> >
> > Staged site:
> >   https://maven.apache.org/ref/4-LATEST/
> >
> > Guide to testing staged releases:
> > http://maven.apache.org/guides/development/guide-testing-releases.html
> >
> > Please review and vote !
> >
> > Cheers,
> > Guillaume Nodet
> >
>


-- 
------------------------
Guillaume Nodet

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

Posted by Delany <de...@gmail.com>.
Build fails

org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
goal org.apache.maven.plugins:maven-enforcer-plugin:3.2.1:enforce (fail) on
project t1000:
Rule 0: org.apache.maven.enforcer.rules.RequirePluginVersions failed with
message:
Some plugins are missing valid versions or depend on Maven 4.0.0-alpha-5
defaults (LATEST, RELEASE as plugin version are not allowed)
   org.apache.maven.plugins:maven-surefire-plugin.      The version
currently in use is 3.0.0 via super POM or default lifecycle bindings

I don't get this with 4.0.0-alpha-4


On Wed, 15 Mar 2023 at 19:14, Guillaume Nodet <gn...@apache.org> wrote:

> Hey
>
> We solved 26 issues:
>
>
> https://issues.apache.org/jira/secure/ReleaseNote.jspa?version=12352862&projectId=12316922
>
> Staging repository:
>   https://repository.apache.org/content/repositories/maven-1890
>
> Dev dist directory:
>   https://dist.apache.org/repos/dist/dev/maven/maven-4/4.0.0-alpha-5/
>
> Staged site:
>   https://maven.apache.org/ref/4-LATEST/
>
> Guide to testing staged releases:
> http://maven.apache.org/guides/development/guide-testing-releases.html
>
> Please review and vote !
>
> Cheers,
> Guillaume Nodet
>

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

Posted by Guillaume Nodet <gn...@apache.org>.
+1

Le mer. 15 mars 2023 à 18:14, Guillaume Nodet <gn...@apache.org> a écrit :

> Hey
>
> We solved 26 issues:
>
> https://issues.apache.org/jira/secure/ReleaseNote.jspa?version=12352862&projectId=12316922
>
> Staging repository:
>   https://repository.apache.org/content/repositories/maven-1890
>
> Dev dist directory:
>   https://dist.apache.org/repos/dist/dev/maven/maven-4/4.0.0-alpha-5/
>
> Staged site:
>   https://maven.apache.org/ref/4-LATEST/
>
> Guide to testing staged releases:
> http://maven.apache.org/guides/development/guide-testing-releases.html
>
> Please review and vote !
>
> Cheers,
> Guillaume Nodet
>
>

-- 
------------------------
Guillaume Nodet

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

Posted by Petr Široký <pe...@proton.me.INVALID>.
+1 (non-binding)

Smoke tested on Linux with JDK 19 and 20 (EA build) and looks good.


------- Original Message -------
On Wednesday, March 15th, 2023 at 18:14, Guillaume Nodet <gn...@apache.org> wrote:


> 
> 
> Hey
> 
> We solved 26 issues:
> 
> https://issues.apache.org/jira/secure/ReleaseNote.jspa?version=12352862&projectId=12316922
> 
> Staging repository:
> https://repository.apache.org/content/repositories/maven-1890
> 
> Dev dist directory:
> https://dist.apache.org/repos/dist/dev/maven/maven-4/4.0.0-alpha-5/
> 
> Staged site:
> https://maven.apache.org/ref/4-LATEST/
> 
> Guide to testing staged releases:
> http://maven.apache.org/guides/development/guide-testing-releases.html
> 
> Please review and vote !
> 
> Cheers,
> Guillaume Nodet

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


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

Posted by Arnaud Héritier <ah...@gmail.com>.
+1

Le dim. 19 mars 2023 à 08:28, Slawomir Jaranowski <s....@gmail.com>
a écrit :

> +1
>
> śr., 15 mar 2023 o 18:14 Guillaume Nodet <gn...@apache.org> napisał(a):
>
> > Hey
> >
> > We solved 26 issues:
> >
> >
> >
> https://issues.apache.org/jira/secure/ReleaseNote.jspa?version=12352862&projectId=12316922
> >
> > Staging repository:
> >   https://repository.apache.org/content/repositories/maven-1890
> >
> > Dev dist directory:
> >   https://dist.apache.org/repos/dist/dev/maven/maven-4/4.0.0-alpha-5/
> >
> > Staged site:
> >   https://maven.apache.org/ref/4-LATEST/
> >
> > Guide to testing staged releases:
> > http://maven.apache.org/guides/development/guide-testing-releases.html
> >
> > Please review and vote !
> >
> > Cheers,
> > Guillaume Nodet
> >
>
>
> --
> Sławomir Jaranowski
>
-- 
Arnaud Héritier
Twitter/GitHub/... : aheritier

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

Posted by Slawomir Jaranowski <s....@gmail.com>.
+1

śr., 15 mar 2023 o 18:14 Guillaume Nodet <gn...@apache.org> napisał(a):

> Hey
>
> We solved 26 issues:
>
>
> https://issues.apache.org/jira/secure/ReleaseNote.jspa?version=12352862&projectId=12316922
>
> Staging repository:
>   https://repository.apache.org/content/repositories/maven-1890
>
> Dev dist directory:
>   https://dist.apache.org/repos/dist/dev/maven/maven-4/4.0.0-alpha-5/
>
> Staged site:
>   https://maven.apache.org/ref/4-LATEST/
>
> Guide to testing staged releases:
> http://maven.apache.org/guides/development/guide-testing-releases.html
>
> Please review and vote !
>
> Cheers,
> Guillaume Nodet
>


-- 
Sławomir Jaranowski

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

Posted by Romain Manni-Bucau <rm...@gmail.com>.
+1

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 dim. 19 mars 2023 à 08:36, Olivier Lamy <ol...@apache.org> a écrit :

> +1
>
> On Thu, 16 Mar 2023 at 03:14, Guillaume Nodet <gn...@apache.org> wrote:
> >
> > Hey
> >
> > We solved 26 issues:
> >
> >
> https://issues.apache.org/jira/secure/ReleaseNote.jspa?version=12352862&projectId=12316922
> >
> > Staging repository:
> >   https://repository.apache.org/content/repositories/maven-1890
> >
> > Dev dist directory:
> >   https://dist.apache.org/repos/dist/dev/maven/maven-4/4.0.0-alpha-5/
> >
> > Staged site:
> >   https://maven.apache.org/ref/4-LATEST/
> >
> > Guide to testing staged releases:
> > http://maven.apache.org/guides/development/guide-testing-releases.html
> >
> > Please review and vote !
> >
> > Cheers,
> > Guillaume Nodet
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
>

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

Posted by Olivier Lamy <ol...@apache.org>.
+1

On Thu, 16 Mar 2023 at 03:14, Guillaume Nodet <gn...@apache.org> wrote:
>
> Hey
>
> We solved 26 issues:
>
> https://issues.apache.org/jira/secure/ReleaseNote.jspa?version=12352862&projectId=12316922
>
> Staging repository:
>   https://repository.apache.org/content/repositories/maven-1890
>
> Dev dist directory:
>   https://dist.apache.org/repos/dist/dev/maven/maven-4/4.0.0-alpha-5/
>
> Staged site:
>   https://maven.apache.org/ref/4-LATEST/
>
> Guide to testing staged releases:
> http://maven.apache.org/guides/development/guide-testing-releases.html
>
> Please review and vote !
>
> Cheers,
> Guillaume Nodet

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


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

Posted by Karl Heinz Marbaise <kh...@gmx.de>.
Hi,

+1 from me.

Kind regards
Karl Heinz Marbaise
On 15.03.23 18:14, Guillaume Nodet wrote:
> Hey
>
> We solved 26 issues:
>
> https://issues.apache.org/jira/secure/ReleaseNote.jspa?version=12352862&projectId=12316922
>
> Staging repository:
>    https://repository.apache.org/content/repositories/maven-1890
>
> Dev dist directory:
>    https://dist.apache.org/repos/dist/dev/maven/maven-4/4.0.0-alpha-5/
>
> Staged site:
>    https://maven.apache.org/ref/4-LATEST/
>
> Guide to testing staged releases:
> http://maven.apache.org/guides/development/guide-testing-releases.html
>
> Please review and vote !
>
> Cheers,
> Guillaume Nodet
>


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


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

Posted by Guillaume Nodet <gn...@apache.org>.
Closing this vote with 7 +1s and no other votes (PMC quorum reached).

Thx !
Guillaume

Le mer. 15 mars 2023 à 18:14, Guillaume Nodet <gn...@apache.org> a écrit :

> Hey
>
> We solved 26 issues:
>
> https://issues.apache.org/jira/secure/ReleaseNote.jspa?version=12352862&projectId=12316922
>
> Staging repository:
>   https://repository.apache.org/content/repositories/maven-1890
>
> Dev dist directory:
>   https://dist.apache.org/repos/dist/dev/maven/maven-4/4.0.0-alpha-5/
>
> Staged site:
>   https://maven.apache.org/ref/4-LATEST/
>
> Guide to testing staged releases:
> http://maven.apache.org/guides/development/guide-testing-releases.html
>
> Please review and vote !
>
> Cheers,
> Guillaume Nodet
>
>

-- 
------------------------
Guillaume Nodet