tycho-p2-repository-plugin fails with “No content specified for p2 repository”

前端 未结 2 982
南旧
南旧 2020-12-16 15:50

I am trying to build a p2 repository using Tycho and the tycho-p2-repository-plugin in an eclipse-repository packaging type. When I run the build, it is giving

2条回答
  •  忘掉有多难
    2020-12-16 16:12

    I had this problem too, unfortunately it was one of many problems and I do not remember which thing I did to fix it.

    Make sure you are using 0.14.1 of tycho.

    My working version is a very empty pom.xml, much like Packaging Types

    I have not needed to configure the eclipse-repository via tycho-p2-repository-plugin.

    Do you have a valid target definition defined in your reactor build somewhere? Is your *.product file valid? The product file needs to be in the same directory as your eclipse-repository pom, I think it gets found via black magic.

    Also make sure your product feature is separate from your eclipse-repository. under PDE builds you could have the *.product file and the with the feature that is the root for your product.

提交回复
热议问题