Skip to content

Instantly share code, notes, and snippets.

@muuki88
Created August 17, 2012 11:05
Show Gist options
  • Save muuki88/3378004 to your computer and use it in GitHub Desktop.
Save muuki88/3378004 to your computer and use it in GitHub Desktop.
Tycho JGit Timestamp builder
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-packaging-plugin</artifactId>
<version>${tycho.version}</version>
<dependencies>
<dependency>
<groupId>org.eclipse.tycho.extras</groupId>
<artifactId>tycho-buildtimestamp-jgit</artifactId>
<version>${tycho.version}</version>
</dependency>
</dependencies>
<configuration>
<timestampProvider>jgit</timestampProvider>
<jgit.ignore>
pom.xml
.gitignore
</jgit.ignore>
<format>'v'yyyyMMdd-HHmm</format>
<archive>
<addMavenDescriptor>false</addMavenDescriptor>
</archive>
</configuration>
</plugin>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment