-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
288 additions
and
113 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,55 @@ | ||
# Polarion ALM extension to <...> | ||
# Export-Package Generator | ||
|
||
This project is used to find all exported packages and append them to the MANIFEST.MF file. It searches for sub-packages within the specified root packages and creates an "Export-Package" entry in the manifest file. | ||
|
||
This Polarion extension provides possibility to <...> | ||
## Build | ||
|
||
This extension can be produced using maven: | ||
```bash | ||
The binary artefact can be produced using maven: | ||
```shell | ||
mvn clean package | ||
``` | ||
|
||
## Installation to Polarion | ||
|
||
To install the extension to Polarion `ch.sbb.polarion.extension.<extension_name>-<version>.jar` | ||
should be copied to `<polarion_home>/polarion/extensions/ch.sbb.polarion.extension.<extension_name>/eclipse/plugins` | ||
It can be done manually or automated using maven build: | ||
```bash | ||
mvn clean install -P install-to-local-polarion | ||
``` | ||
For automated installation with maven env variable `POLARION_HOME` should be defined and point to folder where Polarion is installed. | ||
|
||
Changes only take effect after restart of Polarion. | ||
|
||
## Polarion configuration | ||
|
||
<...> | ||
|
||
|
||
## Extension Configuration | ||
|
||
<...> | ||
|
||
|
||
## Usage | ||
|
||
<...> | ||
|
||
To use the Export-Package Generator the following changes in `pom.xml` are required: | ||
|
||
```xml | ||
<dependencies> | ||
<dependency> | ||
<groupId>ch.sbb</groupId> | ||
<artifactId>export-package-generator</artifactId> | ||
<version>1.0.0</version> | ||
<scope>runtime</scope> | ||
</dependency> | ||
... | ||
</dependencies> | ||
|
||
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.codehaus.mojo</groupId> | ||
<artifactId>exec-maven-plugin</artifactId> | ||
<version>${exec-maven-plugin.version}</version> | ||
<executions> | ||
<execution> | ||
<goals> | ||
<goal>exec</goal> | ||
</goals> | ||
<phase>process-classes</phase> | ||
</execution> | ||
</executions> | ||
<configuration> | ||
<executable>java</executable> | ||
<arguments> | ||
<argument>-classpath</argument> | ||
<classpath/> | ||
<argument>ch.sbb.export_package_generator.PackageFinder</argument> | ||
<argument>org.apache.poi</argument> <!-- root package --> | ||
</arguments> | ||
</configuration> | ||
</plugin> | ||
... | ||
</plugins> | ||
... | ||
</build> | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.