Hi all--
I'm trying to set up separate pom files within each plugin / feature project to just build that plugin. I'm having trouble with the name of the output jar not including the timestamp of the build.
SNAPSHOT remains in the name. I have not found a good answer for this on the internet.
For example, com.ardor3d.0.9.17-SNAPSHOT.jar; within the manifest the version is Bundle-Version: 0.9.17.201306060343
I have tried changing it as follows:
<version>0.9.17.${maven.build.timestamp}</version> which causes problems with the osgi and maven versions not matching.:
[WARNING] 'version' contains an _expression_ but should be a constant. @ gov.nasa:com.ardor3d:0.9.17.${maven.build.timestamp}, /hosts/strangelove/export/home/tecohen/verve_rapid_gri_2013/com.ardor3d/pom.xml, line 7, column 12
[ERROR] Failed to execute goal org.eclipse.tycho:tycho-packaging-plugin:0.18.0:validate-version (default-validate-version) on project com.ardor3d: OSGi version 0.9.17.qualifier in META-INF/MANIFEST.MF does not match Maven version 0.9.17.201306060817 in pom.xml
Here is my pom.xml
<?xml version="1.0" encoding="UTF-8"?>
<modelVersion>4.0.0</modelVersion>
<groupId>gov.nasa</groupId>
<artifactId>com.ardor3d</artifactId>
<version>0.9.17-SNAPSHOT</version>
<packaging>eclipse-plugin</packaging>
<properties>
<tycho-version>0.16.0</tycho-version>
<project.reporting.outputDirectory>reporting</project.reporting.outputDirectory>
<project.build.outputDirectory>output</project.build.outputDirectory>
<maven.build.timestamp.format>yyyyMMddHHmm</maven.build.timestamp.format>
</properties>
<repositories>
<repository>
<id>indigo</id>
<layout>p2</layout>
</repository>
</repositories>
<build>
<plugins>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-maven-plugin</artifactId>
<version>0.18.0</version>
<extensions>true</extensions>
</plugin>
</plugins>
</build>
</project>