Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: for the plan.

Jump to: navigation, search


< EclipseSCADA‎ | Build
Revision as of 13:44, 12 March 2014 by (Talk | contribs) (Binaries)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

P2toM2 is a tool from Eclipse SCADA (Releng) used to convert P2 repositories to Maven 2 repositories.

This is only a release engineering tool
Although this tool is hosted inside the Eclipse SCADA repositories, it is not the main purpose of the Eclipse SCADA project to provide this tool. We only needed it to provide Maven 2 repositories.


The source is in the git repository:


This is only a release engineering too
Again, this is only a releng tool. It is in the download area in order to allow a build outside the Eclipse Foundation infrastructure without rebuilding the tool itself.

The most recent binary is at:


java -jar p2tom2/plugins/org.eclipse.equinox.launcher*.jar -consoleLog <sourceP2Repository> [<validationRepositoryies>]

The source repository is as URI to the repository that is to be converted. This can be an HTTP or FILE based repository. Everything that P2 supports.

The validation repositories are only used in order to resolve dependencies. The content will not be mirrored. However if dependencies from the validation repositories are not mirrored and are not available later, you will run into dependency issues.

Configuration file

The configuration file is a plain java properties file. All properties defined here can also be set as system properties. In this case the system properties override the values from the file.

Back to the top