[ANN] Apache Maven Wagon 3.5.3 released

2022-12-22 Thread Michael Osipov
The Apache Maven team is pleased to announce the release of the Apache 
Maven Wagon, version 3.5.3.


https://maven.apache.org/wagon/


Release Notes - Maven Wagon - Version 3.5.3

** Dependency upgrade
* [WAGON-631] - Upgrade and clean up dependencies


Enjoy,

-The Apache Maven team

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



Re: Maven assembly plugin - Proxies not working with mirrors

2022-12-22 Thread Delany
Sorry not familiar with proxies. Make sure there isn't a bug at
https://issues.apache.org/jira/projects/MNG/issues/MNG-7642?filter=allopenissues
Delany


On Thu, 22 Dec 2022 at 15:34, Abhinav Sharma 
wrote:

> I have tried with maven 3.8.6 as well. Same error comes.
>
> On Thu, 22 Dec, 2022, 19:00 Delany,  wrote:
>
> > Use Maven v3.8.6 if you can Abhinav
> > Delany
> >
> >
> > On Thu, 22 Dec 2022 at 14:17, Abhinav Sharma 
> > wrote:
> >
> > > Hi,
> > > I am using maven 3.8.2 with java 11 in my system, with remotes
> configured
> > > for jfrog artifactory.
> > >
> > > With both mirror and proxy added, mvn is ignoring the proxies and
> failing
> > > to resolve any dependency. How do I set proxies for maven mirrors as
> > well?
> > >
> > > Without a mirror, the maven assembly plugin is not looking in the
> > > configured jfrog repositories for the dependencies. It starts looking
> at
> > > some random repo.
> > >
> > > [INFO] maven-assembly-plugin:3.3.0:single (make-assembly)sample-project
> > ---
> > > Downloading from jvnet-nexus-staging:
> > > http://maven.java.net/content/repositories/staging/
> > > <
> > >
> >
> http://maven.java.net/content/repositories/staging/com/infosys/fbp/platform/fbp-parent-pom/1.5-SNAPSHOT/maven-metadata.xml
> > > >com/example/sample-project/0.0.1-SNAPSHOT
> > > <
> > >
> >
> http://maven.java.net/content/repositories/snapshots/com/infosys/fbp/platform/fbp-parent-pom/1.5-SNAPSHOT/maven-metadata.xml
> > > >/maven-metadata.xml
> > > <
> > >
> >
> http://maven.java.net/content/repositories/staging/com/infosys/fbp/platform/fbp-parent-pom/1.5-SNAPSHOT/maven-metadata.xml
> > > >
> > > Downloading from releases.java.net:
> > > http://maven.java.net/content/repositories/releases/
> > > <
> > >
> >
> http://maven.java.net/content/repositories/releases/com/infosys/fbp/platform/fbp-parent-pom/1.5-SNAPSHOT/maven-metadata.xml
> > > >com/example/sample-project/0.0.1-SNAPSHOT
> > > <
> > >
> >
> http://maven.java.net/content/repositories/snapshots/com/infosys/fbp/platform/fbp-parent-pom/1.5-SNAPSHOT/maven-metadata.xml
> > > >/maven-metadata.xml
> > > <
> > >
> >
> http://maven.java.net/content/repositories/releases/com/infosys/fbp/platform/fbp-parent-pom/1.5-SNAPSHOT/maven-metadata.xml
> > > >
> > > Downloading from shapshots.java.net:
> > >
> > >
> >
> http://maven.java.net/content/repositories/snapshots/com/example/sample-project/0.0.1-SNAPSHOT/maven-metadata.xml
> > > <
> > >
> >
> http://maven.java.net/content/repositories/snapshots/com/infosys/fbp/platform/fbp-parent-pom/1.5-SNAPSHOT/maven-metadata.xml
> > > >
> > >
> > >
> > > I am expecting to access jfrog maven virtual repo with mirror enabled
> > > behind the company proxy, or force assembly plugin to look into the
> > > repositories defined in settings.xml.
> > >
> > > I am using settings.xml file similar to this:
> > >
> > > 
> > > http://maven.apache.org/SETTINGS/1.2.0
> > > http://maven.apache.org/xsd/settings-1.2.0.xsd; xmlns="
> > > http://maven.apache.org/SETTINGS/1.2.0;
> > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance;>
> > >   
> > > 
> > >   username
> > >   password
> > >   central
> > > 
> > > 
> > >   username
> > >   password
> > >   snapshots
> > > 
> > >   
> > >   
> > > 
> > >   *
> > >   project-repo
> > >   https://company.jfrog.io/artifactory/project-repo
> > >   project-repo
> > > 
> > >   
> > >   
> > > 
> > >   
> > > 
> > >   
> > > false
> > >   
> > >   central
> > >   project-repo
> > >   https://company.jfrog.io/artifactory/project-repo
> > > 
> > > 
> > >   
> > >   snapshots
> > >   project-repo
> > >   https://company.jfrog.io/artifactory/project-repo
> > > 
> > >   
> > >   
> > > 
> > >   
> > > false
> > >   
> > >   central
> > >   project-repo
> > >   https://company.jfrog.io/artifactory/project-repo
> > > 
> > > 
> > >   
> > >   snapshots
> > >   project-repo
> > >   https://company.jfrog.io/artifactory/project-repo
> > > 
> > >   
> > >   artifactory
> > > 
> > >   
> > >   
> > > artifactory
> > >   
> > >  
> > > 
> > > jfrog-proxy
> > > true
> > > https
> > > proxyhost
> > > proxyport
> > >   
> > > 
> > > 
> > >
> >
>


