Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
130 lines (116 sloc) 4.24 KB
<?xml version="1.0" encoding="UTF-8"?>
<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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.vmware.vfabric.ide.eclipse.tcserver</groupId>
<artifactId>com.vmware.vfabric.ide.eclipse.tcserver.parent</artifactId>
<version>3.1.0-SNAPSHOT</version>
</parent>
<artifactId>com.vmware.vfabric.ide.eclipse.tcserver.site</artifactId>
<packaging>eclipse-repository</packaging>
<name>VMware vFabric tc Server Integration for Eclipse</name>
<properties>
<dist.accessKey>${accessKey}</dist.accessKey>
<dist.secretKey>${secretKey}</dist.secretKey>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>properties-maven-plugin</artifactId>
<version>1.0-alpha-2</version>
<executions>
<execution>
<phase>initialize</phase>
<goals>
<goal>read-project-properties</goal>
</goals>
<configuration>
<quiet>true</quiet>
<files>
<file>${dist.properties}</file>
</files>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.6</version>
<executions>
<execution>
<id>upload-dist</id>
<phase>deploy</phase>
<configuration>
<target>
<taskdef resource="net/sf/antcontrib/antcontrib.properties" />
<taskdef resource="org/springframework/build/aws/ant/antlib.xml" />
<property name="site.target.dir" value="${project.build.directory}" />
<property name="dist.full.version" value="${unqualifiedVersion}.${buildQualifier}" />
<property name="dist.file.name" value="${dist.project}-${dist.full.version}-updatesite.zip" />
<property name="dist.full.path" value="${site.target.dir}/repository/${dist.file.name}" />
<delete file="${dist.full.path}" />
<zip zipfile="${dist.full.path}" filesonly="true">
<zipfileset dir="${site.target.dir}/repository">
<exclude name="*.zip" />
<exclude name="**/*.gz" />
</zipfileset>
</zip>
<checksum file="${dist.full.path}" algorithm="SHA1" fileext=".sha1" />
<checksum file="${dist.full.path}" algorithm="MD5" fileext=".md5" />
<s3 accessKey="${dist.accessKey}" secretKey="${dist.secretKey}">
<delete bucketName="${dist.bucket}">
<fileset dir="${dist.path}">
<include name="site.xml" />
<include name="content.jar" />
<include name="artifacts.jar" />
<include name="plugins/**" />
<include name="features/**" />
</fileset>
</delete>
<upload bucketName="${dist.bucket}" toDir="${dist.path}" publicRead="true">
<fileset dir="${site.target.dir}/repository">
<include name="**/*" />
<include name="**" />
<exclude name="*.zip" />
</fileset>
</upload>
<upload bucketName="${dist.bucket}" file="${dist.full.path}" toFile="${dist.path}/${dist.file.name}"
publicRead="true">
<metadata name="project.name" value="${dist.name}" />
<metadata name="release.type" value="${dist.type}" />
<metadata name="bundle.version" value="${dist.full.version}" />
<metadata name="package.file.name" value="${dist.file.name}" />
</upload>
</s3>
</target>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>org.springframework.build</groupId>
<artifactId>org.springframework.build.aws.ant</artifactId>
<version>3.0.5.RELEASE</version>
</dependency>
<dependency>
<groupId>net.java.dev.jets3t</groupId>
<artifactId>jets3t</artifactId>
<version>0.7.2</version>
</dependency>
<dependency>
<groupId>ant-contrib</groupId>
<artifactId>ant-contrib</artifactId>
<version>20020829</version>
</dependency>
</dependencies>
</plugin>
</plugins>
</build>
</project>
Jump to Line
Something went wrong with that request. Please try again.