Following the directions in the BUILD-JAVA in the section on
"Building a Maven Site with Reports", I run into the following
problem. Instead of installing locally, Maven hits people.apache.org
to try to install there. (I'm confused about a number of the
points in BUILD-JAVA, but this one is pretty key.)
I can provide the full debugging trace if you're interested;
excerpts below.
% sudo mvn -X -e clean install site:site site:deploy
-Dsite.localurl=file:///home/joe/public_html/shindig
-Dproject.url=/shindig
+ Error stacktraces are turned on.
Apache Maven 2.2.1 (rdebian-1)
Java version: 1.6.0_0
Java home: /usr/lib/jvm/java-6-openjdk/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux" version: "2.6.31-17-generic" arch: "i386" Family: "unix"
[DEBUG] Building Maven user-level plugin registry from:
'/root/.m2/plugin-registry.xml'
[INFO] Scanning for projects...
[DEBUG] Searching for parent-POM: org.apache:apache:pom:6 of project:
org.apache.shindig:shindig-project:pom:1.1-BETA6-incubating-SNAPSHOT
in relative path: ../pom.xml
[...]
[DEBUG] Velocimacro : added #poweredByLogo( poweredBy ) : source =
org/apache/maven/doxia/siterenderer/resources/default-site.vm
[DEBUG] The file '/home/joe/java-src/shindig/target/site/css/site.css'
does not exists. Creating an empty file.
[DEBUG] Configuring mojo
'org.apache.maven.plugins:maven-site-plugin:2.0.1:deploy' -->
[DEBUG] (f) inputDirectory = /home/joe/java-src/shindig/target/site
[DEBUG] (f) project = MavenProject:
org.apache.shindig:shindig-project:1.1-BETA6-incubating-SNAPSHOT @
/home/joe/java-src/shindig/pom.xml
[DEBUG] (f) settings = org.apache.maven.settings.setti...@db681c
[DEBUG] -- end configuration --
[INFO] [site:deploy {execution: default-cli}]
[DEBUG] The site will be deployed to
'scp://people.apache.org/www/incubator.apache.org/shindig/shindig-1.1.x'
The authenticity of host 'people.apache.org' can't be established.
DSA key fingerprint is 79:7c:cb:6a:44:47:b2:ef:5c:66:28:d7:40:0d:b1:f9.
Are you sure you want to continue connecting? (yes/no): no
scp://people.apache.org/www/incubator.apache.org/shindig/shindig-1.1.x
- Session: Connection refused
scp://people.apache.org/www/incubator.apache.org/shindig/shindig-1.1.x
- Session: Disconnecting
scp://people.apache.org/www/incubator.apache.org/shindig/shindig-1.1.x
- Session: Disconnected
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error uploading site
Embedded error: The host was not known and was not accepted by the
configuration: people.apache.org
reject HostKey: people.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]