

m2/repository and tried several experiments. I recall running "File | Invalidate caches and Restart" and it not changing anything, but I can't say for certain, as I shut IntelliJ down several times and deleted my. It may be a few days or more before I respond but if/when I have more info I will respond.

I spent several hours troubleshooting this yesterday and now that I have it working I don't want to regress and waste time on it.

Https\:///repository/maven-public/.error=Could not transfer artifact \:stax2-api\:jar\:3.1.4 from/to ACME Nexus (https\:///repository/maven-public)\: Transfer failed for https\:///repository/maven-public/org/codehaus/woodstox/stax2-api/3.1.4/stax2-api-3.1.4.jar #NOTE: This is a Maven Resolver internal implementation file, its format can be changed without prior notice.

This is an internal file that maven is using (mvn -version is Apache Maven 3.8.1): cat $HOME/.m2/repository/org/codehaus/woodstox/stax2-api/3.1.4/stax2-api-3.1.4.jar.lastUpdated This doesn't happen all the time but when it does, it looks as follows. If I see a red underline for an JAR that didn't download, I search in my maven repo to see if the file exists and I find that an error occurred when trying to download the file. NOTE: -DrepositoryId=admin is a reference to a server definition in the Maven's settings.xml defining the user and password to publish in the target repository.Ĭall publish.bat %FROM% %TO% net/xyz/webtools buildServer 03.06.00.01 buildServer-03.06.00.01.Any ideas on why the following error happens? įor each such parsed URL call the script (named publish.bat): offĬurl -remote-name -create-dirs -output %7 %1%3/%5/%6/%7Ĭall mvn deploy:deploy-file -DgroupId=%4 -DartifactId=%5 -Dversion=%6 -DgeneratePom=true -Dpackaging=%8 -DrepositoryId=admin -Durl=%2 -Dfile=%7 GroupId- parse the path, replacing / with.
Split the artifact URLS into path in the repository - it is in the format /