Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: migration to generic v6.2.0 #14

Merged
merged 2 commits into from
Jul 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions .github/workflows/maven-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ jobs:
permissions:
contents: read
packages: write
env:
GITHUB_TOKEN: ${{ github.token }}
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
- name: Set up JDK and Maven
Expand Down Expand Up @@ -68,8 +70,6 @@ jobs:
run: cat /home/runner/.m2/settings.xml
- name: Build with Maven
run: mvn --batch-mode clean package
env:
FAIL_ON_CHECK_COMMANDS: 'true'
- name: Extract artefact version
id: artefact_version
run: echo "version=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)" >> $GITHUB_OUTPUT
Expand All @@ -79,5 +79,3 @@ jobs:
- name: Publish to GitHub Packages
if: ${{ !endsWith(steps.artefact_version.outputs.version, '-SNAPSHOT') && github.ref == 'refs/heads/main' }}
run: mvn --batch-mode deploy -P gpg-sign -P deploy-github-packages
env:
GITHUB_TOKEN: ${{ github.token }}
46 changes: 0 additions & 46 deletions .scripts/convert-readme.sh

This file was deleted.

8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,18 @@ This API can be called using REST API and in Velocity Context.

## Build

JSON editor extension can be produced using maven:
This extension can be produced using maven:
```bash
mvn clean package
```

## Installation to Polarion

To install JSON editor extension to Polarion `ch.sbb.polarion.extension.json.editor-<version>.jar` should be copied to `<polarion_home>/polarion/extensions/json-editor/eclipse/plugins`

To install JSON editor extension to Polarion `ch.sbb.polarion.extension.json.editor-<version>.jar`
should be copied to `<polarion_home>/polarion/extensions/json-editor/eclipse/plugins`
It can be done manually or automated using maven build:
```bash
mvn clean install -Pinstall-to-local-polarion
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.

Expand Down
14 changes: 12 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,14 @@
<name>SBB Polarion Team</name>
<email>[email protected]</email>
<organization>SBB AG</organization>
<organizationUrl>http://www.sbb.ch</organizationUrl>
<organizationUrl>https://www.sbb.ch</organizationUrl>
</developer>
</developers>

<scm>
<connection>scm:git:git://github.com/SchweizerischeBundesbahnen/ch.sbb.polarion.extension.api-extender.git</connection>
<developerConnection>scm:git:ssh://github.com/SchweizerischeBundesbahnen/ch.sbb.polarion.extension.api-extender.git</developerConnection>
<url>http://github.com/SchweizerischeBundesbahnen/ch.sbb.polarion.extension.api-extender/tree/main</url>
<url>https://github.com/SchweizerischeBundesbahnen/ch.sbb.polarion.extension.api-extender/tree/main</url>
</scm>

<issueManagement>
Expand All @@ -60,6 +60,16 @@

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-clean-plugin</artifactId>
</plugin>

<plugin>
<groupId>ch.sbb.maven.plugins</groupId>
<artifactId>markdown2html-maven-plugin</artifactId>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
Expand Down
Loading