Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[tycho-user] Unable to create a P2 repo using tycho



We are running into some problems when we try to create a p2 repository using tycho and maven. Below is the detailed description of the issues we are facing. Any help in solving the below issue would be appreciated.


Project structure - parent pom

                Contains all the plugins required for the modules. And the module execution list.

                   - master P2 project - eclipse repository

                Contains the category.xml file with the information related to the below mentioned eclipse plugins.

        - eclipse plugin - eclipse plugin




What we want to achieve


We are introducing Maven for the first time for this project . We want to create a P2 repository using Maven ( mostly by using maven tycho plugin or any other standard available plugins ). Also , we wish to publish this repository to a site location.



What we tried until now


                Case 1:

                                Approach - We used Maven Tycho plugin and added the packaging as "eclipse-repository" for the project.

                                                                                We have following plugins in the pom.xml files

                                                                                We are using Maven tycho plugin with version  - 0.24.0

                                                                                Maven tycho plugin. maven-p2-repository , tycho-packaging plugin , maven-osgi-plugin


                                Errors    -

                                                                                [ERROR]     Unknown packaging: eclipse-repository @ line 6, column 14


                                                                                [ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit


                                                                                [ERROR] Re-run Maven using the -X switch to enable full debug logging.


                                                                                [ERROR] For more information about the errors and possible solutions, please rea

                                                                                d the following articles:

                                                                                [ERROR] [Help 1]


                Case 2 :

                                Approach - We used Maven-p2-plugin in order to create P2 repository .


                                Errors     -

                                                                                We were able to generate the P2-repository structure in the target folder of the master project, , but it failed to package all the dependent modules in the p2-repository.


Next steps suggestions


Request you to kindly assist and suggest , if we are on the right track in order to achieve our goal . Also let me know in case any changes required to my approach and any more additional things to be implemented.


Thanks and Regards,

Vishal Poptani

This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.

Back to the top