Re: mvn package command ends with error

2021-05-03 Thread Andy Feldman
The problem is that you are connecting to repos using HTTP rather than HTTPS, which is now blocked by default. This is new in Maven version 3.8.1. You can check out the release notes for more information including fixes and workarounds: https://maven.apache.org/docs/3.8.1/release-notes.html --

mvn package command ends with error

2021-05-03 Thread Compte Messagerie
hello, i try to install dspace 6.3 on centos 8 with apache-maven-3.8.1 and java-11.0.11 when i start the command: $mvn package -X// for debug it ends whith this error: [ERROR] Failed to execute goal on project solr: Could not resolve dependencies for project

pvn package command dependencies error

2021-05-03 Thread Compte Messagerie
hello, i try to install dspace 6.3 on centos8 with apache-maven-3.8.1 and openjdk11 where i execute $mvn package -X//for debug it ends with: [INFO] --< org.dspace.modules:solr >--- [INFO] Building DSpace SOLR :: Local Customizations 6.3

Re: Trying out new verbose dependency tree: very slow result

2021-05-03 Thread Nick Stolwijk
Sorry for the double post, but I also see that strange jaspersoft repository in Andy's debug log. EBUG] Writing tracking file /Users/andyf/.m2/repository/xm l-apis/xml-apis/1.3.02/_remote.repositories [DEBUG] Using transporter WagonTransporter with priority -1.0 for

Re: Trying out new verbose dependency tree: very slow result

2021-05-03 Thread Nick Stolwijk
And when I look at the dependency tree of the maven-dependency-plugin I don't see the dependencies that are checked there. > [DEBUG] Writing tracking file /Users/andyf/.m2/repository/xa lan/xalan/2.7.0/_remote.repositories > [DEBUG] Verifying availability of >

Re: Getting version upgrade advise to upgrade a BOM..

2021-05-03 Thread Bernd Eckenfels
If your bom version is in a property you must run display-properties-update instead https://www.mojohaus.org/versions-maven-plugin/display-property-updates-mojo.html -- http://bernd.eckenfels.net Von: Niels Basjes Gesendet: Monday, May 3, 2021 1:26:58 PM An:

Re: Trying out new verbose dependency tree: very slow result

2021-05-03 Thread Andy Feldman
I'm seeing the slowness as well. To avoid confusion about whether my own repos have some unusual configuration, I ran it against the maven-dependency-plugin repo itself, as cloned today. The debug logs (-X) contained many entries like this: [...] [DEBUG] Using transporter WagonTransporter with

Re: Trying out new verbose dependency tree: very slow result

2021-05-03 Thread Nick Stolwijk
Hi Enrico, I am already on Maven 3.8.1. I tried to build the maven-dependency-plugin and my own simple project with a fresh repository and it took way less time this time. Alas, it still uses some repositories I didn't include. Also, it fails with an exception. My settings.xml only contains the

Re: Trying out new verbose dependency tree: very slow result

2021-05-03 Thread Enrico Olivelli
Il giorno lun 3 mag 2021 alle ore 14:14 Nick Stolwijk ha scritto: > > Hi Enrico, > > I did a search and replace on our domain name. The Nexus instance at our > company is a mirror for Maven Central. > > And it is the only repository used in the build. See the output for > list-repositories in the

Re: Trying out new verbose dependency tree: very slow result

2021-05-03 Thread Nick Stolwijk
Hi Enrico, I did a search and replace on our domain name. The Nexus instance at our company is a mirror for Maven Central. And it is the only repository used in the build. See the output for list-repositories in the last mail. Hth, Nick Stolwijk ~~~ Try to leave this world a little better

Re: Trying out new verbose dependency tree: very slow result

2021-05-03 Thread Enrico Olivelli
Il giorno lun 3 mag 2021 alle ore 13:56 Nick Stolwijk ha scritto: > > Hi Enrico, > > It looks like it is trying to update the world while using repositories I > can't explain. ;-) Do you have references to several third party repositories ? it looks like https://nexus.example.com is not a good

Re: Trying out new verbose dependency tree: very slow result

2021-05-03 Thread Nick Stolwijk
Hi Enrico, It looks like it is trying to update the world while using repositories I can't explain. ;-) [INFO] --- maven-dependency-plugin:3.1.4-SNAPSHOT:list-repositories (default-cli) @ commons-lang --- Downloading from public_nx3:

Re: Trying out new verbose dependency tree: very slow result

2021-05-03 Thread Enrico Olivelli
Nick, are you able to see what is doing Maven in those 30 minutes ? you can run with the "-X" flag to see Maven debug also using jstack may be a good starting point if logs do not help. Cheers Enrico Il giorno lun 3 mag 2021 alle ore 13:43 Nick Stolwijk ha scritto: > > Hi folks, > > I was

Trying out new verbose dependency tree: very slow result

2021-05-03 Thread Nick Stolwijk
Hi folks, I was curious about the new verbose functionality in the maven-dependency-plugin.[1] I cloned the repository and built a local snapshot of master. Even on a very simple project building the verbose dependency tree took 30 minutes! I am using Maven 3.8.1 and Java 16. Is this a known

Re: Getting version upgrade advise to upgrade a BOM..

2021-05-03 Thread Niels Basjes
Hi, Update: I did some experiments to see how all of this works right now. If I do this in my test project (with a few extra deliberately placed 'old' dependencies) * mvn versions:display-dependency-updates versions:display-plugin-updates* I get - All the dependencies inside the google