Skip to content

Commit

Permalink
fix javax/jakarta issues
Browse files Browse the repository at this point in the history
Signed-off-by: Ceki Gulcu <[email protected]>
  • Loading branch information
ceki committed Oct 2, 2022
1 parent c92c42d commit 59dc1a1
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 17 deletions.
19 changes: 14 additions & 5 deletions logback-classic-blackbox/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,25 @@
</dependency>

<dependency>
<groupId>jakarta.servlet</groupId>
<artifactId>jakarta.servlet-api</artifactId>
<groupId>javax.mail</groupId>
<artifactId>javax.mail-api</artifactId>
<scope>test</scope>
</dependency>

<dependency>
<groupId>jakarta.mail</groupId>
<artifactId>jakarta.mail-api</artifactId>
<scope>compile</scope>
<groupId>com.sun.mail</groupId>
<artifactId>javax.mail</artifactId>
<scope>test</scope>
</dependency>

<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
<scope>test</scope>
</dependency>



<dependency>
<groupId>org.codehaus.janino</groupId>
<artifactId>janino</artifactId>
Expand Down
5 changes: 1 addition & 4 deletions logback-classic/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -116,10 +116,7 @@
<groupId>junit</groupId>
<artifactId>junit</artifactId>
</exclusion>
<exclusion>
<groupId>com.sun.mail</groupId>
<artifactId>jakarta.mail</artifactId>
</exclusion>

</exclusions>
</dependency>

Expand Down
19 changes: 11 additions & 8 deletions logback-core-blackbox/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,22 +25,25 @@


<dependency>
<groupId>jakarta.servlet</groupId>
<artifactId>jakarta.servlet-api</artifactId>
<groupId>javax.mail</groupId>
<artifactId>javax.mail-api</artifactId>
<scope>test</scope>
<optional>true</optional>
</dependency>

<dependency>
<groupId>jakarta.mail</groupId>
<artifactId>jakarta.mail-api</artifactId>
<scope>compile</scope>
<groupId>javax.activation</groupId>
<artifactId>javax.activation-api</artifactId>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.codehaus.janino</groupId>
<artifactId>janino</artifactId>
<scope>compile</scope>
<groupId>com.sun.mail</groupId>
<artifactId>javax.mail</artifactId>
<scope>runtime</scope>
</dependency>


</dependencies>

<build>
Expand Down

0 comments on commit 59dc1a1

Please sign in to comment.