You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xerces.apache.org by thufir <ha...@gmail.com> on 2019/01/06 02:28:02 UTC

imports, maven and Java SE

Is there some sort of problem with regards to maven and xerces?

https://stackoverflow.com/q/11677572/262852

https://stackoverflow.com/q/53808761/262852



I have them imported as:


     compile (group = "xalan"                   , name = "xalan"       , 
version = "2.7.2")
     compile (group = "xerces"                  , name = "xercesImpl"  , 
version = "2.12.0")

in gradle/kotlin.  These are the correct imports?  Looking to head off 
any frustrations now.



thanks,

Thufir

---------------------------------------------------------------------
To unsubscribe, e-mail: j-users-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-users-help@xerces.apache.org


Re: imports, maven and Java SE

Posted by Mukul Gandhi <mu...@apache.org>.
On Sun, Jan 6, 2019 at 7:58 AM thufir <ha...@gmail.com> wrote:

> Is there some sort of problem with regards to maven and xerces?
>

I don't think so. If we know all the ways, of providing dependencies in a
maven build, one or more would be ok to introduce Xerces jars (as provided
by our release process) in the maven builds. I haven't found any difficulty
in this respect.


> https://stackoverflow.com/q/11677572/262852


I got the chance to read this. Its well written I believe. But I disagree
with certain points on this link.
One of the points on this link says,
The jar xml-apis.jar should be instead released something
like xml-apis1.x.y.jar (where 1.x.y is a certain version number) to be more
useful to users. This is not always true, and is infact ok in lot of
circumstances.


> I have them imported as:
>
>
>      compile (group = "xalan"                   , name = "xalan"       ,
> version = "2.7.2")
>      compile (group = "xerces"                  , name = "xercesImpl"  ,
> version = "2.12.0")
>
> in gradle/kotlin.  These are the correct imports?
>

I don't know the answer to this just now. Not much experience with kotlin
at the moment. Though I've worked with gradle & java combination.




-- 
Regards,
Mukul Gandhi