You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Hiram Chirino (JIRA)" <ji...@apache.org> on 2008/07/22 04:38:31 UTC

[jira] Commented: (ZOOKEEPER-83) Switch to using maven to build ZooKeeper

    [ https://issues.apache.org/jira/browse/ZOOKEEPER-83?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12615494#action_12615494 ] 

Hiram Chirino commented on ZOOKEEPER-83:
----------------------------------------

I just attached a mavenized version of ZooKeeper based on rev 677371

I would have provided a patch, but due to the directory re-organizations, it would be too hard to produce and apply.  So attached is a full source distro, please evaluate and comment.  Hopefully if folks like it, it can be used as a guide.

For folks who are new to maven, here is a quick guide:

to build: mvn install
to clean mvn clean
to clean build: mvn clean install

to skip tests during a build: mvn install -Dtest=false 
to create eclipse project files: mvn eclipse:eclipse
to create intelij projects files: mvn idea:idea



> Switch to using maven to build ZooKeeper
> ----------------------------------------
>
>                 Key: ZOOKEEPER-83
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-83
>             Project: Zookeeper
>          Issue Type: Improvement
>          Components: build
>            Reporter: Hiram Chirino
>            Assignee: Hiram Chirino
>         Attachments: zookeeper-mavened.tgz
>
>
> Maven is a great too for building java projects at the ASF.  It helps standardize the build a bit since it's a convention oriented.
> It's dependency auto downloading would remove the need to store the dependencies in svn, and it will handle many of the suggested ASF policies like gpg signing of the releases and such.
> The ZooKeeper build is almost vanilla except for the jute compiler bits.  Things that would need to change are:
>  * re-organize the source tree a little so that it uses the maven directory conventions
>  * seperate the jute bits out into seperate modules so that a maven plugin can be with it
>  

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