Uploaded image for project: 'Isis'
  1. Isis
  2. ISIS-1597

review the buildnumber plugin in the simpleapp archetype

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.14.0
    • Fix Version/s: 1.15.0
    • Component/s: Core
    • Labels:
      None

      Description

      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

        Activity

        Show
        danhaywood Dan Haywood added a comment - see comments on https://www.youtube.com/watch?v=OTNHR5EdAs8&google_comment_id=z13luvn4puadzhs4504cibbodvmbejdjtls0k&google_view_type#gpluscomments
        Hide
        danhaywood Dan Haywood added a comment -

        looks like I decided to remove it in some previous tidy-up, 5 Jun 2017

        https://git-wip-us.apache.org/repos/asf?p=isis.git;h=5d24b3f7a9ad543753c2c07d0107680b7172a06d

        Show
        danhaywood Dan Haywood added a comment - looks like I decided to remove it in some previous tidy-up, 5 Jun 2017 https://git-wip-us.apache.org/repos/asf?p=isis.git;h=5d24b3f7a9ad543753c2c07d0107680b7172a06d

          People

          • Assignee:
            danhaywood Dan Haywood
            Reporter:
            danhaywood Dan Haywood
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development