[ 
https://issues.apache.org/jira/browse/HBASE-2394?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12853170#action_12853170
 ] 

Lars Francke commented on HBASE-2394:
-------------------------------------

I won't yet assign this to me as I'm not done and I don't know if I'll have the 
time to finish it.

But I've looked into it and it seems to allow us to slim down our pom 
considerably. There are a few more things that need to be done on the pom but 
that can be done in another issue.

The Apache POM automatically pulls in a NOTICE,  LICENSE and DEPENDENCIES file 
with the help of the 
[maven-remote-resources-plugin|http://maven.apache.org/plugins/maven-remote-resources-plugin/]
 and the 
[apache-jar-resource-bundle|http://github.com/apache/maven-resources/tree/trunk/apache-jar-resource-bundle/]
 so those files can probably be removed to avoid duplication.

It also provides an [assembly 
descriptor|http://svn.apache.org/viewvc/maven/resources/tags/apache-source-release-assembly-descriptor-1.0.2/]
 but I believe that only builds a source assembly and not a "final tarball" as 
we currently need it.

That can be tested by running: {{mvn -Papache-release package}}. There are som 
[instructions|http://www.mail-archive.com/[email protected]/msg00287.html]
 on how to use the assembly plugin with the parent pom.

The pom also provides the option to sign the jars which we somehow forgot so 
far :)

As far as I can tell my modified pom builds a working final tarball so it 
shouldn't be that much work to finish it.


> Use top-level Apache pom for shared configuration
> -------------------------------------------------
>
>                 Key: HBASE-2394
>                 URL: https://issues.apache.org/jira/browse/HBASE-2394
>             Project: Hadoop HBase
>          Issue Type: Improvement
>          Components: build
>    Affects Versions: 0.21.0
>            Reporter: Paul Smith
>            Priority: Minor
>
> Lars Francke suggested this one to me offline and I think it's an excellent 
> idea, so just raising it here for posterity.
> see 
> https://repository.apache.org/content/repositories/releases/org/apache/apache/7/apache-7.pom
> If we changed the HBase top-level pom to have a parent of the ASF one we can 
> share some configuration love here, take advantage of 'known good' plugins, 
> slim down the HBase pom definition even more (I love removing code, it's my 
> favourite task) and abide by standard Apache release artifact signing and 
> packaging processes.
> this _should_ be simple.  Lars or I will work up a patch when one of us has 
> some time.  
> (nice thinking Lars!)

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

Reply via email to