[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [tycho-user] no finalName or labelSuffix support in tycho-source-feature-plugin
|
regarding the source feature archive finalName:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=412224
this has to be configured on pom.xml level though [1]. Maven classifier -sources-feature.jar is always appended.
labelSuffix is used for the label inside feature.xml, no relation to the archive file name.
Jan
[1] http://maven.apache.org/pom.html#BaseBuild_Element
From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx] On Behalf Of Cohen, Tamar (ARC-TI)[Stinger Ghaffarian Technologies Inc. (SGT Inc.)]
Sent: Donnerstag, 11. Juli 2013 18:38
To: Tycho user list
Subject: [tycho-user] no finalName or labelSuffix support in tycho-source-feature-plugin
Despite specifying labelSuffix or trying finalName, the output name of my source feature is always the name of the artifact followed by -sources-feature.jar
I want to rename it to include the version and build timestamp as I have done with my feature itself via the finalName.
Is there a way to do this without resorting to ant to rename the file?
thanks
Tamar
I've updated my feature pom to also build a source feature as follows:
<plugin>
<groupId>org.eclipse.tycho.extras</groupId>
<artifactId>tycho-source-feature-plugin</artifactId>
<version>${tycho-version}</version>
<configuration>
<labelSuffix>TEST</labelSuffix> <!-- this does nothing -->
<finalName>${project.artifactId}_${unqualifiedVersion}.${buildQualifier}</finalName> <!-- this also does nothing -->
</configuration>
<executions>
<execution>
<id>source-feature</id>
<phase>package</phase>
<goals>
<goal>source-feature</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-p2-plugin</artifactId>
<version>${tycho-version}</version>
<executions>
<execution>
<id>attach-p2-metadata</id>
<phase>package</phase>
<goals>
<goal>p2-metadata</goal>
</goals>
</execution>
</executions>
</plugin>