Uploaded image for project: 'XWiki Eclipse'
  1. XWiki Eclipse
  2. XECLIPSE-145

Maven-based build of XEclipse requires customization to work out of the box

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • Major
    • None
    • 1.2 RC1
    • XEclipse
    • None
    • Maven 2.2.1, Java 1.6.0, Debian GNU/Linux 5.0

    Description

      The build doesn't work if you don't use a XWiki-aware repository manager or the XWiki-related artifacts aren't already in your local Maven repository.

      This can be fixed by adding the required repository definitions to the relevant POMs.

      The trunk-pom.xml.patch adds the snapshots repository to org.xwiki.eclipse.rcp/pom.xml in the trunk. This patch should be applied to http://svn.xwiki.org/svnroot/xwiki/xeclipse/trunk/plugins/org.xwiki.eclipse.rcp/pom.xml.

      The sandbox-pom.xml.patch adds the snapshots repository to org.xwiki.eclipse.rcp/pom.xml in the sandbox. This patch should be applied to http://svn.xwiki.org/svnroot/xwiki/contrib/sandbox/xeclipse/org.xwiki.eclipse.rcp/pom.xml.

      The sandbox-copy-dependencies-pom.xml.patch adds the externals, the releases and the snapshots repository to copy-dependencies-pom.xml in the sandbox. This patch should be applied to http://svn.xwiki.org/svnroot/xwiki/contrib/sandbox/xeclipse/org.xwiki.eclipse.ui/copy-dependencies-pom.xml.

      The sandbox-build.properties.patch adds xwiki-core-properties-2.0-SNAPSHOT.jar to the OSGi bundle org.xwiki.eclipse.ui_1.2.0.RC1.jar in the sandbox. This prevents NoClassDefFoundErrors at runtime. This patch should be applied to http://svn.xwiki.org/svnroot/xwiki/contrib/sandbox/xeclipse/org.xwiki.eclipse.ui/build.properties.

      The sandbox-MANIFEST.MF.patch does the same as the previous one but for the MANIFEST.MF in the sandbox. This patch should be applied to http://svn.xwiki.org/svnroot/xwiki/contrib/sandbox/xeclipse/org.xwiki.eclipse.ui/META-INF/MANIFEST.MF.

      I also added some detailed build instructions to the draft space. It can be found here: Building XEclipse RCP with Maven.

      Attachments

        Activity

          People

            vmassol Vincent Massol
            c Clemens Fuchslocher
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: