Skip to content

Commit

Permalink
adjusted pom to exclude mockito due to a bug preventing build
Browse files Browse the repository at this point in the history
  • Loading branch information
Jens Plüddemann committed Oct 24, 2024
1 parent a6810b8 commit 47ffad0
Show file tree
Hide file tree
Showing 7 changed files with 103 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<artifactId>todobackend-automatic</artifactId>
<version>0.0.1-SNAPSHOT</version>
<name>todobackend-automatic</name>
<description>Novatec Demo Application</description>
<description>Demo Application</description>

<properties>
<java.version>21</java.version>
Expand Down Expand Up @@ -53,6 +53,20 @@
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
<exclusions>
<exclusion>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
</exclusion>
<exclusion>
<groupId>net.bytebuddy</groupId>
<artifactId>byte-buddy</artifactId>
</exclusion>
<exclusion>
<groupId>net.bytebuddy</groupId>
<artifactId>byte-buddy-agent</artifactId>
</exclusion>
</exclusions>
</dependency>
</dependencies>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<artifactId>todobackend-automatic-solution</artifactId>
<version>0.0.1-SNAPSHOT</version>
<name>todobackend-automatic-solution</name>
<description>Novatec Demo Application</description>
<description>Demo Application</description>

<properties>
<java.version>21</java.version>
Expand Down Expand Up @@ -53,6 +53,20 @@
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
<exclusions>
<exclusion>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
</exclusion>
<exclusion>
<groupId>net.bytebuddy</groupId>
<artifactId>byte-buddy</artifactId>
</exclusion>
<exclusion>
<groupId>net.bytebuddy</groupId>
<artifactId>byte-buddy-agent</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>io.opentelemetry.instrumentation</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<artifactId>todobackend-manual</artifactId>
<version>0.0.1-SNAPSHOT</version>
<name>todobackend-manual</name>
<description>Novatec Demo Application</description>
<description>Demo Application</description>

<properties>
<java.version>21</java.version>
Expand Down Expand Up @@ -53,6 +53,20 @@
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
<exclusions>
<exclusion>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
</exclusion>
<exclusion>
<groupId>net.bytebuddy</groupId>
<artifactId>byte-buddy</artifactId>
</exclusion>
<exclusion>
<groupId>net.bytebuddy</groupId>
<artifactId>byte-buddy-agent</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,20 @@
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
<exclusions>
<exclusion>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
</exclusion>
<exclusion>
<groupId>net.bytebuddy</groupId>
<artifactId>byte-buddy</artifactId>
</exclusion>
<exclusion>
<groupId>net.bytebuddy</groupId>
<artifactId>byte-buddy-agent</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>io.opentelemetry</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<artifactId>todobackend-manual-solution</artifactId>
<version>0.0.1-SNAPSHOT</version>
<name>todobackend-manual-solution</name>
<description>Novatec Demo Application</description>
<description>Demo Application</description>

<properties>
<java.version>21</java.version>
Expand Down Expand Up @@ -53,6 +53,20 @@
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
<exclusions>
<exclusion>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
</exclusion>
<exclusion>
<groupId>net.bytebuddy</groupId>
<artifactId>byte-buddy</artifactId>
</exclusion>
<exclusion>
<groupId>net.bytebuddy</groupId>
<artifactId>byte-buddy-agent</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
Expand Down
16 changes: 15 additions & 1 deletion exercises/otel-in-action/todobackend-springboot/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<artifactId>todobackend</artifactId>
<version>0.0.1-SNAPSHOT</version>
<name>todobackend</name>
<description>Novatec Demo Application</description>
<description>Demo Application</description>

<properties>
<java.version>21</java.version>
Expand Down Expand Up @@ -53,6 +53,20 @@
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
<exclusions>
<exclusion>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
</exclusion>
<exclusion>
<groupId>net.bytebuddy</groupId>
<artifactId>byte-buddy</artifactId>
</exclusion>
<exclusion>
<groupId>net.bytebuddy</groupId>
<artifactId>byte-buddy-agent</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>io.opentelemetry.instrumentation</groupId>
Expand Down
14 changes: 14 additions & 0 deletions exercises/otel-in-action/todoui-thymeleaf/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,20 @@
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
<exclusions>
<exclusion>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
</exclusion>
<exclusion>
<groupId>net.bytebuddy</groupId>
<artifactId>byte-buddy</artifactId>
</exclusion>
<exclusion>
<groupId>net.bytebuddy</groupId>
<artifactId>byte-buddy-agent</artifactId>
</exclusion>
</exclusions>
</dependency>

<!--
Expand Down

0 comments on commit 47ffad0

Please sign in to comment.