[
https://issues.apache.org/jira/browse/HDDS-4671?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Marton Elek resolved HDDS-4671.
-------------------------------
Fix Version/s: 1.1.0
Resolution: Fixed
> Use mvn to get ozone.version instead of complex shell commands
> ---------------------------------------------------------------
>
> Key: HDDS-4671
> URL: https://issues.apache.org/jira/browse/HDDS-4671
> Project: Hadoop Distributed Data Store
> Issue Type: Improvement
> Components: build
> Affects Versions: 1.0.0
> Reporter: Hui Fei
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.1.0
>
>
> In acceptance.sh, blockade.sh & kubernetes.sh
> I see
> {quote}
> OZONE_VERSION=$(grep "<ozone.version>" "pom.xml" | sed 's/<[^>]*>//g'| sed
> 's/^[ \t]*//')
> {quote}
> It seems that using mvn to get ozone.version is more clear.
> {quote}
> OZONE_VERSION=$(mvn help:evaluate -Dexpression=ozone.version -q -DforceStdout)
> {quote}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]