hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Enis Soztutar (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-13816) Build shaded modules only in release profile
Date Sun, 31 May 2015 00:06:01 GMT

     [ https://issues.apache.org/jira/browse/HBASE-13816?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Enis Soztutar updated HBASE-13816:
----------------------------------
    Attachment: hbase-13816_v1.patch

Patch to move the {{maven-shade-plugin}} to the release profile. 

{code}
mvn install -DskipTests -Prelease
....
[INFO] Dependency-reduced POM written at: /Users/enis/projects/hbase/hbase-shaded/hbase-shaded-server/target/dependency-reduced-pom.xml
[INFO] 
[INFO] --- maven-install-plugin:2.3.1:install (default-install) @ hbase-shaded-server ---
[INFO] Installing /Users/enis/projects/hbase/hbase-shaded/hbase-shaded-server/target/hbase-shaded-server-2.0.0-SNAPSHOT.jar
to /Users/enis/.m2/repository/org/apache/hbase/hbase-shaded-server/2.0.0-SNAPSHOT/hbase-shaded-server-2.0.0-SNAPSHOT.jar
[INFO] Installing /Users/enis/projects/hbase/hbase-shaded/hbase-shaded-server/target/dependency-reduced-pom.xml
to /Users/enis/.m2/repository/org/apache/hbase/hbase-shaded-server/2.0.0-SNAPSHOT/hbase-shaded-server-2.0.0-SNAPSHOT.pom
[INFO] Installing /Users/enis/projects/hbase/hbase-shaded/hbase-shaded-server/target/hbase-shaded-server-2.0.0-SNAPSHOT-tests.jar
to /Users/enis/.m2/repository/org/apache/hbase/hbase-shaded-server/2.0.0-SNAPSHOT/hbase-shaded-server-2.0.0-SNAPSHOT-tests.jar
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] HBase ............................................. SUCCESS [3.695s]
[INFO] HBase - Checkstyle ................................ SUCCESS [0.616s]
[INFO] HBase - Annotations ............................... SUCCESS [0.245s]
[INFO] HBase - Protocol .................................. SUCCESS [1.990s]
[INFO] HBase - Common .................................... SUCCESS [3.865s]
[INFO] HBase - Procedure ................................. SUCCESS [0.460s]
[INFO] HBase - Client .................................... SUCCESS [1.803s]
[INFO] HBase - Hadoop Compatibility ...................... SUCCESS [0.212s]
[INFO] HBase - Hadoop Two Compatibility .................. SUCCESS [0.846s]
[INFO] HBase - Prefix Tree ............................... SUCCESS [0.510s]
[INFO] HBase - Server .................................... SUCCESS [7.438s]
[INFO] HBase - Testing Util .............................. SUCCESS [0.764s]
[INFO] HBase - Thrift .................................... SUCCESS [1.828s]
[INFO] HBase - Shell ..................................... SUCCESS [0.531s]
[INFO] HBase - Integration Tests ......................... SUCCESS [0.572s]
[INFO] HBase - Examples .................................. SUCCESS [0.403s]
[INFO] HBase - Rest ...................................... SUCCESS [0.746s]
[INFO] HBase - Assembly .................................. SUCCESS [0.637s]
[INFO] HBase - Shaded .................................... SUCCESS [0.035s]
[INFO] HBase - Shaded - Client ........................... SUCCESS [10.038s]
[INFO] HBase - Shaded - Server ........................... SUCCESS [15.314s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 53.749s
[INFO] Finished at: Sat May 30 16:53:53 PDT 2015
[INFO] Final Memory: 84M/506M
[INFO] ------------------------------------------------------------------------
{code}

> Build shaded modules only in release profile
> --------------------------------------------
>
>                 Key: HBASE-13816
>                 URL: https://issues.apache.org/jira/browse/HBASE-13816
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Enis Soztutar
>            Assignee: Enis Soztutar
>             Fix For: 2.0.0, 1.2.0, 1.1.1
>
>         Attachments: hbase-13816_v1.patch
>
>
> Shaded modules are great, but not needed in the regular build + test cycle. I noticed
that around 30-40% of the build time goes in the actual shading. 
> I think we can just build the shaded jars in the {{release}} profile. hadoopqe and mvn
publishing should not be affected. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message