Re: Re: Maven API

2022-04-21 Thread Nick Stolwijk
Hi Maxime,

In the past I have used the oga-maven-plugin [1]. This plugin has its own
list of moved artifacts and can warn/fail your build when it detects a
moved artifact.

[1] https://github.com/jonathanlermitage/oga-maven-plugin

Hth,

Nick Stolwijk

~~~ Try to leave this world a little better than you found it and, when
your turn comes to die, you can die happy in feeling that at any rate you
have not wasted your time but have done your best ~~~

Lord Baden-Powell


On Fri, Apr 22, 2022 at 12:08 AM Maxime D'abreu 
wrote:

> Hi,
>
> « What tools do you use for building your project ? »
> I use Maven
>
> « What is the special requirement to build own one software? »
> I would like to update the various dependencies and plugins of my projects.
>
> versions-maven-plugin answers part of the problem by indicating the
> updates.
>
> But how to know if a project has been moved ?
> I take again the example with the following project
> https://mvnrepository.com/artifact/org.apache.commons/commons-math
> in pom you don't have the  tag
> but directely on mvnrepository.com you have
> how to get this information avoiding html parsing because I don't see a
> solution with versions-maven-plugin.
>
> Best Regards.
>
>
> On 2022/04/15 08:26:15 Slawomir Jaranowski wrote:
> > Hi Maxime,
> >
> > Most build tools have tasks to display, update dependencies.
> > For the Maven project you can simply use Versions Maven Plugin [1] [2]
> >
> > What tools do you use for building your project?
> > What is the special requirement to build own one software?
> >
> > [1] https://www.mojohaus.org/versions-maven-plugin/index.html
> > [2]
> >
> https://www.mojohaus.org/versions-maven-plugin/examples/display-dependency-updates.html
> >
> >
> > czw., 14 kwi 2022 o 18:48 Maxime D'abreu 
> 
> > napisał(a):
> >
> > > Hello,
> > >
> > > I would like to create a software or script for automatic update my
> > > projects, i have already tried some APIs like
> https://search.maven.org/
> > > but this one does not meet the need such as knowing if a project has
> > > been moved.
> > >
> > > Same thing for pom parsing directly from urls
> > > https://repo.maven.apache.org/maven2/ or
> https://repo1.maven.org/maven2/
> > > for exemple for the following projects:
> > > https://mvnrepository.com/artifact/org.apache.commons/commons-math
> > > https://mvnrepository.com/artifact/junit/junit
> > > and many others you don't have the  tag
> > > but there must be a solution because even without this tag directly on
> > > the site, the movement indications are present
> > > https://mvnrepository.com/artifact/org.apache.commons/commons-math
> > >
> > >
> > > Do you have any suggestion or solution to avoid a brutal solution of
> > > html parsing ?
> > >
> > > --
> > > Best Regards.
> > > Maxime D'Abreu.
> > >
> > > logo Lex Persona
> > >
> > >
> > >
> > > Maxime D'Abreu
> > > Développeur
> > > /
> > > t: +33(0)3 25 43 90 78
> > > e: max...@lex-persona.com 
> 
> > > w: www.lex-persona.com 
> 
> > >
> > >
> > >
> > > L'intégrité de ce message, s'il n'est pas signé électroniquement, n'est
> > > pas assurée sur Internet. Par conséquent Lex Persona ne peut être tenu
> > > responsable de son contenu. Toute utilisation ou diffusion non
> autorisée
> > > est interdite. Si vous n'êtes pas destinataire de ce message, merci de
> > > le détruire et d'avertir l'expéditeur.
> > > The integrity of this message, if not digitally signed, cannot be
> > > guaranteed on the Internet. Lex Persona cannot therefore be considered
> > > responsible for its contents. Any unauthorized use or dissemination is
> > > prohibited. If you are not the intended recipient of this message, then
> > > please delete it and notify the sender.
> > >
> >
> >
> > --
> > Sławomir Jaranowski
> >
>
> --
> Bien Cordialement.
> Maxime D'Abreu.
>
> [image: logo Lex Persona]
>
> Maxime D'Abreu
> Développeur
> /
> t: +33(0)3 25 43 90 78
> e: max...@lex-persona.com
> w: www.lex-persona.com
>
> L'intégrité de ce message, s'il n'est pas signé électroniquement, n'est
> pas assurée sur Internet. Par conséquent Lex Persona ne peut être tenu
> responsable de son contenu. Toute utilisation ou diffusion non autorisée
> est interdite. Si vous n'êtes pas destinataire de ce message, merci de le
> détruire et d'avertir l'expéditeur.
> The integrity of this message, if not digitally signed, cannot be
> guaranteed on the Internet. Lex Persona cannot therefore be considered
> responsible for its contents. Any unauthorized use or dissemination is
> prohibited. If you are not the intended recipient of this message, then
> please delete it and notify the sender.
>


