Oxygen SDK build error (pom.xml)

Having trouble installing <oXygen/>? Got a bug to report? Post it all here.
Posts: 1

Oxygen SDK build error (pom.xml)

Wed Sep 19, 2018 4:20 pm


My build (gradle, but the problem is pom related ) is complaining that the systemPath for tools.jar is not well defined.

Errors occurred while build effective model from /Users/stoussaint/.gradle/caches/modules-2/files-2.1/com.oxygenxml/oxygen-annotations/
'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:

I do find an answer about this on StackOverflow (https://stackoverflow.com/a/19921467/923516).

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.


Posts: 198

Re: Oxygen SDK build error (pom.xml)

Fri Sep 21, 2018 12:39 pm


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.


Return to “Common Problems”

Who is online

Users browsing this forum: No registered users and 1 guest