Creating a plugin
Post here questions and problems related to oXygen frameworks/document types.
Creating a plugin
Hello,
I made some customizations to the oxygen-sample-plugin-workspace-access sample of the oxygen-sdk-samples-archetype maven project, and would like to use them as a basis for a project. But, if I try to copy the \mySample\oxygen-sample-plugins\oxygen-sample-plugin-workspace-access folder to another location, it opens as a project, but I get a “Non-resolvable parent POM” error in the POM file:
How can I resolve that?
I have also tried creating a new project from the GIT you have provided:
https://github.com/oxygenxml/sample-plu ... ce-access/
I managed to get it to build successfully both by cloning it and by unzipping the project from the zip, but in both cases, when I try to create a new Java class or Package, I get a “Source folder is not a Java project” error:
And, the folders in the navigator on the left behave like folders, instead of Packages.
If solving that is the better way to go, then I am happy with whatever can work.
Thanks,
Will
I made some customizations to the oxygen-sample-plugin-workspace-access sample of the oxygen-sdk-samples-archetype maven project, and would like to use them as a basis for a project. But, if I try to copy the \mySample\oxygen-sample-plugins\oxygen-sample-plugin-workspace-access folder to another location, it opens as a project, but I get a “Non-resolvable parent POM” error in the POM file:
- image.png (83.02 KiB) Viewed 1490 times
How can I resolve that?
I have also tried creating a new project from the GIT you have provided:
https://github.com/oxygenxml/sample-plu ... ce-access/
I managed to get it to build successfully both by cloning it and by unzipping the project from the zip, but in both cases, when I try to create a new Java class or Package, I get a “Source folder is not a Java project” error:
- image.png (43.78 KiB) Viewed 1490 times
And, the folders in the navigator on the left behave like folders, instead of Packages.
If solving that is the better way to go, then I am happy with whatever can work.
Thanks,
Will
-
- Posts: 1008
- Joined: Wed Nov 16, 2005 11:11 am
Re: Creating a plugin
Post by alex_jitianu »
Hi Will,
You can try one of the following:
- Invoke the contextual menu on the project in the Project explorer. Go to Configure-> Convert to Maven project.
- Use the File -> Import, Existing Maven Projects action
Best regards,
Alex
That's because that project is a Maven module, its parent being the oxygen-sdk-samples project. It can be extracted as a standalone Maven project, but it is much simpler to start from the Github sample which is already a standalone Maven project.But, if I try to copy the \mySample\oxygen-sample-plugins\oxygen-sample-plugin-workspace-access folder to another location, it opens as a project, but I get a “Non-resolvable parent POM” error in the POM file:
From the screenshot it doesn't look like Eclipse has detected the Maven/Java nature of the project. When it does, it usually decorates the root folder Icon with J and M letters.I managed to get it to build successfully both by cloning it and by unzipping the project from the zip, but in both cases, when I try to create a new Java class or Package, I get a “Source folder is not a Java project” error:
You can try one of the following:
- Invoke the contextual menu on the project in the Project explorer. Go to Configure-> Convert to Maven project.
- Use the File -> Import, Existing Maven Projects action
Best regards,
Alex
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