Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[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>

Back to the top