Hi,
In my project (manage under Maven) I would like to extends following classes : DITAExtensionsBundle and DitaLinkTextResolver.
Which dependency I have to add in my pom.xml to make it works?
Thanks a lot.
Nicolas
dita dependency in maven project
Re: dita dependency in maven project
The question in fact is: the dita.jar is available as a Maven artifact?
Nicolas
Nicolas
Re: dita dependency in maven project
Hi Nicolas,
In the Oxygen SDK "com.oxygenxml.samples" maven project:
https://www.oxygenxml.com/oxygen_sdk/download.html
there is a module named "bundle-frameworks".
You can also access the Java sources:
https://www.oxygenxml.com/maven/com/oxy ... /22.1.0.0/
Regards,
Radu
In the Oxygen SDK "com.oxygenxml.samples" maven project:
https://www.oxygenxml.com/oxygen_sdk/download.html
there is a module named "bundle-frameworks".
You can also access the Java sources:
https://www.oxygenxml.com/maven/com/oxy ... /22.1.0.0/
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Re: dita dependency in maven project
Hi Radu,
I created a maven module with my custom framework and inside a java source I try to import ro.sync.ecss.extensions.dita.DITAExtensionsBundle
But I have the following error when I try to build the complete project: error: package ro.sync.ecss.extensions.dita does not exist
Do you know why? Thanks.
I created a maven module with my custom framework and inside a java source I try to import ro.sync.ecss.extensions.dita.DITAExtensionsBundle
But I have the following error when I try to build the complete project: error: package ro.sync.ecss.extensions.dita does not exist
Do you know why? Thanks.
Re: dita dependency in maven project
Hi Nicolas,
Sorry about the delay, I discussed this with one of my colleagues, we tried various ways to make it work but it seems we need to expose in the future a special artifact to support this use case.
In the meantime you will need to use for compliaction the "OXYGEN_INSTALL_DIR\frameworks\dita\dita.jar" and add it as a system reference in the pom.xml:
Regards,
Radu
Sorry about the delay, I discussed this with one of my colleagues, we tried various ways to make it work but it seems we need to expose in the future a special artifact to support this use case.
In the meantime you will need to use for compliaction the "OXYGEN_INSTALL_DIR\frameworks\dita\dita.jar" and add it as a system reference in the pom.xml:
Code: Select all
<dependency>
<groupId>com.xxx</groupId>
<artifactId>xxx</artifactId>
<version>22.1/version>
<scope>system</scope>
<systemPath>${project.basedir}/lib/dita.jar</systemPath>
</dependency>
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Re: dita dependency in maven project
Hi Radu,
I will try this solution. Thanks a lot.
Regards,
Nicolas
I will try this solution. Thanks a lot.
Regards,
Nicolas