Thank you all! I did 'mvn clean' and 'mvn install' again (had tried
different things but missed this combination before I guess), and it worked.

On Sat, Mar 11, 2017 at 10:32 AM Eli Levine <[email protected]> wrote:

> I hit that too yesterday but an "mvn clean" fixed the issue for me.
>
> Eli
>
> > On Mar 10, 2017, at 10:26 PM, Maryann Xue <[email protected]> wrote:
> >
> > I was suspecting that too so removed "-DskipTests" option and tried again
> > with "mvn install", but still got the issue after all tests passed in the
> > "core" module. Had done "mvn clean" too, which didn't help.
> >> On Fri, Mar 10, 2017 at 7:43 PM Julian Hyde <[email protected]> wrote:
> >>
> >> Maryann,
> >>
> >> It might be that that class is only generated if you’re running tests,
> yet
> >> the (new forbidden-APIs plugin tries to check it anyway. Maybe you were
> >> running “mvn clean package -DskipTests” or similar?
> >>
> >> To be clear, I do think you’re hitting a bug, but it probably only
> happens
> >> with particular combinations of targets/flags.
> >>
> >> Julian
> >>
> >>> On Mar 10, 2017, at 3:21 PM, Jess Balint <[email protected]> wrote:
> >>>
> >>> Being the last one to commit, it's fine for me. :) Maybe clean first?
> >>>
> >>> Jess
> >>>
> >>> On Fri, Mar 10, 2017 at 4:45 PM, Maryann Xue <[email protected]>
> >> wrote:
> >>>
> >>>> Hi all,
> >>>>
> >>>> Was trying to do 'mvn install' today but got an error as follows:
> >>>>
> >>>> [ERROR] Failed to execute goal de.thetaphi:forbiddenapis:2.3:check
> >>>> (default) on project calcite-core: Check for forbidden API calls
> failed:
> >>>> java.lang.ClassNotFoundException:
> >>>> org.apache.calcite.sql.parser.parserextensiontesting.SqlUploadJarNode
> ->
> >>>> [Help 1]
> >>>>
> >>>>
> >>>> Does anyone know if it is a bug on master branch or there's something
> I
> >>>> might have done wrong? Thanks in advance for the help!
> >>>>
> >>>>
> >>>>
> >>>> Thanks,
> >>>>
> >>>> Maryann
> >>>>
> >>
> >>
>

Reply via email to