Thomas Meyer created SCM-810: -------------------------------- Summary: Add info command to enable mojohaus buildnumber-maven-plugin with scm jgit provider Key: SCM-810 URL: https://issues.apache.org/jira/browse/SCM-810 Project: Maven SCM Issue Type: Improvement Components: maven-scm-provider-git Affects Versions: 1.9.4 Environment: Windows 10 Reporter: Thomas Meyer Priority: Minor Fix For: 1.9.5
To be able to use the buildnumber-maven-plugin with the jgit scm provider your pom.xml needs something like this: <scm> <url>https://github.com/thomasmey/einkaufsliste-server</url> <connection>scm:jgit:file://.</connection> [...] </scm> and the plugin: <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>buildnumber-maven-plugin</artifactId> <version>1.4</version> <executions> <execution> <phase>generate-resources</phase> <goals> <goal>create-metadata</goal> </goals> </execution> </executions> <configuration> <addOutputDirectoryToResources>true</addOutputDirectoryToResources> </configuration> <dependencies> <dependency> <groupId>org.apache.maven.scm</groupId> <artifactId>maven-scm-provider-jgit</artifactId> <version>1.9.5-SNAPSHOT</version> </dependency> </dependencies> </plugin> -- This message was sent by Atlassian JIRA (v6.3.4#6332)