You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Alejandro Abdelnur (JIRA)" <ji...@apache.org> on 2011/06/11 02:22:58 UTC

[jira] [Created] (HBASE-3980) assembly should not be bound to package lifecycle

assembly should not be bound to package lifecycle
-------------------------------------------------

                 Key: HBASE-3980
                 URL: https://issues.apache.org/jira/browse/HBASE-3980
             Project: HBase
          Issue Type: Improvement
          Components: build
            Reporter: Alejandro Abdelnur


The current binding slows down significantly tasks like 'mvn install' when you just want to push hbase JAR to the local maven cache.

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

[jira] [Commented] (HBASE-3980) assembly should not be bound to package lifecycle

Posted by "Alejandro Abdelnur (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-3980?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13049277#comment-13049277 ] 

Alejandro Abdelnur commented on HBASE-3980:
-------------------------------------------

I don't know the rationale but I assume that this was done as as way to facilitate the RPM/DEB generation.

> assembly should not be bound to package lifecycle
> -------------------------------------------------
>
>                 Key: HBASE-3980
>                 URL: https://issues.apache.org/jira/browse/HBASE-3980
>             Project: HBase
>          Issue Type: Improvement
>          Components: build
>            Reporter: Alejandro Abdelnur
>
> The current binding slows down significantly tasks like 'mvn install' when you just want to push hbase JAR to the local maven cache.

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

        

[jira] [Commented] (HBASE-3980) assembly should not be bound to package lifecycle

Posted by "Alejandro Abdelnur (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-3980?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13048907#comment-13048907 ] 

Alejandro Abdelnur commented on HBASE-3980:
-------------------------------------------

@Stack, not sure I get your question. 

Are you asking how assembly ended up bound to the lifecycle? If so, it happened as part of HBASE-3606. 

> assembly should not be bound to package lifecycle
> -------------------------------------------------
>
>                 Key: HBASE-3980
>                 URL: https://issues.apache.org/jira/browse/HBASE-3980
>             Project: HBase
>          Issue Type: Improvement
>          Components: build
>            Reporter: Alejandro Abdelnur
>
> The current binding slows down significantly tasks like 'mvn install' when you just want to push hbase JAR to the local maven cache.

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

        

[jira] [Commented] (HBASE-3980) assembly should not be bound to package lifecycle

Posted by "stack (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-3980?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13048970#comment-13048970 ] 

stack commented on HBASE-3980:
------------------------------

@Alejandro Thanks.  That is what I was asking.  Seems way wonky that assembly is called when we package.  Is that necessary?  Good on you A.

> assembly should not be bound to package lifecycle
> -------------------------------------------------
>
>                 Key: HBASE-3980
>                 URL: https://issues.apache.org/jira/browse/HBASE-3980
>             Project: HBase
>          Issue Type: Improvement
>          Components: build
>            Reporter: Alejandro Abdelnur
>
> The current binding slows down significantly tasks like 'mvn install' when you just want to push hbase JAR to the local maven cache.

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

        

[jira] [Commented] (HBASE-3980) assembly should not be bound to package lifecycle

Posted by "Alejandro Abdelnur (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-3980?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13049178#comment-13049178 ] 

Alejandro Abdelnur commented on HBASE-3980:
-------------------------------------------

@Stack, I agree with you, ideally we should stay the Maven way.

Still, packaging is a tricky business.

What I would suggest, but this a bit more of work, is to do something the along the lines we did for Oozie, use maven multi-projects, having one module 'distro' just to put together the TAR.

Still, we could the the profile for TAR on package as an interim solution.

Thoughts?



> assembly should not be bound to package lifecycle
> -------------------------------------------------
>
>                 Key: HBASE-3980
>                 URL: https://issues.apache.org/jira/browse/HBASE-3980
>             Project: HBase
>          Issue Type: Improvement
>          Components: build
>            Reporter: Alejandro Abdelnur
>
> The current binding slows down significantly tasks like 'mvn install' when you just want to push hbase JAR to the local maven cache.

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

        

[jira] [Commented] (HBASE-3980) assembly should not be bound to package lifecycle

Posted by "stack (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-3980?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13049268#comment-13049268 ] 

stack commented on HBASE-3980:
------------------------------

We are going multi-project after we branch 0.92 so will work then.  Need something meantime.  Do you know why package target hooked to assembly?  Its vital?  (Thanks for the help on this Alejandro).

> assembly should not be bound to package lifecycle
> -------------------------------------------------
>
>                 Key: HBASE-3980
>                 URL: https://issues.apache.org/jira/browse/HBASE-3980
>             Project: HBase
>          Issue Type: Improvement
>          Components: build
>            Reporter: Alejandro Abdelnur
>
> The current binding slows down significantly tasks like 'mvn install' when you just want to push hbase JAR to the local maven cache.

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

        

[jira] [Commented] (HBASE-3980) assembly should not be bound to package lifecycle

Posted by "Alejandro Abdelnur (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-3980?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13048802#comment-13048802 ] 

Alejandro Abdelnur commented on HBASE-3980:
-------------------------------------------

The project jar is generated on the 'package' lifecycle phase. And the 'install' lifecycle phase comes after 'package'.

The solution I'm entertaining is to use a Maven profile (enabled by -DmakeTar option) that will generate the tar in the 'package' lifecycle.

By default that profile would be disabled and not TAR would be generated if doing a mvn package/install/deploy (just the JAR).


> assembly should not be bound to package lifecycle
> -------------------------------------------------
>
>                 Key: HBASE-3980
>                 URL: https://issues.apache.org/jira/browse/HBASE-3980
>             Project: HBase
>          Issue Type: Improvement
>          Components: build
>            Reporter: Alejandro Abdelnur
>
> The current binding slows down significantly tasks like 'mvn install' when you just want to push hbase JAR to the local maven cache.

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

        

[jira] [Commented] (HBASE-3980) assembly should not be bound to package lifecycle

Posted by "stack (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-3980?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13048971#comment-13048971 ] 

stack commented on HBASE-3980:
------------------------------

@Alejandro My fear is that if we swerve off the route maven has mapped for us, we'll end up in the maven ditch and we'll spend the rest of our lives patching and shimming keeping our build in shape.

> assembly should not be bound to package lifecycle
> -------------------------------------------------
>
>                 Key: HBASE-3980
>                 URL: https://issues.apache.org/jira/browse/HBASE-3980
>             Project: HBase
>          Issue Type: Improvement
>          Components: build
>            Reporter: Alejandro Abdelnur
>
> The current binding slows down significantly tasks like 'mvn install' when you just want to push hbase JAR to the local maven cache.

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

        

[jira] [Commented] (HBASE-3980) assembly should not be bound to package lifecycle

Posted by "stack (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-3980?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13048893#comment-13048893 ] 

stack commented on HBASE-3980:
------------------------------

@Alejandro How did 'assembly should not be bound to package lifecycle' happen?  Thats a recent development IIRC?

> assembly should not be bound to package lifecycle
> -------------------------------------------------
>
>                 Key: HBASE-3980
>                 URL: https://issues.apache.org/jira/browse/HBASE-3980
>             Project: HBase
>          Issue Type: Improvement
>          Components: build
>            Reporter: Alejandro Abdelnur
>
> The current binding slows down significantly tasks like 'mvn install' when you just want to push hbase JAR to the local maven cache.

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