You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Scott O'Bryan (JIRA)" <de...@myfaces.apache.org> on 2011/02/15 22:47:57 UTC

[jira] Created: (TRINIDAD-2037) Unable to build from source archive

Unable to build from source archive
-----------------------------------

                 Key: TRINIDAD-2037
                 URL: https://issues.apache.org/jira/browse/TRINIDAD-2037
             Project: MyFaces Trinidad
          Issue Type: Bug
          Components: Build
    Affects Versions: 2.0.0-beta-2
            Reporter: Scott O'Bryan
            Assignee: Scott O'Bryan
            Priority: Blocker


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".


-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Resolved: (TRINIDAD-2037) Unable to build from source archive

Posted by "Scott O'Bryan (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/TRINIDAD-2037?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Scott O'Bryan resolved TRINIDAD-2037.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0.0-beta-2

Added the discussed profile

> Unable to build from source archive
> -----------------------------------
>
>                 Key: TRINIDAD-2037
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-2037
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 2.0.0-beta-2
>            Reporter: Scott O'Bryan
>            Assignee: Scott O'Bryan
>            Priority: Blocker
>             Fix For: 2.0.0-beta-2
>
>
> 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".

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (TRINIDAD-2037) Unable to build from source archive

Posted by "Scott O'Bryan (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TRINIDAD-2037?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12995023#comment-12995023 ] 

Scott O'Bryan commented on TRINIDAD-2037:
-----------------------------------------

As discussed in this thread[1], probably the best thing to do here is to disable this plugin unless we are dealing with a nightly build.  Ultimately the extra manifest information is irrelevant for tags and custom builds as it will give us no REAL information to help users debug.  For nightly builds, however, this is a different story.  I'm looking at following the same convention used by codi and suggested by Gerard and adding an "extended-manifest" profile which would add the revision information.

[1] http://www.mail-archive.com/dev@myfaces.apache.org/msg51466.html

> Unable to build from source archive
> -----------------------------------
>
>                 Key: TRINIDAD-2037
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-2037
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 2.0.0-beta-2
>            Reporter: Scott O'Bryan
>            Assignee: Scott O'Bryan
>            Priority: Blocker
>
> 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".

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira