Hi.

I'm now trying to figure how to "stage the site". [What does "stage" mean in
this context?]

Reading this
---CUT---
<server>
  <id>stagingSite</id>
  <username>repouser</username>
  <!-- other optional elements:
     <password>my_login_password</password>
     <privateKey>/path/to/identity</privateKey> (default is ~/.ssh/id_dsa)
     <passphrase>my_key_passphrase</passphrase>
  -->
</server>
---CUT---

I wonder:
 * Should I replace "repouser" with my login?
 * Is the password really optional?
 * Can the password be encrypted?
 * What should be done with the ssh key?

Then, what does "[...]" mean in the next excerpt from the document? I.e.
---CUT---
mvn site:stage-deploy -DstagingDirectory=src/site \
-DstagingSiteURL=scp://[...]/people.apache.org/builds/commons/compress/1.1/RC1
---CUT---

When I issue the command:

 $ mvn site:stage-deploy -DstagingDirectory=src/site 
-DstagingSiteURL=scp://people.apache.org/builds/commons/math/3.0/RC1

I get this:
---CUT---
[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Commons Math 3.0
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-site-plugin:3.0:stage-deploy (default-cli) @ commons-math3 ---
[INFO] Using this server ID for stage deploy: people.apache.org
[INFO] Using this base URL for stage deploy: 
scp://people.apache.org/builds/commons/math/3.0/RC1
[INFO] Parent project loaded from repository: 
org.apache.commons:commons-parent:pom:23
Using private key: /home/eran/.ssh/id_rsa

: Password: :
---CUT---

Do I have to give the password interactively? Why is it specified in the
"settings.xml" then? [Moreover it is echoed on the console as I type it.]
It does not make any sense.

What is the purpose of the
 Using private key: /home/eran/.ssh/id_rsa
statement?
Do I in fact need to set up no-password login to my account on
"people.apache.org"?

For when the above is going to work, I noticed that the file
  src/site/site.xml
(in the working copy) contains theses lines

     <item name="Javadoc (3.0 release)" href="apidocs/index.html"/>
     <item name="Javadoc (2.2 release)"
           href="http://commons.apache.org/math/api-2.2/index.html"/>

i.e. the new (3.0) docs links to a local file. Will that be automagically
changed at some point? By which command?
[I also note that I had to change that file manually (to remove the
"snapshot" string). This probably should also be mentioned in the
"ReleaseForNewbies" document...]


Regards,
Gilles

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

Reply via email to