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

Steve Varnau commented on TRAFODION-1417:
-----------------------------------------

Back-tracking on my earlier comment that version value needs to be constant. 
There are a number of other pom.xml files in the trafodion source that use 
${env.TRAFODION_VER}.  Maven gives some nasty warnings, for example:

[WARNING] Some problems were encountered while building the effective model for 
org.trafodion:rest:jar:2.0.0
[WARNING] 'version' contains an expression but should be a constant. @ 
org.trafodion:rest:${env.TRAFODION_VER}, 
/mnt/svarnau/incubator-trafodion/core/rest/pom.xml, line 36, column 12
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten 
the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support 
building such malformed projects.

But since we are doing this several other places, why not in dcs and rest as 
well?  We should be consistent one way or the other.
So my thinking is the warning is worth the result.

> Clean up build process so version only needs to be changed in 1 file
> --------------------------------------------------------------------
>
>                 Key: TRAFODION-1417
>                 URL: https://issues.apache.org/jira/browse/TRAFODION-1417
>             Project: Apache Trafodion
>          Issue Type: Sub-task
>          Components: Build Infrastructure
>            Reporter: Steve Varnau
>            Assignee: Steve Varnau
>            Priority: Minor
>




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

Reply via email to