drill-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sudheesh Katkam <skat...@maprtech.com>
Subject Re: project build fails -> drill-jdbc-all-1.5.0-SNAPSHOT.jar is outside the expected size range
Date Tue, 09 Feb 2016 00:19:30 GMT
On one of the Linux VMs, when I run mvn clean install -DskipTests -Pmapr, I get this error
with 3.3.x (but not with 3.2.x). Weird.

Should we disable the rule until we figure out the cause?

- Sudheesh

> On Feb 2, 2016, at 6:11 AM, Jacques Nadeau <jacques@dremio.com> wrote:
> 
> This is a bug in maven we  haven't figured out yet how we're causing.
> Upgrading to Maven 3.3.x fixes it.
> On Feb 2, 2016 2:18 AM, "Arina Yelchiyeva" <arina.yelchiyeva@gmail.com>
> wrote:
> 
>> Hi all!
>> 
>> Just pulled recent changes from master (revision number
>> 1b96174b1e5bafb13a873dd79f03467802d7c929) and mvn clean install -DskipTests
>> failed with the following error:
>> 
>> *[ERROR] Failed to execute goal
>> org.apache.maven.plugins:maven-enforcer-plugin:1.3.1:enforce
>> (enforce-jdbc-jar-compactness) on project drill-jdbc-all: Some Enforcer
>> rules have failed. Look above for specific messages explaining why the rule
>> failed.*
>> 
>> *[WARNING] Rule 0: org.apache.maven.plugins.enforcer.RequireFilesSize
>> failed with message:*
>> *The file drill-jdbc-all-1.5.0-SNAPSHOT.jar is outside the expected size
>> range. *
>> 
>> *This is likely due to you adding new dependencies to a java-exec and not
>> updating the excludes in this module. This is important as it minimizes the
>> size of the dependency of Drill application users.*
>> *F:\git_repo\drill\exec\jdbc-all\target\drill-jdbc-all-1.5.0-SNAPSHOT.jar
>> size (44664290) too large. Max. is 20000000
>> F:\git_repo\drill\exec\jdbc-all\target\drill-jdbc-all-1.5.0-SNAPSHOT.jar*
>> 
>> Had to change <maxsize>20000000</maxsize> -> <maxsize>50000000</maxsize>
in
>> jdbc-all pom.xml to build the project.
>> 
>> Do we need to create jira for this or it's already being fixed?
>> 
>> Kind regards
>> Arina
>> 


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message