[prev in list] [next in list] [prev in thread] [next in thread] 

List:       poi-dev
Subject:    [jira] [Created] (XMLBEANS-626) Interface extensions need explicit dependency on javaparser-symbol-s
From:       "Peter Keller (Jira)" <jira () apache ! org>
Date:       2022-08-25 16:08:00
Message-ID: JIRA.13478681.1661443664000.202785.1661443680004 () Atlassian ! JIRA
[Download RAW message or body]

Peter Keller created XMLBEANS-626:
-------------------------------------

             Summary: Interface extensions need explicit dependency on java=
parser-symbol-solver-core
                 Key: XMLBEANS-626
                 URL: https://issues.apache.org/jira/browse/XMLBEANS-626
             Project: XMLBeans
          Issue Type: Bug
          Components: Binding
    Affects Versions: Version 5.1.1
            Reporter: Peter Keller


Tidying up the dependencies for my XMLBeans-consuming project, I find that =
I need to specify an explicit dependency on {{{}com.github.javaparser:javap=
arser-symbol-solver-core{}}}, or the interface extension generation step fa=
ils with:

{{> java.lang.NoClassDefFoundError: com/github/javaparser/symbolsolver/mode=
l/resolution/TypeSolver}}

For context, I am building with Gradle, and defining the Ant schema compila=
tion task as follows:

{{ant.taskdef (}}
{{=C2=A0 =C2=A0 =C2=A0 =C2=A0 name: "xmlbean",}}
{{=C2=A0 =C2=A0 =C2=A0 =C2=A0 classname: "org.apache.xmlbeans.impl.tool.XML=
Bean",}}
{{=C2=A0 =C2=A0 =C2=A0 =C2=A0 classpath: configurations.xbeanconf.asPath}}
{{)}}

It is the {{classpath}} in the above snippet that needs {{{}javaparser-symb=
ol-solver-core{}}}, and it is not pulled in as a transitive dependency from=
 anywhere so I have to declare a dependency on it myself.

Is this intended? Or should {{javaparser-symbol-solver-core}} be considered=
 for inclusion as a dependency of xmlbeans itself? Or should I be doing thi=
s differently?

Any hints appreciated.

=C2=A0



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic