Import and link maven jar projects to debug

Last modified by Thomas Mortagne on 2018/02/06 15:35

You now have a complete "virtual" XWiki you can run from Eclipse and where your can edit web files.

We will now see how to link XWiki jar projects (xwiki-platform-oldcore, extensions...) to this XWiki instance to be able to edit java using all of the Eclipse tools.

Import Jar project

  • Start the Import wizard

    import-1.jpg

  • Select Maven Projects
  • Click buttonnext.jpg

    import-2.jpg

  • Select root folder of project you want to import
  • Click buttonfinish.jpg

    import-3.jpg

Link Jar project to the web project

Project which are already part of the standard XWiki WAR are automatically linked.

For extensions or any other jar you want to deploy on XWiki go to project Properties -> Deployment Assembly and add the project.

previous | home | next

Tags:
Created by Thomas Mortagne on 2017/11/16 15:00
   

Get Connected