Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/release-3.x' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjamin Reed committed Dec 6, 2023
2 parents 6f4644c + ae1af8b commit e9dd5fd
Show file tree
Hide file tree
Showing 33 changed files with 2,731 additions and 368 deletions.
5 changes: 3 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,7 @@ jobs:
name: Gather artifacts
command: |
mkdir -p ~/dist/
cp assembly/kar/target/opennms-alec-plugin.kar ~/dist/
cp assembly/opennms-rpm/target/rpm/opennms-alec-plugin/RPMS/noarch/* ~/dist/
cp assembly/sentinel-rpm/target/rpm/sentinel-alec-plugin/RPMS/noarch/* ~/dist/
when: always
Expand Down Expand Up @@ -415,8 +416,8 @@ jobs:
name: Deploy the artifacts
command: |
mkdir -p ~/.m2
echo "${GPG_SECRET_KEY_RSA_4096}" | base64 -d > ~/.m2/sign-key.asc
export SIGN_KEY_PASS="$(echo "${GPG_PASSPHRASE_RSA_4096}" | base64 -d)"
echo "${GPG_SECRET_KEY}" | base64 -d > ~/.m2/sign-key.asc
export SIGN_KEY_PASS="$(echo "${GPG_PASSPHRASE}" | base64 -d)"
mvn -s .circleci.settings.xml -DskipTests -Prelease deploy
deploy-packages:
Expand Down
4 changes: 2 additions & 2 deletions .github/assign-by-files.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
"**/*.adoc":
- Bonrob2
- indigo423

"docs/**/*":
- Bonrob2
- indigo423
19 changes: 19 additions & 0 deletions datasource/opennms-common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,25 @@
<name>ALEC :: Datasource :: OpenNMS-Common</name>
<packaging>bundle</packaging>

<build>
<plugins>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<extensions>true</extensions>
<configuration>
<instructions>
<Bundle-RequiredExecutionEnvironment>JavaSE-${java.version}</Bundle-RequiredExecutionEnvironment>
<Import-Package>
com.google.common.*;version="${guava.major.version}",
*
</Import-Package>
</instructions>
</configuration>
</plugin>
</plugins>
</build>

<dependencies>
<dependency>
<groupId>org.opennms.alec.datasource</groupId>
Expand Down
3 changes: 2 additions & 1 deletion datasource/opennms-direct/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,15 @@
<extensions>true</extensions>
<configuration>
<instructions>
<Bundle-RequiredExecutionEnvironment>JavaSE-1.8</Bundle-RequiredExecutionEnvironment>
<Bundle-RequiredExecutionEnvironment>JavaSE-${java.version}</Bundle-RequiredExecutionEnvironment>
<Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
<Bundle-Version>${project.version}</Bundle-Version>
<Import-Package>
org.opennms.integration.api.v1.model,
org.opennms.alec.datasource.api,
org.opennms.alec.datasource.common,
org.opennms.alec.datasource.common.inventory,
com.google.common.*;version="${guava.major.version}",
*
</Import-Package>
</instructions>
Expand Down
3 changes: 2 additions & 1 deletion datasource/opennms-kafka/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<extensions>true</extensions>
<configuration>
<instructions>
<Bundle-RequiredExecutionEnvironment>JavaSE-1.8</Bundle-RequiredExecutionEnvironment>
<Bundle-RequiredExecutionEnvironment>JavaSE-${java.version}</Bundle-RequiredExecutionEnvironment>
<Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
<Bundle-Version>${project.version}</Bundle-Version>
<!-- we need to exclude org.apache.kafka.streams.KafkaStreams because it is otherwise treated as package,
Expand All @@ -30,6 +30,7 @@
org.opennms.alec.datasource.opennms.processors,
org.opennms.alec.datasource.opennms.proto,
org.opennms.alec.datasource.opennms.serialization,
com.google.common.*;version="${guava.major.version}",
*
</Import-Package>
</instructions>
Expand Down
Loading

0 comments on commit e9dd5fd

Please sign in to comment.