RE: Re: Maven API

2022-04-21 Thread Maxime D'abreu

Hi,

« What tools do you use for building your project ? »
I use Maven

« What is the special requirement to build own one software? »
I would like to update the various dependencies and plugins of my projects.

versions-maven-plugin answers part of the problem by indicating the updates.

But how to know if a project has been moved ?
I take again the example with the following project
https://mvnrepository.com/artifact/org.apache.commons/commons-math
in pom you don't have the  tag
but directely on mvnrepository.com you have
how to get this information avoiding html parsing because I don't see a 
solution with versions-maven-plugin.


Best Regards.


On 2022/04/15 08:26:15 Slawomir Jaranowski wrote:
> Hi Maxime,
>
> Most build tools have tasks to display, update dependencies.
> For the Maven project you can simply use Versions Maven Plugin [1] [2]
>
> What tools do you use for building your project?
> What is the special requirement to build own one software?
>
> [1] https://www.mojohaus.org/versions-maven-plugin/index.html
> [2]
> 
https://www.mojohaus.org/versions-maven-plugin/examples/display-dependency-updates.html

>
>
> czw., 14 kwi 2022 o 18:48 Maxime D'abreu 
> napisał(a):
>
> > Hello,
> >
> > I would like to create a software or script for automatic update my
> > projects, i have already tried some APIs like https://search.maven.org/
> > but this one does not meet the need such as knowing if a project has
> > been moved.
> >
> > Same thing for pom parsing directly from urls
> > https://repo.maven.apache.org/maven2/ or 
https://repo1.maven.org/maven2/

> > for exemple for the following projects:
> > https://mvnrepository.com/artifact/org.apache.commons/commons-math
> > https://mvnrepository.com/artifact/junit/junit
> > and many others you don't have the  tag
> > but there must be a solution because even without this tag directly on
> > the site, the movement indications are present
> > https://mvnrepository.com/artifact/org.apache.commons/commons-math
> >
> >
> > Do you have any suggestion or solution to avoid a brutal solution of
> > html parsing ?
> >
> > --
> > Best Regards.
> > Maxime D'Abreu.
> >
> > logo Lex Persona
> >
> >
> >
> > Maxime D'Abreu
> > Développeur
> > /
> > t: +33(0)3 25 43 90 78
> > e: max...@lex-persona.com 
> > w: www.lex-persona.com 
> >
> >
> >
> > L'intégrité de ce message, s'il n'est pas signé électroniquement, n'est
> > pas assurée sur Internet. Par conséquent Lex Persona ne peut être tenu
> > responsable de son contenu. Toute utilisation ou diffusion non 
autorisée

> > est interdite. Si vous n'êtes pas destinataire de ce message, merci de
> > le détruire et d'avertir l'expéditeur.
> > The integrity of this message, if not digitally signed, cannot be
> > guaranteed on the Internet. Lex Persona cannot therefore be considered
> > responsible for its contents. Any unauthorized use or dissemination is
> > prohibited. If you are not the intended recipient of this message, then
> > please delete it and notify the sender.
> >
>
>
> --
> Sławomir Jaranowski
>

--
Bien Cordialement.
Maxime D'Abreu.

logo Lex Persona



Maxime D'Abreu
Développeur
/
t: +33(0)3 25 43 90 78
e: max...@lex-persona.com 
w: www.lex-persona.com 



L'intégrité de ce message, s'il n'est pas signé électroniquement, n'est 
pas assurée sur Internet. Par conséquent Lex Persona ne peut être tenu 
responsable de son contenu. Toute utilisation ou diffusion non autorisée 
est interdite. Si vous n'êtes pas destinataire de ce message, merci de 
le détruire et d'avertir l'expéditeur.
The integrity of this message, if not digitally signed, cannot be 
guaranteed on the Internet. Lex Persona cannot therefore be considered 
responsible for its contents. Any unauthorized use or dissemination is 
prohibited. If you are not the intended recipient of this message, then 
please delete it and notify the sender.


