Last active
August 29, 2015 14:22
-
-
Save lschuetze/332f2663505a0ad8b8c6 to your computer and use it in GitHub Desktop.
Tycho upload update site
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<properties> | |
<!-- Properties relative to the | |
distant host where to upload the repo --> | |
<scp.url>scp://${env.UPLOAD_USER}:${env.UPLOAD_PASS}@host.com</scp.url> | |
<scp.toDir>www/dir/on/the/server</scp.toDir> | |
<!-- Relative path to the repo being uploaded --> | |
<repo.path>${project.build.directory}/repository/</repo.path> | |
</properties> | |
<build> | |
<plugins> | |
<!-- Upload the repo to the server --> | |
<plugin> | |
<groupId>org.codehaus.mojo</groupId> | |
<artifactId>wagon-maven-plugin</artifactId> | |
<version>1.0-beta-5</version> | |
<executions> | |
<execution> | |
<id>upload-repo</id> | |
<phase>install</phase> | |
<goals> | |
<goal>upload</goal> | |
</goals> | |
<configuration> | |
<fromDir>${repo.path}</fromDir> | |
<includes>**</includes> | |
<toDir>${scp.toDir}</toDir> | |
<url>${scp.url}</url> | |
</configuration> | |
</execution> | |
</executions> | |
</plugin> | |
</plugins> | |
</build> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<artifactId>de.larsschuetze.eclipse.tutorial.updatesite</artifactId> | |
<packaging>eclipse-update-site</packaging> | |
<parent> | |
<groupId>de.larsschuetze</groupId> | |
<artifactId>de.larsschuetze.eclipse.tutorial.parent</artifactId> | |
<version>1.0.0-SNAPSHOT</version> | |
<relativePath>../de.larsschuetze.eclipse.tutorial.parent/pom.xml</relativePath> | |
</parent> | |
<properties> | |
<!-- Properties relative to the | |
distant host where to upload the repo --> | |
<scp.url>scp://${env.UPLOAD_USER}:${env.UPLOAD_PASS}@host.com</scp.url> | |
<scp.toDir>www/dir/on/the/server</scp.toDir> | |
<!-- Relative path to the repo being uploaded --> | |
<repo.path>${project.build.directory}/repository/</repo.path> | |
</properties> | |
<build> | |
<plugins> | |
<!-- Upload the repo to the server --> | |
<plugin> | |
<groupId>org.codehaus.mojo</groupId> | |
<artifactId>wagon-maven-plugin</artifactId> | |
<version>1.0-beta-5</version> | |
<executions> | |
<execution> | |
<id>upload-repo</id> | |
<phase>install</phase> | |
<goals> | |
<goal>upload</goal> | |
</goals> | |
<configuration> | |
<fromDir>${repo.path}</fromDir> | |
<includes>**</includes> | |
<toDir>${scp.toDir}</toDir> | |
<url>${scp.url}</url> | |
</configuration> | |
</execution> | |
</executions> | |
</plugin> | |
</plugins> | |
</build> | |
</project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment