Post here questions and problems related to oXygen frameworks/document types.
Posts: 1
Joined: Fri Aug 12, 2022 10:16 pm


Post by mnewland »

I'm developing a REST connector based on
When I attempt to compile, I get an error:

Code: Select all

[ERROR] Plugin com.oxygenxml:license-maven-plugin:1.4 or one of its dependencies could not be resolved: Could not find artifact com.oxygenxml:license-maven-plugin:jar:1.4 in oxygen-plugins ( -> [Help 1]
I understand that the `com.oxygenxml:license-maven-plugin` is referenced in the `oxygen-plugins-superpom` dependency.
I have tried adding a repository and a pluginRepository for com.oxygenxml, pointing to
What am I missing here? How do I get this to compile?
Thanks to anyone who can help!
Bogdan Dumitru
Site Admin
Posts: 25
Joined: Tue Mar 20, 2018 5:28 pm

Re: license-maven-plugin

Post by Bogdan Dumitru »


The "com.oxygenxml:license-maven-plugin" is an artifact that was not published to the public Maven repository "".
One way to fix this is to bypass the "oxygen-plugins-superpom" that declares the missing plugin:
1. declare as parent pom "oxygen-superpom-versions" instead of "oxygen-plugins-superpom". Note that "oxygen-superpom-versions" is the parent pom of "oxygen-plugins-superpom"
2. open "~/.m2/com.oxygenxml/oxygen-plugins-superpom/" and copy all dependencies and all plugins but "license-maven-plugin" from "oxygen-plugins-superpom" to your pom.xml
Bogdan Dumitru
Post Reply