[RESULT] [VOTE] Release Apache Maven Parent POMs version 36

2022-04-21 Thread Slawomir Jaranowski
Hi,

The vote has passed with the following result:

+1 : Sylwester Lachiewicz, Michael Osipov, Slawomir Jaranowski, Tamás
Cservenák

PMC quorum: reached

I will promote the source release zip file to Apache distribution area and
the artifacts to the central repo.

-- 
Sławomir Jaranowski


[ANN] Maven Antrun Plugin 3.1.0 released

2022-04-21 Thread Michael Osipov
The Apache Maven team is pleased to announce the release of the Maven 
Antrun Plugin version 3.1.0.


https://maven.apache.org/plugins/maven-antrun-plugin/

You should specify the version in your project's plugin configuration:


  org.apache.maven.plugins
  maven-antrun-plugin
  3.1.0



Release Notes - Maven Antrun Plugin - Version 3.1.0

** Improvement
* [MANTRUN-228] - Add schema for Ant Tasks

** Task
* [MANTRUN-224] - Require Java 8
* [MANTRUN-232] - Upgrade Maven to 3.2.5

** Dependency upgrade
* [MANTRUN-225] - Upgrade Ant to 1.10.7
* [MANTRUN-226] - Bump minimum required Maven for Plugin to 3.1.1
* [MANTRUN-227] - Upgrade Ant to 1.10.12
* [MANTRUN-236] - Upgrade Maven Plugin Plugin to 3.6.4


Enjoy,

-The Apache Maven team

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



[RESULT] [VOTE] Release Maven Antrun Plugin version 3.1.0

2022-04-21 Thread Michael Osipov

Hi,

The vote has passed with the following result:

+1: Hervé Boutemy, Michael Osipov, Sylwester Lachiewicz, Slawomir 
Jaranowski, Tamás Cservenák


PMC quorum: reached

I will promote the artifacts to the central repo, the source release ZIP 
file

and add this release the board report.

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



[ANN] Maven EJB Plugin 3.2.1 released

2022-04-21 Thread Michael Osipov
The Apache Maven team is pleased to announce the release of the Maven 
EJB Plugin version 3.2.1.


https://maven.apache.org/plugins/maven-ejb-plugin/

You should specify the version in your project's plugin configuration:


  org.apache.maven.plugins
  maven-ejb-plugin
  3.2.1



Release Notes - Maven EJB Plugin - Version 3.2.1

** Task
* [MEJB-131] - Upgrade Maven to 3.2.5
* [MEJB-133] - Upgrade to Java 8


Enjoy,

-The Apache Maven team

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



[ANN] Maven PDF Plugin 1.6.0 released

2022-04-21 Thread Michael Osipov
The Apache Maven team is pleased to announce the release of the Maven 
PDF Plugin version 1.6.0.


https://maven.apache.org/plugins/maven-pdf-plugin/

You should specify the version in your project's plugin configuration:


  org.apache.maven.plugins
  maven-pdf-plugin
  1.6.0



Release Notes - Maven PDF Plugin - Version 1.6.0

** Task
* [MPDF-100] - Remove remains of org.codehaus.doxia.sink.Sink

** Dependency upgrade
* [MPDF-101] - Upgrade Maven to 3.2.5
* [MPDF-102] - Upgrade Maven Plugin Plugin to 3.6.4
* [MPDF-103] - Upgrade plugins in ITs


Enjoy,

-The Apache Maven team

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



Re: [VOTE] Release Apache Maven Reporting Impl version 4.0.0-M1

2022-04-21 Thread Michael Osipov

Am 2022-04-20 um 20:32 schrieb Michael Osipov:

Hi,

We solved 5 issues:
https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12317922=12351596 



There are still a couple of issues left in JIRA:
https://issues.apache.org/jira/issues/?jql=project%20%3D%20MSHARED%20AND%20resolution%20%3D%20Unresolved%20AND%20component%20%3D%20maven-reporting-impl 



Staging repo:
https://repository.apache.org/content/repositories/maven-1745/
https://repository.apache.org/content/repositories/maven-1745/org/apache/maven/reporting/maven-reporting-impl/4.0.0-M1/maven-reporting-impl-4.0.0-M1-source-release.zip 



