[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [tycho-user] Copying p2 update site to different folder after tycho build
|
Here is the excerpt of pom.xml -
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.7</version>
<executions>
<execution>
<id>deploy</id>
<phase>deploy</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<target>
<scp
todir="{user}@{host-name}:{path}"
password="{scp.password}" trust="true">
<fileset dir="repository">
<include name="**/*.*" />
</fileset>
</scp>
</target>
</configuration>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>org.apache.ant</groupId>
<artifactId>ant</artifactId>
<version>1.8.2</version>
</dependency>
<dependency>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-utils</artifactId>
<version>2.0.5</version>
</dependency>
<dependency>
<groupId>ant</groupId>
<artifactId>ant-jsch</artifactId>
<version>1.6.5</version>
</dependency>
<dependency>
<groupId>com.jcraft</groupId>
<artifactId>jsch</artifactId>
<version>0.1.29</version>
</dependency>
</dependencies>
</plugin>
Regards,
Praveen
On Wed, Mar 21, 2012 at 9:41 AM, Lorenzo Bettini
<lorenzo.bettini@xxxxxxxxx> wrote:
Hi
since I'd be interested in something similar, could you please share the pom?
thanks in advance
Lorenzo
On 03/21/2012 12:05 AM, Praveen Innamuri wrote:
I got this fixed by adding the below line in the AntRun plugin
<id>deploy</id>
That does the magic ! Now, the copy action happens only after p2 update
site repository is generated.
Regards,
Praveen
On Tue, Mar 20, 2012 at 5:42 PM, Praveen Innamuri
<
ajay.praveen2002@xxxxxxxxx
<mailto:
ajay.praveen2002@gmail.com>> wrote:
Hello, I am using Tycho build to generate my product
installations/zips and p2 update site repository locally. I would
like to copy only p2 update site to a tomcat server. I thought of
using deploy phase, but that does not allow to copy only p2 update
site repository.
I tried using AntRun plugin to copy the file and binded to install
phase. However, it tried to copy the p2 repository before it is
generated and thus the build failed. Are there any other recommended
ways if I want to copy only one generated artifact.
Regards,
Praveen
_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user
--
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com
BLOGS: http://tronprog.blogspot.com http://longlivemusic.blogspot.com
_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user