Skip to content

Commit b05f604

Browse files
authored
fix: publish parent pom (#101)
Signed-off-by: Todd Baert <[email protected]> Signed-off-by: Todd Baert <[email protected]>
1 parent b70b54d commit b05f604

File tree

5 files changed

+23
-9
lines changed

5 files changed

+23
-9
lines changed

.github/workflows/release-please.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,11 @@ jobs:
5959
# This means there's no way to skip publishing of a particular module in a multi-module build, so we iterate over each module and publish them individually,
6060
# letting exists-maven-plugin skip the nexus-staging-maven-plugin's entire deploy goal if the artifact exists.
6161
run: |
62+
mvn --non-recursive --batch-mode --settings release/m2-settings.xml clean deploy
6263
modules=($(cat pom.xml | grep "<module>" | sed 's/\s*<.*>\(.*\)<.*>/\1/'))
6364
for module in "${modules[@]}"
6465
do
65-
mvn --batch-mode --projects $module --settings release/m2-settings.xml clean deploy
66+
mvn --batch-mode --projects $module --settings release/m2-settings.xml clean deploy
6667
done
6768
env:
6869
OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }}

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ Sample pom.xml:
3939
<modelVersion>4.0.0</modelVersion>
4040
<parent>
4141
<groupId>dev.openfeature.contrib</groupId>
42-
<artifactId>java-sdk-contrib</artifactId>
43-
<version>0.0.0</version>
42+
<artifactId>parent</artifactId>
43+
<version><!-- current parent pom version --></version>
4444
<relativePath>../../pom.xml</relativePath>
4545
</parent>
4646
<groupId>dev.openfeature.contrib.${providers | hooks | etc}</groupId>

hooks/open-telemetry/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
<modelVersion>4.0.0</modelVersion>
44
<parent>
55
<groupId>dev.openfeature.contrib</groupId>
6-
<artifactId>java-sdk-contrib</artifactId>
7-
<version>0.0.0</version>
6+
<artifactId>parent</artifactId>
7+
<version>0.0.1</version>
88
<relativePath>../../pom.xml</relativePath>
99
</parent>
1010
<groupId>dev.openfeature.contrib.hooks</groupId>

pom.xml

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,23 @@
33
<modelVersion>4.0.0</modelVersion>
44

55
<groupId>dev.openfeature.contrib</groupId>
6-
<artifactId>java-sdk-contrib</artifactId>
7-
<version>0.0.0</version>
6+
<artifactId>parent</artifactId>
7+
<version>0.0.1</version>
88
<packaging>pom</packaging>
99

10+
<name>java-sdk-contrib</name>
11+
<description>Contrib parent</description>
12+
<url>https://openfeature.dev</url>
13+
14+
<developers>
15+
<developer>
16+
<id>toddbaert</id>
17+
<name>Todd Baert</name>
18+
<organization>OpenFeature</organization>
19+
<url>https://openfeature.dev/</url>
20+
</developer>
21+
</developers>
22+
1023
<modules>
1124
<module>hooks/open-telemetry</module>
1225
<module>providers/flagd</module>

providers/flagd/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
<modelVersion>4.0.0</modelVersion>
44
<parent>
55
<groupId>dev.openfeature.contrib</groupId>
6-
<artifactId>java-sdk-contrib</artifactId>
7-
<version>0.0.0</version>
6+
<artifactId>parent</artifactId>
7+
<version>0.0.1</version>
88
<relativePath>../../pom.xml</relativePath>
99
</parent>
1010
<groupId>dev.openfeature.contrib.providers</groupId>

0 commit comments

Comments
 (0)