You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@isis.apache.org by "Dan Haywood (JIRA)" <ji...@apache.org> on 2017/07/31 09:10:00 UTC

[jira] [Resolved] (ISIS-1597) review the buildnumber plugin in the simpleapp archetype

     [ https://issues.apache.org/jira/browse/ISIS-1597?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dan Haywood resolved ISIS-1597.
-------------------------------
    Resolution: Fixed

> review the buildnumber plugin in the simpleapp archetype
> --------------------------------------------------------
>
>                 Key: ISIS-1597
>                 URL: https://issues.apache.org/jira/browse/ISIS-1597
>             Project: Isis
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.14.0
>            Reporter: Dan Haywood
>            Assignee: Dan Haywood
>            Priority: Minor
>             Fix For: 1.15.0
>
>
> Not certain it's actually needed.
> Patrick raised the following on the mailing list:
> I run into problems when executing 'mvn validate' with
> simpleapp-archetype version 1.14.0 by following the documentation
> The new mojo:buildnumber-mave-plugin generates the error message:
> "Cannot get the revision information from the scm repository"
> Obviously this error makes sense as I was not connected to any scm
> during validation. To pass validation without connection to an scm, I
> added the plugin parameter <revisionOnScmFailure> to the pom.xml in the
> webapp directory (See my plugin configuration below). This seems to work
> well so far.
> Anyway I couldn't find any hint for that problem in the apache isis
> documentation.
>              <plugin>
>                  <groupId>org.codehaus.mojo</groupId>
> <artifactId>buildnumber-maven-plugin</artifactId>
>                  <version>1.4</version>
>                  ...
>                  <configuration>
> <revisionOnScmFailure>true</revisionOnScmFailure>
>                  </configuration>
>              </plugin>
> Cheers



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)