Uploaded image for project: 'Maven Site Plugin'
  1. Maven Site Plugin
  2. MSITE-25

mvn site:deploy and site:stage-deploy ignores server configuration in settings.xml

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • None
    • 2.0-beta-7
    • None
    • None

    Description

      mvn site:site ignores parts of my settings.xml:

      <server>
      <id>livetribe-website</id>
      <filePermissions>664</filePermissions>
      <directoryPermissions>775</directoryPermissions>
      <configuration>
      <sshExecutable>plink</sshExecutable>
      <scpExecutable>pscp</scpExecutable>
      </configuration>
      <username>livetribe</username>
      </server>

      It uses the username when ssh but does not invoke plink.

      [INFO] [site:deploy]
      Using private key: C:\Documents and Settings\adc\.ssh\id_dsa
      scpexe://repo.livetribe.org/home/projects/livetribe/public_html/maven/ - Session: Opened
      Executing command: ssh -i "C:\Documents and Settings\adc\.ssh\id_dsa" -o "BatchMode yes" livetribe@repo.livetribe.org "mkdir -p /home/projects/livetribe/public_html/maven/."
      scpexe://repo.livetribe.org/home/projects/livetribe/public_html/maven/ - Session: Disconnecting
      scpexe://repo.livetribe.org/home/projects/livetribe/public_html/maven/ - Session: Disconnected

      Attachments

        1. patch-MSITE-25-artifact-manager.diff
          2 kB
          Jerome Lacoste
        2. patch-MSITE-25-site-plugin.diff
          2 kB
          Jerome Lacoste
        3. MSITE-25.txt
          4 kB
          Petter L. H. Eide
        4. MSITE-25-01.patch
          2 kB
          Rahul Akolkar
        5. MSITE-25.sample.pom.xml
          0.5 kB
          Rahul Akolkar
        6. MSITE-25.settings.xml.fragment.txt
          0.2 kB
          Rahul Akolkar
        7. MSITE-25-02.patch
          0.6 kB
          Rahul Akolkar
        8. MSITE-25-03.patch
          9 kB
          Rahul Akolkar

        Issue Links

          Activity

            People

              dennisl@apache.org Dennis Lundberg
              maguro Alan Cabrera
              Votes:
              11 Vote for this issue
              Watchers:
              14 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: