Skip to content

Commit

Permalink
[ci] Correct pom.xml
Browse files Browse the repository at this point in the history
  • Loading branch information
jpechane authored and jcechace committed Jun 8, 2023
1 parent a193d03 commit 78c057b
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 5 deletions.
10 changes: 9 additions & 1 deletion .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Checkout core repository
uses: actions/checkout@v3
with:
repository: debezium/debezium
ref: main
path: core
- name: Checkout Debezium Operator
uses: actions/checkout@v3
with:
Expand All @@ -37,6 +43,8 @@ jobs:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
- name: Maven build Debezium Server
- name: Maven build core dependencies
run: ./operator/mvnw clean install -f core/pom.xml -DskipTests -DskipITs -Dformat.formatter.goal=validate -Dformat.imports.goal=check -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120
- name: Maven build Debezium Operator
working-directory: operator
run: ./mvnw clean install -fae -Dformat.formatter.goal=validate -Dformat.imports.goal=check -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120 -DskipNonCore
27 changes: 23 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,21 @@
<version>2.3.0-SNAPSHOT</version>
</parent>

<groupId>io.debezium</groupId>
<artifactId>debezium-operator</artifactId>
<version>2.3.0-SNAPSHOT</version>
<name>Debezium Operator</name>

<scm>
<connection>scm:git:[email protected]:debezium/debezium-server-operator.git</connection>
<developerConnection>scm:git:[email protected]:debezium/debezium-server-operator.git</developerConnection>
<url>https://github.com/debezium/debezium-server-operator</url>
<connection>scm:git:[email protected]:debezium/debezium-operator.git</connection>
<developerConnection>scm:git:[email protected]:debezium/debezium-operator.git</developerConnection>
<url>https://github.com/debezium/debezium-operator</url>
<tag>HEAD</tag>
</scm>

<properties>
<!-- Debezium version -->
<version.debezium>${project.version}</version.debezium>

<compiler-plugin.version>3.11.0</compiler-plugin.version>
<maven.compiler.release>17</maven.compiler.release>
<maven.compiler.testRelease>17</maven.compiler.testRelease>
Expand All @@ -44,6 +47,22 @@
<format.imports.source.compliance>17</format.imports.source.compliance>
</properties>

<repositories>
<repository>
<id>oss</id>
<name>OSS Sonatype Nexus</name>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
<releases>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
</releases>
<snapshots>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
</snapshots>
</repository>
</repositories>

<dependencyManagement>
<dependencies>
<!-- Quarkus dependencies -->
Expand Down

0 comments on commit 78c057b

Please sign in to comment.