Re: Maven assembly plugin - Proxies not working with mirrors

2022-12-22 Thread Abhinav Sharma
I have tried with maven 3.8.6 as well. Same error comes.

On Thu, 22 Dec, 2022, 19:00 Delany,  wrote:

> Use Maven v3.8.6 if you can Abhinav
> Delany
>
>
> On Thu, 22 Dec 2022 at 14:17, Abhinav Sharma 
> wrote:
>
> > Hi,
> > I am using maven 3.8.2 with java 11 in my system, with remotes configured
> > for jfrog artifactory.
> >
> > With both mirror and proxy added, mvn is ignoring the proxies and failing
> > to resolve any dependency. How do I set proxies for maven mirrors as
> well?
> >
> > Without a mirror, the maven assembly plugin is not looking in the
> > configured jfrog repositories for the dependencies. It starts looking at
> > some random repo.
> >
> > [INFO] maven-assembly-plugin:3.3.0:single (make-assembly)sample-project
> ---
> > Downloading from jvnet-nexus-staging:
> > http://maven.java.net/content/repositories/staging/
> > <
> >
> http://maven.java.net/content/repositories/staging/com/infosys/fbp/platform/fbp-parent-pom/1.5-SNAPSHOT/maven-metadata.xml
> > >com/example/sample-project/0.0.1-SNAPSHOT
> > <
> >
> http://maven.java.net/content/repositories/snapshots/com/infosys/fbp/platform/fbp-parent-pom/1.5-SNAPSHOT/maven-metadata.xml
> > >/maven-metadata.xml
> > <
> >
> http://maven.java.net/content/repositories/staging/com/infosys/fbp/platform/fbp-parent-pom/1.5-SNAPSHOT/maven-metadata.xml
> > >
> > Downloading from releases.java.net:
> > http://maven.java.net/content/repositories/releases/
> > <
> >
> http://maven.java.net/content/repositories/releases/com/infosys/fbp/platform/fbp-parent-pom/1.5-SNAPSHOT/maven-metadata.xml
> > >com/example/sample-project/0.0.1-SNAPSHOT
> > <
> >
> http://maven.java.net/content/repositories/snapshots/com/infosys/fbp/platform/fbp-parent-pom/1.5-SNAPSHOT/maven-metadata.xml
> > >/maven-metadata.xml
> > <
> >
> http://maven.java.net/content/repositories/releases/com/infosys/fbp/platform/fbp-parent-pom/1.5-SNAPSHOT/maven-metadata.xml
> > >
> > Downloading from shapshots.java.net:
> >
> >
> http://maven.java.net/content/repositories/snapshots/com/example/sample-project/0.0.1-SNAPSHOT/maven-metadata.xml
> > <
> >
> http://maven.java.net/content/repositories/snapshots/com/infosys/fbp/platform/fbp-parent-pom/1.5-SNAPSHOT/maven-metadata.xml
> > >
> >
> >
> > I am expecting to access jfrog maven virtual repo with mirror enabled
> > behind the company proxy, or force assembly plugin to look into the
> > repositories defined in settings.xml.
> >
> > I am using settings.xml file similar to this:
> >
> > 
> > http://maven.apache.org/SETTINGS/1.2.0
> > http://maven.apache.org/xsd/settings-1.2.0.xsd; xmlns="
> > http://maven.apache.org/SETTINGS/1.2.0;
> > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance;>
> >   
> > 
> >   username
> >   password
> >   central
> > 
> > 
> >   username
> >   password
> >   snapshots
> > 
> >   
> >   
> > 
> >   *
> >   project-repo
> >   https://company.jfrog.io/artifactory/project-repo
> >   project-repo
> > 
> >   
> >   
> > 
> >   
> > 
> >   
> > false
> >   
> >   central
> >   project-repo
> >   https://company.jfrog.io/artifactory/project-repo
> > 
> > 
> >   
> >   snapshots
> >   project-repo
> >   https://company.jfrog.io/artifactory/project-repo
> > 
> >   
> >   
> > 
> >   
> > false
> >   
> >   central
> >   project-repo
> >   https://company.jfrog.io/artifactory/project-repo
> > 
> > 
> >   
> >   snapshots
> >   project-repo
> >   https://company.jfrog.io/artifactory/project-repo
> > 
> >   
> >   artifactory
> > 
> >   
> >   
> > artifactory
> >   
> >  
> > 
> > jfrog-proxy
> > true
> > https
> > proxyhost
> > proxyport
> >   
> > 
> > 
> >
>


