[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[tycho-user] Some tycho build questions
|
Hi,
I have some questions about building with Tycho.
1. Using tycho-p2-director-plugin[1] I want to use version defined in
pom which is set to 1.0.0.qualifier. As I understand
${unqualifiedVersion} gives me the whole value of version, is there
anyway to get just the major.minor.service value?
2. In the same pom I have formats defined as:
<formats>
<format>
<win32>zip</win32>
<linux>tar.gz</linux>
</format>
</formats>
But during product assembly both windows and linux products are being
compressed as ZIP, what I am doing wrong here?
3. Using maven-dependency-plugin I want to copy final products to
staging location, during the assembly I am changing the name of the
final deliverable file:
<products>
<product>
<id>${product.id}</id>
<archiveFileName>${product.id}-1.0.0.${buildQualifier}</archiveFileName>
</product>
</products>
and in maven-dependency-plugin:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>2.2</version>
<executions>
<execution>
<id>copy</id>
<phase>install</phase>
<goals>
<goal>copy</goal>
</goals>
<configuration>
<artifactItems>
<artifactItem>
<groupId>${project.groupId}</groupId>
<artifactId>${project.artifactId}</artifactId>
<version>${project.version}</version>
<classifier>win32.win32.x86</classifier>
<type>zip</type>
</artifactItem>
<artifactItem>
<groupId>${project.groupId}</groupId>
<artifactId>${project.artifactId}</artifactId>
<version>${project.version}</version>
<classifier>linux.gtk.x86</classifier>
<type>zip</type>
</artifactItem>
</artifactItems>
<outputDirectory>/home/builds/test</outputDirectory>
<overWriteReleases>true</overWriteReleases>
<overWriteSnapshots>true</overWriteSnapshots>
</configuration>
</execution>
</executions>
</plugin>
Right now what gets copied is artifact
" com.iwaysoftware.integration.tools.product.feature-1.0.0.qualifier.zip",
what do I need to copy the newly created file as defined in
<archiveFileName>${product.id}-1.0.0.${buildQualifier}</archiveFileName>?
Do I need to use something else for this? I use this thread [2] for
reference.
[1] http://pastebin.com/TVwfJiaf
[2] http://dev.eclipse.org/mhonarc/lists/tycho-user/msg00024.html
Thanks,
Alex