Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Example Snipts from settings.xml and pom.xml

No Formatcode
xml
xml
titlesettings.xml snipt
<servers>

        <server>
            <id>website</id>
            <username>remoteuser</username>
            <password>remotepass</password>
        </server>
        <!--password and key file based auth both appear to work with the wagon-ssh implementation
        <server>
            <id>website</id>
            <passphrase>somepassphrase</passphrase>
            <privateKey>C:/sshkeys/id_rsa</privateKey>
        </server>
        -->
    </servers>
No Formatcode
xml
xml
titlepom.xml snipt
<distributionManagement>
        <repository>
            <id>custom-repository</id>
            <url>ftp://somemachine.somecompany.com</url>
        </repository>
        <site>
            <id>website</id>
            <url>scp://somemachine.somecompany.com/cygdrive/c/Apps/Tomcat5.5/webapps/ROOT/mvnsites/mymodule/${project.version}</url>
            <!--<url>sftp://somemachine.somecompany.com/cygdrive/c/Apps/Tomcat5.5/webapps/ROOT/mvnsites/mymodule/${project.version}</url>-->
        </site>
    </distributionManagement>