Re: Maven assembly plugin - Proxies not working with mirrors

2022-12-22 Thread Delany
Use Maven v3.8.6 if you can Abhinav
Delany


On Thu, 22 Dec 2022 at 14:17, Abhinav Sharma 
wrote:

> Hi,
> I am using maven 3.8.2 with java 11 in my system, with remotes configured
> for jfrog artifactory.
>
> With both mirror and proxy added, mvn is ignoring the proxies and failing
> to resolve any dependency. How do I set proxies for maven mirrors as well?
>
> Without a mirror, the maven assembly plugin is not looking in the
> configured jfrog repositories for the dependencies. It starts looking at
> some random repo.
>
> [INFO] maven-assembly-plugin:3.3.0:single (make-assembly)sample-project ---
> Downloading from jvnet-nexus-staging:
> http://maven.java.net/content/repositories/staging/
> <
> http://maven.java.net/content/repositories/staging/com/infosys/fbp/platform/fbp-parent-pom/1.5-SNAPSHOT/maven-metadata.xml
> >com/example/sample-project/0.0.1-SNAPSHOT
> <
> http://maven.java.net/content/repositories/snapshots/com/infosys/fbp/platform/fbp-parent-pom/1.5-SNAPSHOT/maven-metadata.xml
> >/maven-metadata.xml
> <
> http://maven.java.net/content/repositories/staging/com/infosys/fbp/platform/fbp-parent-pom/1.5-SNAPSHOT/maven-metadata.xml
> >
> Downloading from releases.java.net:
> http://maven.java.net/content/repositories/releases/
> <
> http://maven.java.net/content/repositories/releases/com/infosys/fbp/platform/fbp-parent-pom/1.5-SNAPSHOT/maven-metadata.xml
> >com/example/sample-project/0.0.1-SNAPSHOT
> <
> http://maven.java.net/content/repositories/snapshots/com/infosys/fbp/platform/fbp-parent-pom/1.5-SNAPSHOT/maven-metadata.xml
> >/maven-metadata.xml
> <
> http://maven.java.net/content/repositories/releases/com/infosys/fbp/platform/fbp-parent-pom/1.5-SNAPSHOT/maven-metadata.xml
> >
> Downloading from shapshots.java.net:
>
> http://maven.java.net/content/repositories/snapshots/com/example/sample-project/0.0.1-SNAPSHOT/maven-metadata.xml
> <
> http://maven.java.net/content/repositories/snapshots/com/infosys/fbp/platform/fbp-parent-pom/1.5-SNAPSHOT/maven-metadata.xml
> >
>
>
> I am expecting to access jfrog maven virtual repo with mirror enabled
> behind the company proxy, or force assembly plugin to look into the
> repositories defined in settings.xml.
>
> I am using settings.xml file similar to this:
>
> 
> http://maven.apache.org/SETTINGS/1.2.0
> http://maven.apache.org/xsd/settings-1.2.0.xsd; xmlns="
> http://maven.apache.org/SETTINGS/1.2.0;
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance;>
>   
> 
>   username
>   password
>   central
> 
> 
>   username
>   password
>   snapshots
> 
>   
>   
> 
>   *
>   project-repo
>   https://company.jfrog.io/artifactory/project-repo
>   project-repo
> 
>   
>   
> 
>   
> 
>   
> false
>   
>   central
>   project-repo
>   https://company.jfrog.io/artifactory/project-repo
> 
> 
>   
>   snapshots
>   project-repo
>   https://company.jfrog.io/artifactory/project-repo
> 
>   
>   
> 
>   
> false
>   
>   central
>   project-repo
>   https://company.jfrog.io/artifactory/project-repo
> 
> 
>   
>   snapshots
>   project-repo
>   https://company.jfrog.io/artifactory/project-repo
> 
>   
>   artifactory
> 
>   
>   
> artifactory
>   
>  
> 
> jfrog-proxy
> true
> https
> proxyhost
> proxyport
>   
> 
> 
>