Source release checksum(s):
maven-reporting-impl-4.0.0-M1-source-release.zip
sha512: 
2020ba0554c2780e04ac05500f5ffc697f81f43a3a6adaed4b6213061264d1e3c3aac2544d04f9dc5dd0213afe4c6a298480b57cea9efdc4257175d2664fc2c2 



Staging site:
https://maven.apache.org/shared-archives/maven-reporting-impl-LATEST/

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

Vote open for 72 hours.


+1

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



[RESULT] [VOTE] Release Maven EJB Plugin version 3.2.1

2022-04-21 Thread Michael Osipov

Hi,

The vote has passed with the following result:

+1: Hervé Boutemy, Michael Osipov, Sylwester Lachiewicz, Olivier Lamy, 
Slawomir Jaranowski, Tamás Cservenák, Karl Heinz Marbaise


PMC quorum: reached

I will promote the artifacts to the central repo, the source release ZIP 
file

and add this release the board report.


[RESULT] [VOTE] Release Maven PDF Plugin version 1.6.0

2022-04-21 Thread Michael Osipov

Hi,

The vote has passed with the following result:

+1: Michael Osipov, Sylwester Lachiewicz, Hervé Boutemy, Tamás 
Cservenák, Slawomir Jaranowski


PMC quorum: reached

I will promote the artifacts to the central repo, the source release ZIP 
file and add this release the board report.


Re: Change of Chair

2022-04-21 Thread Ralph Goers
Thanks for all you’ve done as chair Robert. It has been much appreciated. 

Congrats Karl!

Ralph

> On Apr 21, 2022, at 4:57 PM, Robert Scholte  wrote:
> 
> Hi all,
> 
> as of now, Karl Heinz is the new chairman of the Apache Maven project.
> I've done it for quite some time with a lot of pleasure.
> I will also reduce my activities on this project, but will still be involved 
> as PMC member.
> 
> thanks,
> Robert
> 
> 
> -
> 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



Change of Chair

2022-04-21 Thread Robert Scholte

Hi all,

as of now, Karl Heinz is the new chairman of the Apache Maven project.
I've done it for quite some time with a lot of pleasure.
I will also reduce my activities on this project, but will still be 
involved as PMC member.


thanks,
Robert


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



Re: [VOTE] Release Apache Maven Parent POMs version 36

2022-04-21 Thread Tamás Cservenák
+1

On Mon, Apr 18, 2022 at 10:51 PM Slawomir Jaranowski 
wrote:

> Hi
>
> We solved 7 issues:
>
> https://issues.apache.org/jira/secure/ReleaseNote.jspa?version=12351408=Text=12311250
>
> Changes since the last release:
>
> https://github.com/apache/maven-parent/compare/maven-parent-35...maven-parent-36
>
> Staging repo:
> https://repository.apache.org/content/repositories/maven-1744/
> https://repository.apache.org/content/repositories/orgapacheapache-1025/
>
> https://repository.apache.org/content/repositories/maven-1744/org/apache/maven/maven-parent/36/maven-parent-36-source-release.zip
>
> Source release checksum(s):
> maven-parent-36-source-release.zip - SHA-512 :
>
> a42c670ef78dfc8c8df94cbf7ef7abc6c395284ab0c406499b729e10a22ca53656777fbb236ba2baccb84f49f09323ffed4f43bb1625680f1deebabf388aa0ca
>
> Staging site:
> https://maven.apache.org/pom-archives/maven-LATEST/
>
> Guide to testing staged releases:
> https://maven.apache.org/guides/development/guide-testing-releases.html
>
> Vote open for at least 72 hours.
>
> [ ] +1
> [ ] +0
> [ ] -1
>
> --
> Sławomir Jaranowski
>


Re: [ANN] Maven Resolver 1.8.0 released

2022-04-21 Thread Tamás Cservenák
Howdy,

To use it with existing releases, you'd need to swap out the core maven
dependencies, as the plugin cannot "replace" these.
Simplest is to rebuild, see here
https://maven.apache.org/resolver/maven-3.8.x.html

Thanks
T

On Wed, Apr 20, 2022 at 11:54 PM Mark Derricutt  wrote:

