Skip to content

Commit

Permalink
Add MicroProfile Config
Browse files Browse the repository at this point in the history
  • Loading branch information
GedMarc committed Feb 25, 2024
1 parent 10eb18d commit d26e3ff
Show file tree
Hide file tree
Showing 4 changed files with 134 additions and 2 deletions.
18 changes: 17 additions & 1 deletion .github/workflows/maven-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,22 @@ jobs:
SONA_PASSWORD: ${{secrets.SONA_PASSWORD}}
GPG_PASSPHRASE: ${{secrets.GPG_PASSPHRASE}}
GPG_PRIVATE_KEY: ${{secrets.GPG_PRIVATE_KEY}}
SmallRye:
uses: GuicedEE/Workflows/.github/workflows/bom.yml@master
needs:
- Versioner
with:
baseDir: 'SmallRyeBOM'
name: 'Guiced-EE BOM'
publishToCentral: ${{inputs.centralRelease}}
secrets:
USERNAME: ${{secrets.USERNAME}}
USER_TOKEN: ${{secrets.USER_TOKEN}}
SONA_USERNAME: ${{secrets.SONA_USERNAME}}
SONA_PASSWORD: ${{secrets.SONA_PASSWORD}}
GPG_PASSPHRASE: ${{secrets.GPG_PASSPHRASE}}
GPG_PRIVATE_KEY:
${{secrets.GPG_PRIVATE_KEY}}
GuicedEE:
uses: GuicedEE/Workflows/.github/workflows/bom.yml@master
needs:
Expand All @@ -188,4 +204,4 @@ jobs:
SONA_USERNAME: ${{secrets.SONA_USERNAME}}
SONA_PASSWORD: ${{secrets.SONA_PASSWORD}}
GPG_PASSPHRASE: ${{secrets.GPG_PASSPHRASE}}
GPG_PRIVATE_KEY: ${{secrets.GPG_PRIVATE_KEY}}
GPG_PRIVATE_KEY: ${{secrets.GPG_PRIVATE_KEY}}
103 changes: 103 additions & 0 deletions SmallRyeBOM/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,103 @@
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>com.guicedee</groupId>
<artifactId>versioner</artifactId>
<version>2.0.0-SNAPSHOT</version>
<relativePath>../Versioner</relativePath>
</parent>

<groupId>com.guicedee</groupId>
<artifactId>smallrye-bom</artifactId>
<version>2.0.0-SNAPSHOT</version>

<packaging>pom</packaging>

<name>SmallRye BOM</name>
<description>The BOM for SmallRye Artefacts</description>

<dependencyManagement>
<dependencies>
<dependency>
<groupId>com.guicedee</groupId>
<artifactId>standalone-bom</artifactId>
<version>${guicedee.version}</version>
<scope>import</scope>
<type>pom</type>
</dependency>

<dependency>
<groupId>io.smallrye.config</groupId>
<artifactId>smallrye-config</artifactId>
<version>${smallrye.config.version}</version>
<exclusions>
<exclusion>
<groupId>org.jboss.logging</groupId>
<artifactId>jboss-logging</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>io.smallrye.config</groupId>
<artifactId>smallrye-config-core</artifactId>
<version>${smallrye.config.version}</version>
<exclusions>
<exclusion>
<groupId>org.jboss.logging</groupId>
<artifactId>jboss-logging</artifactId>
</exclusion>
</exclusions>
</dependency>

<dependency>
<groupId>io.smallrye.config</groupId>
<artifactId>smallrye-config-common</artifactId>
<version>${smallrye.config.version}</version>
</dependency>

<dependency>
<groupId>io.smallrye.common</groupId>
<artifactId>smallrye-common-classloader</artifactId>
<version>${smallrye.commons.version}</version>
</dependency>

<dependency>
<groupId>io.smallrye.common</groupId>
<artifactId>smallrye-common-function</artifactId>
<version>${smallrye.commons.version}</version>
</dependency>

<dependency>
<groupId>io.smallrye.common</groupId>
<artifactId>smallrye-common-annotation</artifactId>
<version>${smallrye.commons.version}</version>
</dependency>
<dependency>
<groupId>io.smallrye.common</groupId>
<artifactId>smallrye-common-expression</artifactId>
<version>${smallrye.commons.version}</version>
</dependency>
<dependency>
<groupId>io.smallrye.common</groupId>
<artifactId>smallrye-common-constraint</artifactId>
<version>${smallrye.commons.version}</version>
</dependency>

<dependency>
<groupId>org.eclipse.microprofile.config</groupId>
<artifactId>microprofile-config-api</artifactId>
<version>${microprofile.config.version}</version>
<exclusions>
<exclusion>
<groupId>biz.aQute.bnd</groupId>
<artifactId>biz.aQute.bnd.annotation</artifactId>
</exclusion>
</exclusions>
</dependency>

</dependencies>
</dependencyManagement>

</project>
5 changes: 5 additions & 0 deletions Versioner/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -333,6 +333,11 @@

<spring.version>6.1.2</spring.version>


<smallrye.config.version>3.5.4</smallrye.config.version>
<microprofile.config.version>3.1</microprofile.config.version>
<smallrye.commons.version>2.3.0</smallrye.commons.version>

</properties>

<url>https://guicedee.com</url>
Expand Down
10 changes: 9 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -283,11 +283,19 @@
&lt;!&ndash;<version>${text.version}</version>&ndash;&gt;
</dependency>
-->
<!--
<dependency>
<groupId>com.guicedee.services</groupId>
<artifactId>commons-codec</artifactId>
<version>${guicedee.version}</version>
<!--<version>${codec.version}</version>-->
&lt;!&ndash;<version>${codec.version}</version>&ndash;&gt;
</dependency>
-->

<dependency>
<groupId>com.guicedee.services</groupId>
<artifactId>config-core</artifactId>
<version>${guicedee.version}</version>
</dependency>

<dependency>
Expand Down

0 comments on commit d26e3ff

Please sign in to comment.