[ANN] Apache Maven 3.8.4 released

2021-11-20 Thread Michael Osipov
The Apache Maven team is pleased to announce the release of the Apache 
Maven 3.8.4


Apache Maven is a software project management and comprehension tool. 
Based on the concept
of a project object model (POM), Maven can manage a project's build, 
reporting and documentation

from a central piece of information.

Maven 3.8.4 is available via https://maven.apache.org/download.cgi

The core release is independent of plugin releases. Further releases of 
plugins will be made

separately.

If you have any questions, please consult:

- the web site: https://maven.apache.org/
- the maven-user mailing list: https://maven.apache.org/mailing-lists.html
- the reference documentation: https://maven.apache.org/ref/3.8.4/


Release Notes - Maven - Version 3.8.4

** Bug
* [MNG-7270] - Maven startup script (init) calls which(1) which is 
an external command
* [MNG-7285] - [Regression] MavenProject.getArtifacts() not 
returning correct value across multiple threads
* [MNG-7300] - [Regression] Reloading web application (Enter) fails 
due to java.lang.ClassNotFoundException


** Task
* [MNG-7312] - Revert ThreadLocal approach from MNG-6843 and MNG-7251

** Dependency upgrade
* [MNG-7331] - Upgrade Jansi to 2.4.0


For more information read 
https://maven.apache.org/docs/3.8.4/release-notes.html


Enjoy!

- The Maven Team

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



Re: Need help for maven site plugin for Apache Helix

2021-11-20 Thread Olivier Lamy
Thanks Hervé!.
@Junkai I have merged Hervé's PR



On Sat, 20 Nov 2021 at 20:31, Hervé BOUTEMY  wrote:

