[jira] [Reopened] (HBASE-18723) [pom cleanup] Do a pass with dependency:analyze; remove unused and explicity list the dependencies we exploit

2017-09-13 Thread stack (JIRA)

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

stack reopened HBASE-18723:
---

[~appy] found a problem where I undid hbase-server's depdency on 
hbase-resource-bundle. Reopening to apply below change:


diff --git a/hbase-server/pom.xml b/hbase-server/pom.xml
index 26100ab1fb..c1cb3a078b 100644
--- a/hbase-server/pom.xml
+++ b/hbase-server/pom.xml
@@ -415,6 +415,12 @@
 
 
 
+  org.apache.hbase
+  hbase-resource-bundle
+  ${project.version}
+  true
+
+
   commons-codec
   commons-codec
 

> [pom cleanup] Do a pass with dependency:analyze; remove unused and explicity 
> list the dependencies we exploit
> -
>
> Key: HBASE-18723
> URL: https://issues.apache.org/jira/browse/HBASE-18723
> Project: HBase
>  Issue Type: Bug
>  Components: pom
>Reporter: stack
>Assignee: stack
> Fix For: 2.0.0-alpha-3
>
> Attachments: HBASE-18723.master.001.patch, 
> HBASE-18723.master.002.patch, HBASE-18723.master.003.patch, 
> HBASE-18723.master.004.patch, HBASE-18723.master.005.patch, 
> HBASE-18723-pom-cleanup-Do-a-pass-with-dependency.addendum.patch
>
>
> Do a pass over our poms. They are sloppy including unused jars and not 
> listing actually used dependencies. Undo 'required' dependencies like junit 
> and mockito; not all modules need these anymore.
> This cleanup motivated by failures up on jenkins where a build step is not 
> finding transitive includes; explicit mention is needed (See failures in 
> HBASE-18674).



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Reopened] (HBASE-18723) [pom cleanup] Do a pass with dependency:analyze; remove unused and explicity list the dependencies we exploit

2017-09-04 Thread stack (JIRA)

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

stack reopened HBASE-18723:
---

Reopen. HBASE-18674 still fails. This time it can't find the JspC that is used 
internally by ant task. We purge JspC transitive includes from hadoop everywhere

Poking around, a pretty recent bundling of JspC is in glassfish. It is what 
jetty suggests on this page: 

http://www.eclipse.org/jetty/documentation/9.4.x/jetty-jspc-maven-plugin.html

Our ant hackery doing precompile needs modernizing. I tried updating it but the 
mapping is not clean so leaving it as is for now.

Here is the error I get from HBASE-18674. I cannot reproduce this stuff locally 
though I try running the yetus commands locally (maybe if I redo the whole 
yetus build...)

main:
[mkdir] Created dir: /testptch/hbase/hbase-rest/target/hbase-webapps
 [copy] Copying 1 file to /testptch/hbase/hbase-rest/target/hbase-webapps
[INFO] 
[INFO] BUILD FAILURE
[INFO] 
[INFO] Total time: 3.768s
[INFO] Finished at: Mon Sep 04 04:35:22 UTC 2017
[INFO] Final Memory: 32M/913M
[INFO] 
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-antrun-plugin:1.8:run (generate) on project 
hbase-rest: An Ant BuildException has occured: taskdef class 
org.apache.jasper.JspC cannot be found

> [pom cleanup] Do a pass with dependency:analyze; remove unused and explicity 
> list the dependencies we exploit
> -
>
> Key: HBASE-18723
> URL: https://issues.apache.org/jira/browse/HBASE-18723
> Project: HBase
>  Issue Type: Bug
>  Components: pom
>Reporter: stack
>Assignee: stack
> Fix For: 2.0.0-alpha-3
>
> Attachments: HBASE-18723.master.001.patch, 
> HBASE-18723.master.002.patch, HBASE-18723.master.003.patch, 
> HBASE-18723.master.004.patch, 
> HBASE-18723-pom-cleanup-Do-a-pass-with-dependency.addendum.patch
>
>
> Do a pass over our poms. They are sloppy including unused jars and not 
> listing actually used dependencies. Undo 'required' dependencies like junit 
> and mockito; not all modules need these anymore.
> This cleanup motivated by failures up on jenkins where a build step is not 
> finding transitive includes; explicit mention is needed (See failures in 
> HBASE-18674).



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Reopened] (HBASE-18723) [pom cleanup] Do a pass with dependency:analyze; remove unused and explicity list the dependencies we exploit

2017-09-02 Thread stack (JIRA)

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

stack reopened HBASE-18723:
---

Reopening for addendum. Still holes in dependency. See latest runs of 
HBASE-18674

> [pom cleanup] Do a pass with dependency:analyze; remove unused and explicity 
> list the dependencies we exploit
> -
>
> Key: HBASE-18723
> URL: https://issues.apache.org/jira/browse/HBASE-18723
> Project: HBase
>  Issue Type: Bug
>  Components: pom
>Reporter: stack
>Assignee: stack
> Fix For: 2.0.0-alpha-3
>
> Attachments: HBASE-18723.master.001.patch, 
> HBASE-18723.master.002.patch, HBASE-18723.master.003.patch
>
>
> Do a pass over our poms. They are sloppy including unused jars and not 
> listing actually used dependencies. Undo 'required' dependencies like junit 
> and mockito; not all modules need these anymore.
> This cleanup motivated by failures up on jenkins where a build step is not 
> finding transitive includes; explicit mention is needed (See failures in 
> HBASE-18674).



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)