jira-importer commented on issue #1217:
URL: https://github.com/apache/maven-scm/issues/1217#issuecomment-2964657176

   **[Enrico 
Horn](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=JIRAUSER290262)**
 commented
   
   Sorry, I dont have a sample project.
   
   We are using the buildnumber-plugin in our build like this:
   
               \<plugin>
                   \<!-- Plugin to create build information for the jar and war 
packagers -->
                   \<groupId>org.codehaus.mojo\</groupId>
                   \<artifactId>buildnumber-maven-plugin\</artifactId>
                   \<version>${buildnumber-maven-plugin.version}\</version>
                   \<executions>
                       \<execution>
                           \<goals>
                               \<goal>create\</goal>
                           \</goals>
                       \</execution>
                   \</executions>
                   \<configuration>
                       \<!-- Check for local modifications before build? -->
                       \<doCheck>false\</doCheck>
                       \<!-- Update SCM before build? -->
                       \<doUpdate>false\</doUpdate>
                       \<!-- All projects are in the same repository -->
                       \<getRevisionOnlyOnce>true\</getRevisionOnlyOnce>
                       \<providerImplementations>
                           \<git>jgit\</git>
                       \</providerImplementations>
                   \</configuration>
                   \<dependencies>
                       \<dependency>
                           \<groupId>org.apache.maven.scm\</groupId>
                           \<artifactId>maven-scm-provider-jgit\</artifactId>
                           
\<version>${maven-scm-provider-jgit.version}\</version>
                       \</dependency>
                   \</dependencies>
               \</plugin>
    
   
   This calls the info command.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@maven.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to