dita dependency in maven project
Post here questions and problems related to oXygen frameworks/document types.
-
- Posts: 98
- Joined: Tue Mar 06, 2018 2:07 pm
- Contact:
dita dependency in maven project
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
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
Nicolas Delobel
AmeXio
nicolas.delobel at amexiogroup.com
AmeXio
nicolas.delobel at amexiogroup.com
-
- Posts: 98
- Joined: Tue Mar 06, 2018 2:07 pm
- Contact:
Re: dita dependency in maven project
The question in fact is: the dita.jar is available as a Maven artifact?
Nicolas
Nicolas
Nicolas Delobel
AmeXio
nicolas.delobel at amexiogroup.com
AmeXio
nicolas.delobel at amexiogroup.com
-
- Posts: 9431
- Joined: Fri Jul 09, 2004 5:18 pm
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
-
- Posts: 98
- Joined: Tue Mar 06, 2018 2:07 pm
- Contact:
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.
Nicolas Delobel
AmeXio
nicolas.delobel at amexiogroup.com
AmeXio
nicolas.delobel at amexiogroup.com
-
- Posts: 9431
- Joined: Fri Jul 09, 2004 5:18 pm
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
-
- Posts: 98
- Joined: Tue Mar 06, 2018 2:07 pm
- Contact:
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
Nicolas Delobel
AmeXio
nicolas.delobel at amexiogroup.com
AmeXio
nicolas.delobel at amexiogroup.com
Return to “SDK-API, Frameworks - Document Types”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service