Menu

#1098 The generated repository contains "Partial IU" and makes Tycho fail to build using PMD

Eclipse-Plugin
more-info-needed
build (3)
Eclipse
1-Blocker
Bug
2014-09-29
2013-05-28
No

Tycho 0.18.0 has got stricter regarding "Partial IU" and now fails whenever a partial IU can be found in the target-platform. So it makes it impossible to use PMD in the target-platform of an Eclipse project with Tycho.
Partial IUs happen when something is not correct in the way the p2 repository was generated, and happen ofter when still relying on older site.xml and other stuff. Instead, it's now recommended to use the category.xml with FeatureAndBundlesPublisher and CategoryPublisher tasks to ensure a good usage of p2 http://wiki.eclipse.org/Equinox/p2/Publisher#Features_And_Bundles_Publisher_Application

Discussion

  • Andreas Dangel

    Andreas Dangel - 2013-08-11
    • status: open --> more-info-needed
    • assigned_to: Andreas Dangel
     
  • Andreas Dangel

    Andreas Dangel - 2013-08-11

    Hi,
    can you try this again? Your problem could be caused by the fact, that we hit recently the bandwidth limit on our sourceforge website. So, that's maybe why the repository didn't work as expected.

    The Update site is already a p2 repository, the site.xml is there only to support installations for old eclipse versions (so historical). Any recent eclipse version will anyway ignore this in favor of content.jar/artifacts.jar.

    By the way - the new "official" update site is now: https://sourceforge.net/projects/pmd/files/pmd-eclipse/update-site/

    The old URL still is active and simply redirects to the new one.

    Thanks,
    Andreas

     
  • Knut Wannheden

    Knut Wannheden - 2014-09-29

    I have actually experienced the same problem on different occasions and have not been able to include the PMD update site in a Maven Tycho build. This although the update site seems to work in Eclipse...

     

Log in to post a comment.