Details
-
Bug
-
Resolution: Fixed
-
Major
-
2.11.1
-
None
-
1
-
Sprint 34
Description
Since Nexus 2.11.1 I have a problem deploying sites of maven modules via dav protocol which have a parent and where I do not want the site to deployed at a path below the parent site.
Maven site plugin generates links relative to the site of the parent project. Nexus does not accept these relative links anymore.
See (the edited) log excerpt below for an example.
Do you have an idea what I can do other than requesting / implementing a change in the site plugin, changing my site deployment structure? I'd also rather not change the transport protocol (if that would be a solution) because that probably would be difficult to organize.
[INFO] — maven-site-plugin:3.4:deploy (default-cli) @ simple-child —
[INFO] Parent project loaded from repository: org.example.nexus.deployment.problem:simple-parent:pom:0.1.0-SNAPSHOT
http://localhost:8081/nexus/content/sites/local-maven-sites/simple-parent/0.1.0-SNAPSHOT/ - Session: Opened
[INFO] Pushing c:\Users\me\Development\eclipse-workspace\simple-child\target\site
[INFO] >>> to http://localhost:8081/nexus/content/sites/local-maven-sites/simple-parent/0.1.0-SNAPSHOT/../../simple-child
Uploading: ../../simple-child/css/maven-base.css to http://localhost:8081/nexus/content/sites/local-maven-sites/simple-parent/0.1.0-SNAPSHOT/#http://localhost/nexus/content/sites/local-maven-sites/simple-parent/0.1.0-SNAPSHOT/../../simple-child/css/maven-base.css - Status code:
400
Transfer error: org.apache.maven.wagon.TransferFailedException: Failed to transfer file:
http://localhost:8081/nexus/content/sites/local-maven-sites/simple-parent/0.1.0-SNAPSHOT/../../simple-child/css/maven-base.css. Return code is: 400
http://localhost:8081/nexus/content/sites/local-maven-sites/simple-parent/0.1.0-SNAPSHOT/ - Session: Disconnecting
http://localhost:8081/nexus/content/sites/local-maven-sites/simple-parent/0.1.0-SNAPSHOT/ - Session: Disconnected
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
Attachments
Issue Links
- is related to
-
NEXUS-7923 Deploy of artifacts with version starting with ".." fails in Nexus 2.11.1
-
- Closed
-