Uploaded image for project: 'MyFaces Trinidad'
  1. MyFaces Trinidad
  2. TRINIDAD-2037

Unable to build from source archive

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 2.0.0-beta-2
    • 2.0.0-beta-2
    • Build
    • None

    Description

      The "buildnumber-maven-plugin" prevents the building of the Trinidad source in Maven when the source tree is downloaded as an archive vs. taken from the svn repository. The steps to reproduce and the results are as follows:

      Downloaded the source:

      https://repository.apache.org/content/repositories/orgapachemyfaces-005/org/apache/myfaces/trinidad/trinidad/2.0.0-beta-2/trinidad-2.0.0-beta-2-source-release.zip

      did an unzip and "mvn clean install"

      I am getting this "error":
      [INFO] [buildnumber:create

      {execution: default}

      ]
      [INFO] Checking for local modifications: skipped.
      [INFO] Updating project files from SCM: skipped.
      [INFO] Executing: /bin/sh -c cd
      /home/matzew/work/source/SCOTT/trinidad-2.0.0-beta-2/trinidad-api &&
      svn --non-interactive info
      [INFO] Working directory:
      /home/matzew/work/source/SCOTT/trinidad-2.0.0-beta-2/trinidad-api
      Provider message:
      The svn command failed.
      Command output:
      svn: '.' is not a working copy

      [INFO] ------------------------------------------------------------------------
      [ERROR] BUILD ERROR
      [INFO] ------------------------------------------------------------------------
      [INFO] Cannot get the revision information from the scm repository :
      Error!

      This is due to the "buildnumber-maven-plugin", not sure if that should
      be really always enabled...

      Looks like I can't download the soruce and build it, since the target
      folder (of my unzip) is (of course)
      not "SVN folder".

      Attachments

        Activity

          People

            darkarena Scott O'Bryan
            darkarena Scott O'Bryan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: