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

ASF GitHub Bot commented on DRILL-7208:
---------------------------------------

vvysotskyi commented on issue #1911: DRILL-7208: Reuse root git.properties file
URL: https://github.com/apache/drill/pull/1911#issuecomment-559772432
 
 
   @agozhiy, good question! Plugins declared for the same phase, will be 
executed in the order of their appearance in the pom file, but currently, it 
may cause problems since `git-commit-id-plugin` is applied after 
`maven-resources-plugin`, so outdated file may be placed into the 
target/classes folder. Thanks for pointing that, I have corrected plugins order.
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> Drill commit is not shown if build Drill from the 1.16.0-rc1 release sources
> ----------------------------------------------------------------------------
>
>                 Key: DRILL-7208
>                 URL: https://issues.apache.org/jira/browse/DRILL-7208
>             Project: Apache Drill
>          Issue Type: Bug
>    Affects Versions: 1.15.0, 1.16.0
>            Reporter: Anton Gozhiy
>            Assignee: Vova Vysotskyi
>            Priority: Major
>             Fix For: 1.17.0
>
>
> *Steps:*
>  # Download the rc1 sources tarball:
>  
> [apache-drill-1.16.0-src.tar.gz|http://home.apache.org/~sorabh/drill/releases/1.16.0/rc1/apache-drill-1.16.0-src.tar.gz]
>  # Unpack
>  # Build:
> {noformat}
> mvn clean install -DskipTests
> {noformat}
>  # Start Drill in embedded mode:
> {noformat}
> Linux:
> distribution/target/apache-drill-1.16.0/apache-drill-1.16.0/bin/drill-embedded
> Windows:
> distribution\target\apache-drill-1.16.0\apache-drill-1.16.0\bin\sqlline.bat 
> -u "jdbc:drill:zk=local"
> {noformat}
>  # Run the query:
> {code:sql}
> select * from sys.version;
> {code}
> *Expected result:*
>  Drill version, commit_id, commit_message, commit_time, build_email, 
> build_time should be correctly displayed.
> *Actual result:*
> {noformat}
> apache drill> select * from sys.version;
> +---------+-----------+----------------+-------------+-------------+------------+
> | version | commit_id | commit_message | commit_time | build_email | 
> build_time |
> +---------+-----------+----------------+-------------+-------------+------------+
> | 1.16.0  | Unknown   |                |             | Unknown     |          
>   |
> +---------+-----------+----------------+-------------+-------------+------------+
> {noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to