Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 3.0.1
-
Fix Version/s: 3.4.0
-
Component/s: Repository
-
Labels:
-
Environment:centos 6
-
Story Points:2
-
Epic Link:
-
Sprint:Formats/Core Team - Sprint 92, Formats/Core Team - Sprint 93
Description
My Maven Plugin configuration is
<plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-site-plugin</artifactId> <version>3.5.1</version> <dependencies> <dependency> <groupId>org.apache.maven.doxia</groupId> <artifactId>doxia-core</artifactId> <version>1.7</version> </dependency> <dependency> <groupId>org.apache.maven.doxia</groupId> <artifactId>doxia-module-markdown</artifactId> <version>1.6</version> </dependency> </dependencies> </plugin>
When i execute the command
mvn site site:deploy
I'm getting the below error in the Maven build:
###########https://nexus.dev.two-clicks.de/repository/sites/de.wkss/deployment-maven-plugin/1.0-SNAPSHOT/./fonts/glyphicons-halflings-regular.woff - Status code: 400 Transfer error: org.apache.maven.wagon.TransferFailedException: Failed to transfer file: https://nexus.dev.two-clicks.de/repository/sites/de.wkss/deployment-maven-plugin/1.0-SNAPSHOT/./fonts/glyphicons-halflings-regular.woff. Return code is: 400 https://nexus.dev.two-clicks.de/repository/sites/de.wkss/deployment-maven-plugin/1.0-SNAPSHOT/ - Session: Disconnecting https://nexus.dev.two-clicks.de/repository/sites/de.wkss/deployment-maven-plugin/1.0-SNAPSHOT/ - Session: Disconnected
Nexus error log:
Invalid content: PUT /de.wkss/deployment-maven-plugin/1.0-SNAPSHOT/images/apache-maven-project-2.png: org.sonatype.nexus.repository.InvalidContentException: Detected content type [image/jpeg], but expected [image/png]: de.wkss/deployment-maven-plugin/1.0-SNAPSHOT/images/apache-maven-project-2.png Invalid content: PUT /de.wkss/deployment-maven-plugin/1.0-SNAPSHOT/fonts/glyphicons-halflings-regular.woff: org.sonatype.nexus.repository.InvalidContentException: Content type could not be determined: de.wkss/deployment-maven-plugin/1.0-SNAPSHOT/fonts/glyphicons-halflings-regular.woff