If Maven has trouble grabbing a pom but not an artifact, it'll
substitute in a placeholder pom that doesn't have e.g. license
information. That can result in a local repo that fails this way until
the refresh timeout hits for grabbing a pom again.

On Wed, Nov 4, 2015 at 5:33 PM, Stack <st...@duboce.net> wrote:
> Thanks Andrew. Weird is that it is sporadic. Will keep an eye on it.
> St.Ack
>
> On Wed, Nov 4, 2015 at 8:14 AM, Andrew Purtell <andrew.purt...@gmail.com>
> wrote:
>
>> > [ERROR] Error invoking method 'get(java.lang.Integer)' in
>> java.util.ArrayList at META-INF/LICENSE.vm[line 1627, column 22]
>>
>> This means a Velocity macro for building LICENSE info about a component
>> has failed because necessary information is missing in the Maven model.
>> When I have seen this it has been due to a change in dependencies without
>> necessary updates to supplemental-models.xml. Running the LICENSE and
>> NOTICE aggregations in debug mode will print out clues as to what
>> specifically is missing. See defines in the POMs for doing so. (I'm not at
>> the computer yet so can't pull up the specifics.)
>>
>>
>> > On Nov 4, 2015, at 6:23 AM, Stack <st...@duboce.net> wrote:
>> >
>> > [ERROR] Error invoking method 'get(java.lang.Integer)' in
>> > java.util.ArrayList at META-INF/LICENSE.vm[line 1627, column 22]
>>



-- 
Sean

Reply via email to