Oxygen SDK build error (pom.xml)
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 1
- Joined: Wed Sep 19, 2018 4:11 pm
Oxygen SDK build error (pom.xml)
Post by stoussaint »
Hi,
My build (gradle, but the problem is pom related ) is complaining that the systemPath for tools.jar is not well defined.
The problem seems to be that ${JAVA_HOME} is not a valid maven variable (anymore ?). We should use ${java.home} instead.
If I replace ${JAVA_HOME} by ${java.home} in "oxygen-build-tools" pom.xml it actually fix the issue. Maybe you can take this into account for your subsequent release.
Thanks
Stéphane
My build (gradle, but the problem is pom related ) is complaining that the systemPath for tools.jar is not well defined.
I do find an answer about this on StackOverflow (https://stackoverflow.com/a/19921467/923516).Errors occurred while build effective model from /Users/stoussaint/.gradle/caches/modules-2/files-2.1/com.oxygenxml/oxygen-annotations/20.1.0.2/ece217cbd5aee107232bc978c5af2d694e3eedf8/oxygen-annotations-20.1.0.2.pom:
'dependencies.dependency.systemPath' for jdk.tools:jdk.tools:jar must specify an absolute path but is ${JAVA_HOME}/lib/tools.jar in com.oxygenxml:oxygen-annotations:20.1.0.2
The problem seems to be that ${JAVA_HOME} is not a valid maven variable (anymore ?). We should use ${java.home} instead.
If I replace ${JAVA_HOME} by ${java.home} in "oxygen-build-tools" pom.xml it actually fix the issue. Maybe you can take this into account for your subsequent release.
Thanks
Stéphane
-
- Posts: 517
- Joined: Thu Sep 04, 2014 4:22 pm
Re: Oxygen SDK build error (pom.xml)
Post by cristi_talau »
Hello,
You are right. You could even delete the whole dependency as it is not needed for the SDK. We will delete it in the next version.
Best,
Cristian
You are right. You could even delete the whole dependency as it is not needed for the SDK. We will delete it in the next version.
Best,
Cristian
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ 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