You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Attila Doroszlai (Jira)" <ji...@apache.org> on 2021/01/13 14:57:00 UTC
[jira] [Assigned] (HDDS-4671) Use mvn to get ozone.version instead
of complex shell commands
[ https://issues.apache.org/jira/browse/HDDS-4671?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Attila Doroszlai reassigned HDDS-4671:
--------------------------------------
Assignee: Hui Fei
> 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
> Assignee: 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: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org