Skip to content

Commit

Permalink
Change version strategy and include the privacy plugin in the server …
Browse files Browse the repository at this point in the history
…module
  • Loading branch information
romanovich23 committed Dec 13, 2024
1 parent 65c33db commit bf3f1b5
Show file tree
Hide file tree
Showing 6 changed files with 36 additions and 32 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,6 @@ jobs:
run: mvn install -N

- name: Publish to GitHub Packages
run: mvn deploy -pl core -am -DskipTests
run: mvn deploy -DskipTests
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3 changes: 1 addition & 2 deletions core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,10 @@
<parent>
<groupId>io.eventeum</groupId>
<artifactId>eventeum</artifactId>
<version>2.0.0</version>
<version>${revision}</version>
</parent>

<artifactId>eventeum-core</artifactId>
<version>${eventeum.core.version}</version>

<dependencies>
<dependency>
Expand Down
8 changes: 4 additions & 4 deletions coverage/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>io.eventeum</groupId>
<artifactId>eventeum</artifactId>
<version>2.0.0</version>
<version>${revision}</version>
</parent>

<artifactId>coverage</artifactId>
Expand All @@ -21,17 +21,17 @@
<dependency>
<groupId>io.eventeum</groupId>
<artifactId>eventeum-core</artifactId>
<version>${eventeum.core.version}</version>
<version>${revision}</version>
</dependency>
<dependency>
<groupId>io.eventeum</groupId>
<artifactId>eventeum-privacy-plugin</artifactId>
<version>${parent.version}</version>
<version>${project.parent.version}</version>
</dependency>
<dependency>
<groupId>io.eventeum</groupId>
<artifactId>eventeum-server</artifactId>
<version>${parent.version}</version>
<version>${project.parent.version}</version>
</dependency>
</dependencies>

Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

<groupId>io.eventeum</groupId>
<artifactId>eventeum</artifactId>
<version>2.0.0</version>
<version>${revision}</version>
<packaging>pom</packaging>

<modules>
Expand All @@ -36,7 +36,7 @@
</modules>

<properties>
<eventeum.core.version>2.0.1</eventeum.core.version>
<revision>2.0.1</revision>
<java.version>21</java.version>
<web3j.version>4.12.0</web3j.version>
<springcloud.version>4.1.2</springcloud.version>
Expand Down
4 changes: 2 additions & 2 deletions privacy-plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<parent>
<groupId>io.eventeum</groupId>
<artifactId>eventeum</artifactId>
<version>2.0.0</version>
<version>${revision}</version>
</parent>

<artifactId>eventeum-privacy-plugin</artifactId>
Expand All @@ -30,7 +30,7 @@
<dependency>
<groupId>io.eventeum</groupId>
<artifactId>eventeum-core</artifactId>
<version>${eventeum.core.version}</version>
<version>${revision}</version>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
Expand Down
47 changes: 26 additions & 21 deletions server/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<parent>
<groupId>io.eventeum</groupId>
<artifactId>eventeum</artifactId>
<version>2.0.0</version>
<version>${revision}</version>
</parent>

<artifactId>eventeum-server</artifactId>
Expand All @@ -39,26 +39,37 @@
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
</dependency>
<dependency>
<groupId>io.eventeum</groupId>
<artifactId>eventeum-core</artifactId>
<version>${eventeum.core.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework.kafka</groupId>
<artifactId>spring-kafka</artifactId>
</dependency>
<!-- Micrometer Prometheus registry -->
<dependency>
<groupId>io.micrometer</groupId>
<artifactId>micrometer-registry-prometheus</artifactId>
<version>${micrometer.version}</version>
</dependency>
<dependency>
<groupId>org.apache.pulsar</groupId>
<artifactId>pulsar-client</artifactId>
<version>${pulsar.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.web3j</groupId>
<artifactId>besu</artifactId>
<version>${web3j.version}</version>
</dependency>
<dependency>
<groupId>io.eventeum</groupId>
<artifactId>eventeum-core</artifactId>
<version>${revision}</version>
</dependency>
<dependency>
<groupId>io.eventeum</groupId>
<artifactId>eventeum-privacy-plugin</artifactId>
<version>${revision}</version>
</dependency>
<!-- Test dependencies -->
<dependency>
<groupId>de.flapdoodle.embed</groupId>
<artifactId>de.flapdoodle.embed.mongo</artifactId>
Expand Down Expand Up @@ -95,15 +106,9 @@
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.pulsar</groupId>
<artifactId>pulsar-client</artifactId>
<version>${pulsar.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.web3j</groupId>
<artifactId>besu</artifactId>
<version>${web3j.version}</version>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
</dependencies>

Expand Down

0 comments on commit bf3f1b5

Please sign in to comment.