Skip to content

Commit 744e683

Browse files
committed
Use a new default-jdk profile that is portable accross branches
1 parent 1793954 commit 744e683

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
run: echo "PROJECT_VERSION=$(mvn org.apache.maven.plugins:maven-help-plugin:evaluate -Dexpression=project.version -q -DforceStdout | grep -v '\[')" >> $GITHUB_ENV
3030
- name: Maven deploy
3131
if: ${{ endsWith(env.PROJECT_VERSION, '-SNAPSHOT') }}
32-
run: mvn deploy -s .github/maven-cd-settings.xml -DskipTests -B -pl vertx-sql-client,vertx-pg-client,vertx-mysql-client,vertx-mssql-client,vertx-db2-client,vertx-sql-client-templates
32+
run: mvn deploy -s .github/maven-cd-settings.xml -DskipTests -B -DskipDefault -Pdefault-jdk
3333
Deploy-Oracle:
3434
name: Deploy (Oracle) to OSSRH
3535
runs-on: ubuntu-latest

pom.xml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,17 @@
192192
<module>vertx-oracle-client</module>
193193
</modules>
194194
</profile>
195+
<profile>
196+
<id>default-jdk</id>
197+
<modules>
198+
<module>vertx-sql-client</module>
199+
<module>vertx-pg-client</module>
200+
<module>vertx-mysql-client</module>
201+
<module>vertx-mssql-client</module>
202+
<module>vertx-db2-client</module>
203+
<module>vertx-sql-client-templates</module>
204+
</modules>
205+
</profile>
195206
<profile>
196207
<id>PostgreSQL-9</id>
197208
<properties>
@@ -314,4 +325,4 @@
314325
</profile>
315326
</profiles>
316327

317-
</project>
328+
</project>

0 commit comments

Comments
 (0)