Skip to content

About

No description or website provided.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

6 stars

Watchers

2 watching

Forks

Repository files navigation

Polarion artifacts deployer

polarion-artifacts-deployer

This polarion-artifacts-deployer script is written to use jar files from Polarion delivery for Polarion extension development. The script provides ability to install jars to local maven repository or deploy jars to SBB artifactory.

Installed jars

  • Each jar in the root of a plugin folder, with the plugin name as groupId.
  • Each jar directly in polarion/plugins, with groupId com.polarion.thirdparty.
  • Each nested jar of a plugin folder that the bundle exports, with the plugin name as groupId. A nested jar is exported when two conditions are true: the Bundle-ClassPath of the bundle lists it, and it holds at least one package from the Export-Package of the bundle. Other nested jars are private to the bundle, so code compiled against them fails at runtime.

The artifactId is the jar file name without .jar and without a trailing -SNAPSHOT. A release repository reads <artifactId>-SNAPSHOT/maven-metadata.xml as the metadata of a snapshot version and rejects it. A nested jar with the coordinates of another jar of the same bundle is skipped with a message.

Supported parameters:

  • --polarion-home — path to folder where polarion is installed
  • --action — maven action: install to local repo or deploy to remote repo
  • --repository-id — if maven action deploy is used, repository id from maven settings.xml should be provided to use credentials for authentication
  • --repository-url — if maven action deploy is used, remote repository URL should be provided
  • --skip-existing — with deploy, skip an artifact whose jar and pom are already in the repository. Use it to resume an interrupted deploy into a repository that forbids redeployment. The check authenticates with the username and password or the httpHeaders of the server in settings.xml

Examples

To install to local maven repo:

polarion-artifacts-deployer.py --polarion-home C:\Polarion --action install

To deploy to remote maven repository:

polarion-artifacts-deployer.py --polarion-home C:\Polarion --action deploy --repository-id <<private-maven-repo-id-from-settings.xml>> --repository-url https://<<private-maven-repo-url>>

About

No description or website provided.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

6 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages