license-maven-plugin
Post here questions and problems related to oXygen frameworks/document types.
-
- Posts: 3
- Joined: Fri Aug 12, 2022 10:16 pm
license-maven-plugin
Hello,
I'm developing a REST connector based on https://github.com/oxygenxml/web-author-rest-plugin
When I attempt to compile, I get an error:
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 https://oxygenxml.com/maven/.
What am I missing here? How do I get this to compile?
Thanks to anyone who can help!
I'm developing a REST connector based on https://github.com/oxygenxml/web-author-rest-plugin
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 (https://oxygenxml.com/maven) -> [Help 1]
I have tried adding a repository and a pluginRepository for com.oxygenxml, pointing to https://oxygenxml.com/maven/.
What am I missing here? How do I get this to compile?
Thanks to anyone who can help!
-
- Site Admin
- Posts: 172
- Joined: Tue Mar 20, 2018 5:28 pm
Re: license-maven-plugin
Post by Bogdan Dumitru »
Hello,
The "com.oxygenxml:license-maven-plugin" is an artifact that was not published to the public Maven repository "oxygenxml.com/maven".
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/24.0.0.4/oxygen-plugins-superpom-24.0.0.4.pom" and copy all dependencies and all plugins but "license-maven-plugin" from "oxygen-plugins-superpom" to your pom.xml
The "com.oxygenxml:license-maven-plugin" is an artifact that was not published to the public Maven repository "oxygenxml.com/maven".
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/24.0.0.4/oxygen-plugins-superpom-24.0.0.4.pom" and copy all dependencies and all plugins but "license-maven-plugin" from "oxygen-plugins-superpom" to your pom.xml
Bogdan Dumitru
http://www.oxygenxml.com
http://www.oxygenxml.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