Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

EclipseSCADA/Build/P2toM2

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

Note.png
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.


Source

The source is in the git repository: http://git.eclipse.org/c/eclipsescada/org.eclipse.scada.releng.git/tree/org.eclipse.scada.releng.p2.to.maven

Binaries

Note.png
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: http://download.eclipse.org/eclipsescada/releng/

Running

java -jar p2tom2/plugins/org.eclipse.equinox.launcher*.jar -consoleLog file:config.properties <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