Do not copy p2 repo to Products (unnecessay)

This commit is contained in:
iwangtalend
2015-04-09 01:01:02 +02:00
parent bbda6186a2
commit d3b2c9d3fb

View File

@@ -7,7 +7,7 @@
<version>6.0.0-SNAPSHOT</version>
<relativePath></relativePath>
</parent>
c
<artifactId>talend-tos-p2-repo</artifactId>
<packaging>eclipse-repository</packaging>
@@ -122,25 +122,6 @@
<goal>run</goal>
</goals>
</execution>
<execution>
<!-- Copy build to products directory -->
<id>copy-build-to-products</id>
<phase>install</phase>
<configuration>
<target xmlns:ivy="antlib:org.apache.ivy.ant">
<taskdef resource="net/sf/antcontrib/antcontrib.properties" classpathref="maven.plugin.classpath" />
<propertyregex property="product.version.short" input="${unqualifiedVersion}" regexp="\." replace="" global="true" casesensitive="false" override="true" />
<property name="product.build.path" value="${product.build.id}/${storage.dir}" />
<property name="product.dir" value="${storage}/${product.build.path}" />
<mkdir dir="${product.dir}" />
<echo>Copying product ZIP ${project.build.directory}/${project.artifactId}-${project.version}.zip to ${product.dir}</echo>
<copy tofile="${product.dir}/${product.final.name}.zip" file="${project.build.directory}/${project.artifactId}-${project.version}.zip" />
</target>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
<dependencies>
<dependency>
@@ -165,4 +146,4 @@
</build>
</profile>
</profiles>
</project>
</project>