You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Jakob Korherr (JIRA)" <de...@myfaces.apache.org> on 2010/12/04 16:56:11 UTC

[jira] Created: (EXTCDI-91) src-assemblies are lost during release procedure and bin-asseblies are renamed

src-assemblies are lost during release procedure and bin-asseblies are renamed
------------------------------------------------------------------------------

                 Key: EXTCDI-91
                 URL: https://issues.apache.org/jira/browse/EXTCDI-91
             Project: MyFaces CODI
          Issue Type: Task
    Affects Versions: 0.9.1
            Reporter: Jakob Korherr


During the release procedure the bin-assemlies which are normally named myfaces-extcdi-assembly-jsfxx-0.9.1-bin.zip are renamed to myfaces-extcdi-assembly-jsfxx-0.9.1.zip (without bin) and the src-assemblies are not uploaded to the staging-repo at all.

This is most likely a misconfiguration of the assembly or the release plugin. I guess we somehow have to tell the release-plugin which files have to be uploaded to the staging repo and currently we have no such configuration.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (EXTCDI-91) src-assemblies are lost during release procedure and bin-asseblies are renamed

Posted by "Jakob Korherr (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/EXTCDI-91?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12968389#action_12968389 ] 

Jakob Korherr commented on EXTCDI-91:
-------------------------------------

Could be a bug in the install plugin (got this output on a local test):

[INFO] Installing /Users/jakobkorherr/IdeaProjects/codi/assembly/jsf20/target/assembly/out/myfaces-extcdi-jsf20-0.9.2-SNAPSHOT-src.tar.gz to /Users/jakobkorherr/.m2/repository/org/apache/myfaces/extensions/cdi/myfaces-extcdi-assembly-jsf20/0.9.2-SNAPSHOT/myfaces-extcdi-assembly-jsf20-0.9.2-SNAPSHOT.tar.gz
[INFO] Installing /Users/jakobkorherr/IdeaProjects/codi/assembly/jsf20/target/assembly/out/myfaces-extcdi-jsf20-0.9.2-SNAPSHOT-src.zip to /Users/jakobkorherr/.m2/repository/org/apache/myfaces/extensions/cdi/myfaces-extcdi-assembly-jsf20/0.9.2-SNAPSHOT/myfaces-extcdi-assembly-jsf20-0.9.2-SNAPSHOT.zip
[INFO] Installing /Users/jakobkorherr/IdeaProjects/codi/assembly/jsf20/target/assembly/out/myfaces-extcdi-jsf20-0.9.2-SNAPSHOT-bin.tar.gz to /Users/jakobkorherr/.m2/repository/org/apache/myfaces/extensions/cdi/myfaces-extcdi-assembly-jsf20/0.9.2-SNAPSHOT/myfaces-extcdi-assembly-jsf20-0.9.2-SNAPSHOT.tar.gz
[INFO] Installing /Users/jakobkorherr/IdeaProjects/codi/assembly/jsf20/target/assembly/out/myfaces-extcdi-jsf20-0.9.2-SNAPSHOT-bin.zip to /Users/jakobkorherr/.m2/repository/org/apache/myfaces/extensions/cdi/myfaces-extcdi-assembly-jsf20/0.9.2-SNAPSHOT/myfaces-extcdi-assembly-jsf20-0.9.2-SNAPSHOT.zip


xxx-src.zip is installed as xxx.zip and because of the fact that the src-assemblies are installed first, the binary-assemblies overwrite them in the repo.

> src-assemblies are lost during release procedure and bin-asseblies are renamed
> ------------------------------------------------------------------------------
>
>                 Key: EXTCDI-91
>                 URL: https://issues.apache.org/jira/browse/EXTCDI-91
>             Project: MyFaces CODI
>          Issue Type: Task
>    Affects Versions: 0.9.1
>            Reporter: Jakob Korherr
>
> During the release procedure the bin-assemlies which are normally named myfaces-extcdi-assembly-jsfxx-0.9.1-bin.zip are renamed to myfaces-extcdi-assembly-jsfxx-0.9.1.zip (without bin) and the src-assemblies are not uploaded to the staging-repo at all.
> This is most likely a misconfiguration of the assembly or the release plugin. I guess we somehow have to tell the release-plugin which files have to be uploaded to the staging repo and currently we have no such configuration.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (EXTCDI-91) src-assemblies are lost during release procedure and bin-asseblies are renamed

Posted by "Jakob Korherr (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/EXTCDI-91?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12968487#action_12968487 ] 

Jakob Korherr commented on EXTCDI-91:
-------------------------------------

It turned out to be a configuration problem of the assembly-plugin. The problem is that you can specify a finalName for the assembly output files, but in the further maven-lifecycle (for install and deploy) the .zip and .tar.gz files are referred to as attached artifacts. Thus the specified finalName gets lost and the "new" filename is generated from the artifacts details (artifactId and version).

The only way to add our "src" and "bin" suffixes is to set appendAssemblyId to true and to change the assembly-ids to "src" and "bin" respectively. I committed the necessary changes including some config-cleanup on the assembly-plugin and now both assemblies are installed correctly.

