Trying to also use http with Nexus site deployment didn't work.

[INFO] --- maven-site-plugin:3.4:deploy (default-deploy) @ MyApp ---
http://maven-vm1:8081/nexus/content/sites/site/MyApp/ - Session: Opened  
[INFO] Pushing /home/sverre/workspace/MyApp-R11/target/site
[INFO]    >>> to http://maven-vm1:8081/nexus/content/sites/site/MyApp/./
Uploading: .//source-repository.html to
http://maven-vm1:8081/nexus/content/sites/site/MyApp/

##http://maven-vm1:8081/nexus/content/sites/site/MyApp/./source-repository.html
- Status code: 404
http://maven-vm1:8081/nexus/content/sites/site/MyApp/ - Session:
Disconnecting  
http://maven-vm1:8081/nexus/content/sites/site/MyApp/ - Session:
Disconnected
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 03:20 min
[INFO] Finished at: 2014-10-08T13:03:21+01:00
[INFO] Final Memory: 90M/2309M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-site-plugin:3.4:deploy (default-deploy) on
project MyApp: Error uploading site: File:
http://maven-vm1:8081/nexus/content/sites/site/MyApp/./source-repository.html
does not exist -> [Help 1]
[ERROR] 

I didn't have anything under Nexus sites before this.


http://books.sonatype.com/nexus-book/reference/_configuring_maven_for_site_deployment.html
<http://books.sonatype.com/nexus-book/reference/_configuring_maven_for_site_deployment.html>
  

        <site>
            <id>deployment</id>
            <name>Sites</name>
           
<url>dav:http://meta-vm1:8081/nexus/content/sites/site/${project.artifactId}/${project.version}</url>
        </site>

Added the following build extension:
            <extension>
                <groupId>org.apache.maven.wagon</groupId>
                <artifactId>wagon-webdav-jackrabbit</artifactId>
                <version>2.7</version>
            </extension>

Anyhow: I'm not sure, but could this be a problem with Nexus and not Maven?



--
View this message in context: 
http://maven.40175.n5.nabble.com/maven-deploy-artifacts-to-Nexus-repository-tp5751512p5808068.html
Sent from the Maven - Users mailing list archive at Nabble.com.

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

Reply via email to