maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dennis Lundberg <denn...@apache.org>
Subject Re: connecting to people.apache.org when trying to deploy local test project?
Date Sat, 16 Jan 2010 11:47:15 GMT
See inline below for the reason for this.

Where is this BUILD-JAVA that you refer to? Can you provide a URL so
that we can get it updated.

Joe Corneli wrote:
> 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

Here's the reason. When you do "site-deploy" Maven will try to deploy
the site of the project to *production* server. That is similar to doing
"deploy:deploy" for the project artifacts. The production site is
usually uploaded to people.a.o for ASF projects. If you want to try the
site locally "site:site" will usually be enough.


> -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.Settings@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: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
> 


-- 
Dennis Lundberg

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


Mime
View raw message