nifi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Gilman <matt.c.gil...@gmail.com>
Subject Re: NIFI code build error
Date Tue, 03 Feb 2015 14:15:14 GMT
Pavan,

Two additional thoughts.

- Could the issue be caused to a lengthy file path?
- Maybe try setting your MAVEN_OPTS in case it's running out of memory...

MAVEN_OPTS="-Xms1024m -Xmx3076m -XX:MaxPermSize=256m"


On Tue, Feb 3, 2015 at 7:52 AM, Matt Gilman <matt.c.gilman@gmail.com> wrote:

> Pavan,
>
> That environment certainly shouldn't be a problem. I just upgraded to
> maven 3.2.5 to confirm that weren't any incompatibles between maven and
> that version of the YUI compressor plugin. Everything still built without
> issue. I did notice that the version of that plugin is quite old. I will be
> updating that for our next release [1]. Unfortunately, I am not able to
> replicate your exact environment as I am running on OSX but I know that
> others haven't had issues on Windows.
>
> Based on the information you've provided, I do not know what the problem
> is. However, I can offer these suggestions...
>
> - Confirm that the YUI compressor plugin in your local repository is
> correct by verifying the hashes.
> - Run maven with the debug flag set (-X). This will create incredibly
> verbose output so you'll want to redirect it to a file. You should then be
> able to find the part where the YUI compressor is being invoked and there
> may be more details there. Unfortunately from the standard output all we
> know is that it couldn't create an instance of net_alchim31_maven_yuicompressor.Aggregation
> but it doesn't say why.
>
> If these suggestions don't help, as a workaround you can build with the
> 'minify-and-compress' profile disabled. This profile is active by default
> but when disabled, it will not minify and compress any of the CSS and JS
> allowing for easier development but not recommended for production use.
>
> [1] https://issues.apache.org/jira/browse/NIFI-315
>
>
> On Tue, Feb 3, 2015 at 12:01 AM, chenduluru <chenduluru@gmail.com> wrote:
>
>> Hi,
>>
>> Thanks for your reply.
>>
>> Below are my local environment details
>>
>> OS: windows 8
>> Java: 1.7.0_45
>> Maven: apache-maven-3.2.5
>>
>> Thanks & Regards,
>> Pavan
>>
>>
>>
>> --
>> View this message in context:
>> http://apache-nifi-incubating-developer-list.39713.n7.nabble.com/NIFI-code-build-error-tp536p545.html
>> Sent from the Apache NiFi (incubating) Developer List mailing list
>> archive at Nabble.com.
>>
>
>

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