Where is XSDSchemaDocumentationGenerator class ?

Oxygen general issues.
Vince
Posts: 64
Joined: Wed Dec 03, 2014 11:25 am

Where is XSDSchemaDocumentationGenerator class ?

Post by Vince »

Hi,

I want to call the Oxygen Schema documentation task (XSDSchemaDocumentationGenerator) from a java program.
I found this class in jar oxygen.jar in Oxygen install dir (/lib). But class is not present in jar from oxygen maven repository after declaring dependency :

<dependency>
<groupId>com.oxygenxml</groupId>
<artifactId>oxygen</artifactId>
<version>16.1.0</version>
</dependency>

Why ?

Thank you for your answers.

Regards,
Vince
alex_jitianu
Posts: 1016
Joined: Wed Nov 16, 2005 11:11 am

Re: Where is XSDSchemaDocumentationGenerator class ?

Post by alex_jitianu »

Hello Vince,

The reason is that the oxygen.jar from the SDK is a subset of the oxygen.jar distributed in an Oxygen installation. It has all the API classes needed to compile the extensions as well as all the code needed to run the author component/applet.

The solution is to make the Maven project use oxygen.jar from an Oxygen installation.

Could you tell us more about your use case? Maybe we can offer an alternative...

Best regards,
Alex
Vince
Posts: 64
Joined: Wed Dec 03, 2014 11:25 am

Re: Where is XSDSchemaDocumentationGenerator class ?

Post by Vince »

Hello Alex,

Thanks for the answer and link.

I will publish as artifact (in our internal maven repository) the oxygen-runtime jar (the ones from an Oxygen installation) for XSD Schema documentation generator use.

And my use case is to make a maven plugin that will support schéma doc generation during maven site phase, taking various xsd as input and generating html docs as output. So, html schema documentation files will be included to maven site of our product.

Regards,
Vince
Post Reply