Skip to content

Commit

Permalink
javax to jakarta prepare for 2.2.4 release
Browse files Browse the repository at this point in the history
  • Loading branch information
timmolter committed Apr 18, 2024
1 parent d3f5135 commit 4881464
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 13 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ Add the Sundial library as a dependency to your pom.xml file:
<dependency>
<groupId>org.knowm</groupId>
<artifactId>sundial</artifactId>
<version>2.2.3</version>
<version>2.2.4</version>
</dependency>
```

Expand All @@ -240,7 +240,7 @@ For snapshots, add the following to your pom.xml file:
<dependency>
<groupId>org.knowm</groupId>
<artifactId>sundial</artifactId>
<version>2.2.4-SNAPSHOT</version>
<version>2.2.5-SNAPSHOT</version>
</dependency>
```

Expand Down
15 changes: 8 additions & 7 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -55,14 +55,15 @@
</dependency>

<!-- provided -->
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
<version>4.0.1</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>jakarta.servlet</groupId>
<artifactId>jakarta.servlet-api</artifactId>
<version>6.0.0</version>
<scope>provided</scope>
</dependency>


<!-- test -->
<!-- test -->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-simple</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/org/knowm/sundial/SundialJobScheduler.java
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import static org.quartz.builders.JobBuilder.newJobBuilder;
import static org.quartz.builders.SimpleTriggerBuilder.simpleTriggerBuilder;

import jakarta.servlet.ServletContext;
import java.text.ParseException;
import java.util.ArrayList;
import java.util.Collections;
Expand All @@ -13,7 +14,6 @@
import java.util.Map.Entry;
import java.util.Set;
import java.util.TreeMap;
import javax.servlet.ServletContext;
import org.knowm.sundial.exceptions.SundialSchedulerException;
import org.quartz.builders.CronTriggerBuilder;
import org.quartz.builders.SimpleTriggerBuilder;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package org.knowm.sundial.ee;

import javax.servlet.ServletContext;
import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;
import jakarta.servlet.ServletContext;
import jakarta.servlet.ServletContextEvent;
import jakarta.servlet.ServletContextListener;
import org.knowm.sundial.SundialJobScheduler;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
Expand Down

0 comments on commit 4881464

Please sign in to comment.