Maven assembly plugin - Proxies not working with mirrors

2022-12-22 Thread Abhinav Sharma
Hi,
I am using maven 3.8.2 with java 11 in my system, with remotes configured
for jfrog artifactory.

With both mirror and proxy added, mvn is ignoring the proxies and failing
to resolve any dependency. How do I set proxies for maven mirrors as well?

Without a mirror, the maven assembly plugin is not looking in the
configured jfrog repositories for the dependencies. It starts looking at
some random repo.

[INFO] maven-assembly-plugin:3.3.0:single (make-assembly)sample-project ---
Downloading from jvnet-nexus-staging:
http://maven.java.net/content/repositories/staging/
com/example/sample-project/0.0.1-SNAPSHOT
/maven-metadata.xml

Downloading from releases.java.net:
http://maven.java.net/content/repositories/releases/
com/example/sample-project/0.0.1-SNAPSHOT
/maven-metadata.xml

Downloading from shapshots.java.net:
http://maven.java.net/content/repositories/snapshots/com/example/sample-project/0.0.1-SNAPSHOT/maven-metadata.xml



I am expecting to access jfrog maven virtual repo with mirror enabled
behind the company proxy, or force assembly plugin to look into the
repositories defined in settings.xml.

I am using settings.xml file similar to this:


http://maven.apache.org/SETTINGS/1.2.0
http://maven.apache.org/xsd/settings-1.2.0.xsd; xmlns="
http://maven.apache.org/SETTINGS/1.2.0;
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance;>
  

  username
  password
  central


  username
  password
  snapshots

  
  

  *
  project-repo
  https://company.jfrog.io/artifactory/project-repo
  project-repo

  
  

  

  
false
  
  central
  project-repo
  https://company.jfrog.io/artifactory/project-repo


  
  snapshots
  project-repo
  https://company.jfrog.io/artifactory/project-repo

  
  

  
false
  
  central
  project-repo
  https://company.jfrog.io/artifactory/project-repo


  
  snapshots
  project-repo
  https://company.jfrog.io/artifactory/project-repo

  
  artifactory

  
  
artifactory
  
 

jfrog-proxy
true
https
proxyhost
proxyport