> What version of maven can this be used under?  I call this from one of my
> plugins and when updating to 1.8.0 I get:
>
> Caused by: java.lang.NoSuchMethodError: 'java.util.List
>
> org.eclipse.aether.spi.connector.layout.RepositoryLayout.getChecksumAlgorithmFactories()'
> at org.eclipse.aether.connector.basic.BasicRepositoryConnector.get
> (BasicRepositoryConnector.java:230)
> at
> org.eclipse.aether.internal.impl.DefaultMetadataResolver$ResolveTask.run
> (DefaultMetadataResolver.java:586)
> at org.eclipse.aether.util.concurrency.RunnableErrorForwarder$1.run
> (RunnableErrorForwarder.java:75)
> at org.eclipse.aether.internal.impl.DefaultMetadataResolver$1.execute
> (DefaultMetadataResolver.java:510)
> at org.eclipse.aether.internal.impl.DefaultMetadataResolver.resolve
> (DefaultMetadataResolver.java:353)
> at
> org.eclipse.aether.internal.impl.DefaultMetadataResolver.resolveMetadata
> (DefaultMetadataResolver.java:181)
> at
> org.apache.maven.repository.internal.DefaultVersionRangeResolver.getVersions
> (DefaultVersionRangeResolver.java:198)
> at
> org.apache.maven.repository.internal.DefaultVersionRangeResolver.resolveVersionRange
> (DefaultVersionRangeResolver.java:148)
> at
> org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveVersionRange
> (DefaultRepositorySystem.java:247)
>
>
> when running under Maven 3.8.5 - I only updated the following deps:
>
> resolved org.apache.maven.resolver:maven-resolver-api:1.8.0;
> resolved org.apache.maven.resolver:maven-resolver-connector-basic:1.8.0;
> resolved org.apache.maven.resolver:maven-resolver-impl:1.8.0;
> resolved org.apache.maven.resolver:maven-resolver-spi:1.8.0;
> resolved org.apache.maven.resolver:maven-resolver-transport-file:1.8.0;
> resolved org.apache.maven.resolver:maven-resolver-transport-http:1.8.0;
> resolved org.apache.maven.resolver:maven-resolver-util:1.8.0;
>
>
> So maybe there’s something else I need to update?
>
> --
> "Great artists are extremely selfish and arrogant things" — Steven Wilson,
> Porcupine Tree
>
>
> On 21/04/2022 at 4:26:22 AM, Michael Osipov  wrote:
>
> > The Apache Maven team is pleased to announce the release of the Maven
> > Resolver version 1.8.0.
> >
> > https://maven.apache.org/resolver/
> >
> > Release Notes - Maven Resolver - Version 1.8.0
> >
> > ** Bug
> > * [MRESOLVER-241] - Resolver checksum calculation should be driven
> > by layout
> > * [MRESOLVER-242] - When no remote checksums provided by layout,
> > transfer inevitably fails/warns
> > * [MRESOLVER-250] - Usage of descriptors map in DataPool prevents
> > gargabe collection
> >
> > ** New Feature
> > * [MRESOLVER-236] - Make it possible to resolve .asc on a 'fail'
> >  respository.
> >
> > ** Improvement
> > * [MRESOLVER-240] - Using breadth-first approach to resolve Maven
> > dependencies
> > * [MRESOLVER-247] - Avoid unnecessary dependency resolution by a
> > Skip solution based on BFS
> > * [MRESOLVER-248] - Make DF and BF collector implementations coexist
> >
> > ** Task
> > * [MRESOLVER-230] - Make supported checksum algorithms extensible
> > * [MRESOLVER-231] - Extend "smart checksum" feature
> > * [MRESOLVER-234] - Introduce "provided" checksums feature
> > * [MRESOLVER-237] - Make all checksum mismatches handled same
> > * [MRESOLVER-239] - Update and sanitize dependencies
> > * [MRESOLVER-244] - Deprecate FileTransformer API
> > * [MRESOLVER-245] - Isolate Hazelcast tests
> >
> > ** Dependency upgrade
> > * [MRESOLVER-249] - Update Hazelcast to 5.1.1 in
> > named-locks-hazelcast module
> >
> >
> > Enjoy,
> >
> > -The Apache Maven team
> >
> > -
> > To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
> > For additional commands, e-mail: dev-h...@maven.apache.org
> >
> >
>