[
https://issues.apache.org/jira/browse/OOZIE-2229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14546471#comment-14546471
]
Ryota Egashira commented on OOZIE-2229:
---------------------------------------
thank you for sharing the link. ok this is way to manage different src
directories in one module.
but given profile is used to point to different sources depending on hadoop
version, I guess this approach end up hitting the same profile issue in
transitive dependency.
> oozie-hadoop-utils version does not conform to standard
> -------------------------------------------------------
>
> Key: OOZIE-2229
> URL: https://issues.apache.org/jira/browse/OOZIE-2229
> Project: Oozie
> Issue Type: Bug
> Reporter: Rohini Palaniswamy
> Assignee: Ryota Egashira
> Fix For: trunk
>
> Attachments: OOZIE-2229-v2.patch
>
>
> The version for oozie-hadoop-utils package for different versions is of the
> form
> <oozie.hadoop-utils.version>hadoop-${hadoop.majorversion}-${project.version}</oozie.hadoop-utils.version>
> i.e
> <version>hadoop-1-4.2.0-SNAPSHOT</version>
> <version>hadoop-2-4.2.0-SNAPSHOT</version>
> <version>hadoop-3-4.2.0-SNAPSHOT</version>
> This is breaking the standard major.minor.revision.patch versioning for jar
> or the <major version>.<minor version>.<incremental version>-<qualifier>
> standard for maven.
> This causes problems with maven plugins like versions and also problems with
> some of our internal systems which do not expect alphabets and special
> characters (- in this case) in the major version.
> The correct way to do this would be to use classifiers like how it is done in
> Pig and Sqoop for different versions of hadoop.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)