> FYI, on the "SiteToolException: Error parsing site descriptor: TEXT must
> beimmediately followed by END_TAG and not START_TAG" error, the key Maven
> Site
> Plugin version is version 3.5, where the parsing of site.xml changed:
> previously it was parser as XML, and since 3.5 it is parsed as text
>
> the consequence is that in general, you need to surround head and footer
> data
> from site.xml (including parents) with 
>
> that's why Apache parent version is related to maven-site-plugin version
>
> HTH
>
> Hervé
>
> Le samedi 20 novembre 2021, 09:19:41 CET Hervé BOUTEMY a écrit :
> > Hi,
> >
> > Apache parent 13 is so old...
> >
> > see https://github.com/apache/helix/pull/1909
> > upgrading both Apache parent POM and maven-site-plugin seems to do the
> job
> >
> > Regards,
> >
> > Hervé
> >
> > Le jeudi 18 novembre 2021, 00:04:03 CET Junkai Xue a écrit :
> > > Hi,
> > >
> > > I was trying to deploy Apache Helix project website for new releases.
> Got
> > > exception on
> > >
> > > *SiteToolException: The site descriptor cannot be resolved from the
> > > repository: ArtifactResolutionException: Unable to locate site
> descriptor:
> > > Could not transfer artifact org.apache:apache:xml:site_en:13 from/to
> > > mvnrepository.com  (
> https://mvnrepository.com
> > > ): Access denied to:
> > > https://mvnrepository.com/org/apache/apache/13/apache-13-site_en.xml
> > > 
> ,
> > > ReasonPhrase:Forbidden.*
> > >
> > > [*ERROR*] *  org.apache:apache:xml:13*
> > >
> > > [*ERROR*]
> > >
> > > [*ERROR*] *from the specified remote repositories:*
> > >
> > > [*ERROR*] *  restlet.talend.com 
> > > (https://maven.restlet.talend.com ,
> > > releases=true, snapshots=false),*
> > >
> > > [*ERROR*] *  mvnrepository.com 
> > > (https://mvnrepository.com , releases=true,
> > > snapshots=false),*
> > >
> > > [*ERROR*] *  central (https://repo.maven.apache.org/maven2
> > > , releases=true,
> snapshots=false),*
> > >
> > > [*ERROR*] *  apache.snapshots (http://repository.apache.org/snapshots
> > > , releases=false,
> snapshots=true)*
> > >
> > >
> > > Was this recent change? I tried to upgrade to maven site plugin to
> 3.9.1.
> > > It got error on parsing:
> > >
> > > *SiteToolException: Error parsing site descriptor*: TEXT must be
> > > immediately followed by END_TAG and not START_TAG (position: START_TAG
> > > seen
> > > ...\n  

Re: Need help for maven site plugin for Apache Helix

2021-11-20 Thread Hervé BOUTEMY
FYI, on the "SiteToolException: Error parsing site descriptor: TEXT must 
beimmediately followed by END_TAG and not START_TAG" error, the key Maven Site 
Plugin version is version 3.5, where the parsing of site.xml changed: 
previously it was parser as XML, and since 3.5 it is parsed as text

the consequence is that in general, you need to surround head and footer data 
from site.xml (including parents) with 

that's why Apache parent version is related to maven-site-plugin version

HTH

Hervé

Le samedi 20 novembre 2021, 09:19:41 CET Hervé BOUTEMY a écrit :
> Hi,
> 
> Apache parent 13 is so old...
> 
> see https://github.com/apache/helix/pull/1909
> upgrading both Apache parent POM and maven-site-plugin seems to do the job
> 
> Regards,
> 
> Hervé
> 
> Le jeudi 18 novembre 2021, 00:04:03 CET Junkai Xue a écrit :
> > Hi,
> > 
> > I was trying to deploy Apache Helix project website for new releases. Got
> > exception on
> > 
> > *SiteToolException: The site descriptor cannot be resolved from the
> > repository: ArtifactResolutionException: Unable to locate site descriptor:
> > Could not transfer artifact org.apache:apache:xml:site_en:13 from/to
> > mvnrepository.com  (https://mvnrepository.com
> > ): Access denied to:
> > https://mvnrepository.com/org/apache/apache/13/apache-13-site_en.xml
> >  ,
> > ReasonPhrase:Forbidden.*
> > 
> > [*ERROR*] *  org.apache:apache:xml:13*
> > 
> > [*ERROR*]
> > 
> > [*ERROR*] *from the specified remote repositories:*
> > 
> > [*ERROR*] *  restlet.talend.com 
> > (https://maven.restlet.talend.com ,
> > releases=true, snapshots=false),*
> > 
> > [*ERROR*] *  mvnrepository.com 
> > (https://mvnrepository.com , releases=true,
> > snapshots=false),*
> > 
> > [*ERROR*] *  central (https://repo.maven.apache.org/maven2
> > , releases=true, snapshots=false),*
> > 
> > [*ERROR*] *  apache.snapshots (http://repository.apache.org/snapshots
> > , releases=false, snapshots=true)*
> > 
> > 
> > Was this recent change? I tried to upgrade to maven site plugin to 3.9.1.
> > It got error on parsing:
> > 
> > *SiteToolException: Error parsing site descriptor*: TEXT must be
> > immediately followed by END_TAG and not START_TAG (position: START_TAG
> > seen
> > ...\n  

Re: Need help for maven site plugin for Apache Helix

2021-11-20 Thread Hervé BOUTEMY
Hi,

Apache parent 13 is so old...

see https://github.com/apache/helix/pull/1909
upgrading both Apache parent POM and maven-site-plugin seems to do the job

Regards,

Hervé

Le jeudi 18 novembre 2021, 00:04:03 CET Junkai Xue a écrit :
> Hi,
> 
> I was trying to deploy Apache Helix project website for new releases. Got
> exception on
> 
> *SiteToolException: The site descriptor cannot be resolved from the
> repository: ArtifactResolutionException: Unable to locate site descriptor:
> Could not transfer artifact org.apache:apache:xml:site_en:13 from/to
> mvnrepository.com  (https://mvnrepository.com
> ): Access denied to:
> https://mvnrepository.com/org/apache/apache/13/apache-13-site_en.xml
>  ,
> ReasonPhrase:Forbidden.*
> 
> [*ERROR*] *  org.apache:apache:xml:13*
> 
> [*ERROR*]
> 
> [*ERROR*] *from the specified remote repositories:*
> 
> [*ERROR*] *  restlet.talend.com 
> (https://maven.restlet.talend.com ,
> releases=true, snapshots=false),*
> 
> [*ERROR*] *  mvnrepository.com 
> (https://mvnrepository.com , releases=true,
> snapshots=false),*
> 
> [*ERROR*] *  central (https://repo.maven.apache.org/maven2
> , releases=true, snapshots=false),*
> 
> [*ERROR*] *  apache.snapshots (http://repository.apache.org/snapshots
> , releases=false, snapshots=true)*
> 
> 
> Was this recent change? I tried to upgrade to maven site plugin to 3.9.1.
> It got error on parsing:
> 
> *SiteToolException: Error parsing site descriptor*: TEXT must be
> immediately followed by END_TAG and not START_TAG (position: START_TAG seen
> ...\n