[ 
https://issues.apache.org/jira/browse/BLUR-394?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14262603#comment-14262603
 ] 

Aaron McCurry edited comment on BLUR-394 at 1/1/15 5:12 PM:
------------------------------------------------------------

I think there may be an issue with using classifiers in this way because we 
produce test jars from some of our projects.  The test jars use classifiers as 
well, and we would need to build separate classifiers for each version of each 
test jar as well.

Is the only real issue with deploying to artifactory the fact that "-SNAPSHOT" 
is not at the end of the version?

If so could we not make the version:

<projectVersion> hadoop2-${hadoop.version}-${project.parent.version} 
</projectVersion>

Instead of:

<projectVersion> ${project.parent.version}-hadoop2 </projectVersion>

Either solution I think we should start including the version of hadoop the 
code was compiled with so that we can differentiate artifacts of Blur compiled 
with different hadoop under the same profile.  So that when we compile Blur 
with hadoop2 profile and version 2.2.0 and version cdh5.3.0-2.5.0 that they 
result in 2 distinguishable artifacts.


was (Author: amccurry):
I think there may be an issue with using classifiers in this way because we 
produce test jars from some of our projects.  The test jars use classifiers as 
well, and we would need to build separate classifiers for each version of each 
test jar as well.

Is the only real issue with deploying to artifactory the fact that "-SNAPSHOT" 
is not at the end of the version?

If so could we not make the version:

<projectVersion>hadoop2-${hadoop.version}-${project.parent.version}</projectVersion>

Instead of:

<projectVersion>${project.parent.version}-hadoop2</projectVersion>

Either solution I think we should start including the version of hadoop the 
code was compiled with so that we can differentiate artifacts of Blur compiled 
with different hadoop under the same profile.  So that when we compile Blur 
with hadoop2 profile and version 2.2.0 and version cdh5.3.0-2.5.0 that they 
result in 2 distinguishable artifacts.

> Use classifiers in pom for Hadoop profile variants
> --------------------------------------------------
>
>                 Key: BLUR-394
>                 URL: https://issues.apache.org/jira/browse/BLUR-394
>             Project: Apache Blur
>          Issue Type: Improvement
>          Components: Blur
>            Reporter: Tim Williams
>
> Discussed here:
> http://mail-archives.apache.org/mod_mbox/incubator-blur-dev/201411.mbox/%3CCAG_bHoyAE0EvtjPX8Dim7p5dey6CWNgw0c4OwuJ%2BCWu5Ff1S2A%40mail.gmail.com%3E



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to