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

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

vvysotskyi commented on issue #2061: DRILL-7708: Downgrade maven from 3.6.3 to 
3.6.0
URL: https://github.com/apache/drill/pull/2061#issuecomment-615434184
 
 
   I'm not sure that this is a good way to align the Maven version to the 
version supported by the system package manager.
   For example, for people who use Ubuntu 16.04LTS, only [Maven 
3.3.9](https://packages.ubuntu.com/xenial/maven) was available, but people who 
already use Ubuntu 20.04 can install [Maven 
3.6.3](https://packages.ubuntu.com/focal/maven). I don't remember time when I 
hadn't to install it manually from the binary archive on CentOS 6.X and some 
7.X versions. For macOS, brew already provides Maven 3.6.3.
   
   But having a newer Maven version allows using newer plugin versions with 
their new features.
   
   As a side point, Apache Spark also uses Maven 3.6.3: 
https://github.com/apache/spark/blob/master/pom.xml#L118.
   
   For your case, I would recommend either adding new release mirror `deb 
http://cz.archive.ubuntu.com/ubuntu focal main universe` to 
`/etc/apt/sources.list` and installing newer version using the apt package 
manager or downloading the package from 
[there](https://packages.ubuntu.com/focal/all/maven/download) and installing it 
using `dpgk -i`.
   I have tried the first option on Ubuntu 18.04 and it worked fine for me.
 
----------------------------------------------------------------
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:
[email protected]


> Downgrade maven from 3.6.3 to 3.6.0
> -----------------------------------
>
>                 Key: DRILL-7708
>                 URL: https://issues.apache.org/jira/browse/DRILL-7708
>             Project: Apache Drill
>          Issue Type: Bug
>    Affects Versions: 1.18.0
>            Reporter: Paul Rogers
>            Assignee: Paul Rogers
>            Priority: Major
>             Fix For: 1.18.0
>
>
> DRILL-7704 upgraded Drill's Maven version to 3.6.3.
> As it turns out, I use Ubuntu (Linux Mint) for development. Maven is 
> installed as a package using apt-get. Packages can lag behind a bit. The 
> latest maven available via apt-get is 3.6.0.
> It is a nuisance to install a new version outside the package manager. I 
> changed the Maven version in the root pom.xml to 3.6.0 and the build seemed 
> to work. Any reason we need the absolute latest version rather than just 
> 3.6.0 or later?
> The workaround for now is to manually edit the pom.xml file on each checkout, 
> then revert the change before commit. This ticket requests to adjust the 
> "official" version to 3.6.0.



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

Reply via email to