You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Patrick Hunt (JIRA)" <ji...@apache.org> on 2011/05/27 02:21:47 UTC
[jira] [Commented] (ZOOKEEPER-1078) add maven build support to
ZooKeeper
[ https://issues.apache.org/jira/browse/ZOOKEEPER-1078?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13040005#comment-13040005 ]
Patrick Hunt commented on ZOOKEEPER-1078:
-----------------------------------------
Note (esp committer): you need to chmod +x the build.sh and src/c/build.sh when trying this out (the build scripts, you don't need to worry if you are just "mvn test" or something).
Btw, this patch has NO requirements that we change the current file/directory hierarchy. I did this on purpose to ease us into supporting maven. Over time we would remove ant support once everyone is comfortable with the new build and all the kinks are worked out, jenkins builds are working, etc... I managed this via some hacks in the pom file that we will eventually remove. In order to do so we will need to make "svn move" changes at that time. However that should be fairly simple and not effect things like blame and such. Again, see the readme for more details.
MORE IMPORTANT: I also think we should try and move to Maven before the 3.4.0 release. Here's why. 3.3.x is very stable, there are limited amounts of backported patches that we're going to need to do. So we can hack on 3.4.0 w/o worrying about the pain of backporting due to filesystem moves. Say we wait till after 3.4.0, we'll likely be doing a number of fixes on 3.4, if trunk and 3.4 are significantly different (filesystem structure) we're going to have alot more pain. That's my thinking at least. Feel free to comment.
> add maven build support to ZooKeeper
> ------------------------------------
>
> Key: ZOOKEEPER-1078
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1078
> Project: ZooKeeper
> Issue Type: Improvement
> Components: build
> Reporter: Patrick Hunt
> Assignee: Patrick Hunt
> Fix For: 3.4.0
>
> Attachments: ZOOKEEPER-1078.patch
>
>
> I've taken a stab at creating a maven build for ZooKeeper. (attachment to follow).
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira