[ https://issues.apache.org/jira/browse/PIG-1632?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12913733#action_12913733 ]
Olga Natkovich commented on PIG-1632: ------------------------------------- Hi Eli, thanks for the patch. I don't think this is the approach we want to take. I think we should publish just core pig jar in maven since users have a way to pull the dependencies. However, as part of our release package we should include bundled pig.jar so that it works for users out of the box and they get exactly the version we have been testing for. I am fine if additionally we include the core jar as well if we do not do this already. > The core jar in the tarball contains the kitchen sink > ------------------------------------------------------ > > Key: PIG-1632 > URL: https://issues.apache.org/jira/browse/PIG-1632 > Project: Pig > Issue Type: Bug > Components: build > Affects Versions: 0.8.0, 0.9.0 > Reporter: Eli Collins > Fix For: site, 0.9.0 > > Attachments: pig-1632-1.patch > > > The core jar in the tarball contains the kitchen sink, it's not the same core > jar built by ant jar. This is problematic since other projects that want to > depend on the pig core jar just want pig core, but > pig-0.8.0-SNAPSHOT-core.jar in the tarball contains a bunch of other stuff > (hadoop, com.google, commons, etc) that may conflict with the packages also > on a user's classpath. > {noformat} > pig1 (trunk)$ jar tvf build/pig-0.8.0-SNAPSHOT-core.jar |grep -v pig|wc -l > 12 > pig1 (trunk)$ tar xvzf build/pig-0.8.0-SNAPSHOT.tar.gz > ... > pig1 (trunk)$ jar tvf pig-0.8.0-SNAPSHOT/pig-0.8.0-SNAPSHOT-core.jar |grep -v > pig|wc -l > 4819 > {noformat} > How about restricting the core jar to just Pig classes? -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.