NOTE that the final name of the assemblies is now e.g. myfaces-extcdi-assembly-jsf20-0.9.1-bin.zip instead of myfaces-extcdi-jsf20-0.9.1.zip, because maven generates this filename from the project artifactId (as described above).


> src-assemblies are lost during release procedure and bin-asseblies are renamed
> ------------------------------------------------------------------------------
>
>                 Key: EXTCDI-91
>                 URL: https://issues.apache.org/jira/browse/EXTCDI-91
>             Project: MyFaces CODI
>          Issue Type: Task
>    Affects Versions: 0.9.1
>            Reporter: Jakob Korherr
>
> During the release procedure the bin-assemlies which are normally named myfaces-extcdi-assembly-jsfxx-0.9.1-bin.zip are renamed to myfaces-extcdi-assembly-jsfxx-0.9.1.zip (without bin) and the src-assemblies are not uploaded to the staging-repo at all.
> This is most likely a misconfiguration of the assembly or the release plugin. I guess we somehow have to tell the release-plugin which files have to be uploaded to the staging repo and currently we have no such configuration.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (EXTCDI-91) src-assemblies are lost during release procedure and bin-asseblies are renamed

Posted by "Jakob Korherr (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/EXTCDI-91?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jakob Korherr resolved EXTCDI-91.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 0.9.2
         Assignee: Jakob Korherr

> src-assemblies are lost during release procedure and bin-asseblies are renamed
> ------------------------------------------------------------------------------
>
>                 Key: EXTCDI-91
>                 URL: https://issues.apache.org/jira/browse/EXTCDI-91
>             Project: MyFaces CODI
>          Issue Type: Task
>    Affects Versions: 0.9.1
>            Reporter: Jakob Korherr
>            Assignee: Jakob Korherr
>             Fix For: 0.9.2
>
>
> During the release procedure the bin-assemlies which are normally named myfaces-extcdi-assembly-jsfxx-0.9.1-bin.zip are renamed to myfaces-extcdi-assembly-jsfxx-0.9.1.zip (without bin) and the src-assemblies are not uploaded to the staging-repo at all.
> This is most likely a misconfiguration of the assembly or the release plugin. I guess we somehow have to tell the release-plugin which files have to be uploaded to the staging repo and currently we have no such configuration.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (EXTCDI-91) src-assemblies are lost during release procedure and bin-asseblies are renamed

Posted by "Leonardo Uribe (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/EXTCDI-91?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12968398#action_12968398 ] 

Leonardo Uribe commented on EXTCDI-91:
--------------------------------------

Strange. I downloaded the latest voted artifacts and seems to be ok.



> src-assemblies are lost during release procedure and bin-asseblies are renamed
> ------------------------------------------------------------------------------
>
>                 Key: EXTCDI-91
>                 URL: https://issues.apache.org/jira/browse/EXTCDI-91
>             Project: MyFaces CODI
>          Issue Type: Task
>    Affects Versions: 0.9.1
>            Reporter: Jakob Korherr
>
> During the release procedure the bin-assemlies which are normally named myfaces-extcdi-assembly-jsfxx-0.9.1-bin.zip are renamed to myfaces-extcdi-assembly-jsfxx-0.9.1.zip (without bin) and the src-assemblies are not uploaded to the staging-repo at all.
> This is most likely a misconfiguration of the assembly or the release plugin. I guess we somehow have to tell the release-plugin which files have to be uploaded to the staging repo and currently we have no such configuration.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (EXTCDI-91) src-assemblies are lost during release procedure and bin-asseblies are renamed

Posted by "Mark Struberg (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/EXTCDI-91?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12968403#action_12968403 ] 

Mark Struberg commented on EXTCDI-91:
-------------------------------------

oki, to clean up the confusion: we already have the ASF source-release.zip (+tar.gz) which is just all the trunk folder tared together and signed. This is what the ASF board considers as an 'Apache distribution'. Those sources are all what counts for them, no binary is needed!

What Jakob likes to add is another zip which contains the sources.jar maven artifacts in analogy to our bin-release.zip. This is just a goodie!

> src-assemblies are lost during release procedure and bin-asseblies are renamed
> ------------------------------------------------------------------------------
>
>                 Key: EXTCDI-91
>                 URL: https://issues.apache.org/jira/browse/EXTCDI-91
>             Project: MyFaces CODI
>          Issue Type: Task
>    Affects Versions: 0.9.1
>            Reporter: Jakob Korherr
>
> During the release procedure the bin-assemlies which are normally named myfaces-extcdi-assembly-jsfxx-0.9.1-bin.zip are renamed to myfaces-extcdi-assembly-jsfxx-0.9.1.zip (without bin) and the src-assemblies are not uploaded to the staging-repo at all.
> This is most likely a misconfiguration of the assembly or the release plugin. I guess we somehow have to tell the release-plugin which files have to be uploaded to the staging repo and currently we have no such configuration.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.