-
Notifications
You must be signed in to change notification settings - Fork 559
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Provide Spring Boot 3 support #510
Merged
Merged
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
749cad7
Updated versions of Spring, Spring Security, Springboot spring-securi…
9cf61f0
- Did the namespace change on the other components
4db2388
Update jersey.version to 3.11 to fix issues in JerseyHandlerFilter
6472119
Upgrade jakarta.validation-api version to 3.0.2 to fix issue in UserD…
8017ce6
Added jakarta.websocket-api 2.0.0 to fix java.lang.ExceptionInInitial…
1b6254e
- Added jakarta-activation-api 2.1.0, jakarta.el-api 5.0.1 and org.gl…
3abb8fc
- added jakarta.ws.rs-api 3.1.0 to pom.xml in Jersey component to fix…
43179c0
- excluded Spark and struts modules from the build
7639de8
chore: removed unnecessary comments
51642dc
Renamed springboot2 directory and module to springboot3
dbdb614
fix: updated name and description in SpringBoot3 component pom.xml
578e3d7
- Updated the pet-store samples
d41e9c5
- moved to Servlet 6.0.0
mbfreder 4b1a7b4
Removed java-9 profiles along with the old com.sun.activation:jakarta…
mbfreder 980ebfa
chore(deps): Updated sample apps
mbfreder File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,20 +6,35 @@ | |
<name>AWS Serverless Java container support - Core</name> | ||
<description>Allows Java applications written for a servlet container to run in AWS Lambda</description> | ||
<url>https://aws.amazon.com/lambda</url> | ||
<version>1.10-SNAPSHOT</version> | ||
<version>2.0-SNAPSHOT</version> | ||
|
||
<parent> | ||
<groupId>com.amazonaws.serverless</groupId> | ||
<artifactId>aws-serverless-java-container</artifactId> | ||
<version>1.10-SNAPSHOT</version> | ||
<version>2.0-SNAPSHOT</version> | ||
<relativePath>..</relativePath> | ||
</parent> | ||
|
||
<properties> | ||
<jaxrs.version>2.1.1</jaxrs.version> | ||
<servlet.version>3.1.0</servlet.version> | ||
<jaxrs.version>3.1.0</jaxrs.version> | ||
<servlet.version>6.0.0</servlet.version> | ||
</properties> | ||
|
||
<repositories> | ||
<repository> | ||
<id>apache.snapshots</id> | ||
<name>Apache Development Snapshot Repository</name> | ||
<url>https://repository.apache.org/content/repositories/snapshots/</url> | ||
<releases> | ||
<enabled>false</enabled> | ||
</releases> | ||
<snapshots> | ||
<enabled>true</enabled> | ||
</snapshots> | ||
</repository> | ||
</repositories> | ||
|
||
|
||
<dependencies> | ||
<!-- https://mvnrepository.com/artifact/com.amazonaws/aws-lambda-java-core --> | ||
<dependency> | ||
|
@@ -30,15 +45,15 @@ | |
|
||
<!-- https://mvnrepository.com/artifact/javax.servlet/javax.servlet-api --> | ||
<dependency> | ||
<groupId>javax.servlet</groupId> | ||
<artifactId>javax.servlet-api</artifactId> | ||
<groupId>jakarta.servlet</groupId> | ||
<artifactId>jakarta.servlet-api</artifactId> | ||
<version>${servlet.version}</version> | ||
</dependency> | ||
|
||
<!-- https://mvnrepository.com/artifact/javax.ws.rs/javax.ws.rs-api --> | ||
<dependency> | ||
<groupId>javax.ws.rs</groupId> | ||
<artifactId>javax.ws.rs-api</artifactId> | ||
<groupId>jakarta.ws.rs</groupId> | ||
<artifactId>jakarta.ws.rs-api</artifactId> | ||
<version>${jaxrs.version}</version> | ||
</dependency> | ||
|
||
|
@@ -56,12 +71,15 @@ | |
<version>${jackson.version}</version> | ||
</dependency> | ||
|
||
|
||
<!-- https://mvnrepository.com/artifact/commons-fileupload/commons-fileupload --> | ||
<dependency> | ||
<groupId>commons-fileupload</groupId> | ||
<artifactId>commons-fileupload</artifactId> | ||
<version>1.5</version> | ||
<groupId>org.apache.commons</groupId> | ||
<artifactId>commons-fileupload2</artifactId> | ||
<version>2.0-SNAPSHOT</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.eclipse.angus</groupId> | ||
<artifactId>angus-mail</artifactId> | ||
<version>2.0.1</version> | ||
</dependency> | ||
|
||
<!-- https://mvnrepository.com/artifact/org.apache.httpcomponents/httpmime --> | ||
|
@@ -72,11 +90,10 @@ | |
<scope>compile</scope> | ||
</dependency> | ||
|
||
<!-- https://mvnrepository.com/artifact/org.apache.httpcomponents/httpclient --> | ||
<dependency> | ||
<groupId>org.apache.httpcomponents</groupId> | ||
<artifactId>httpclient</artifactId> | ||
<version>4.5.14</version> | ||
<groupId>org.apache.httpcomponents.client5</groupId> | ||
<artifactId>httpclient5</artifactId> | ||
<version>5.2.1</version> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. httpcore below should be changed to httpcore5 as well There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Right, done. Thank you. |
||
<scope>test</scope> | ||
</dependency> | ||
<dependency> | ||
|
@@ -95,17 +112,17 @@ | |
<scope>test</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.apache.httpcomponents</groupId> | ||
<artifactId>httpcore</artifactId> | ||
<version>4.4.16</version> | ||
<groupId>org.apache.httpcomponents.core5</groupId> | ||
<artifactId>httpcore5</artifactId> | ||
<version>5.2.1</version> | ||
<scope>compile</scope> | ||
<optional>true</optional><!-- TODO move AwsProxyRequestBuilder to seperate test-jar and change scope to test | ||
https://github.com/awslabs/aws-serverless-java-container/issues/394 --> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.springframework.security</groupId> | ||
<artifactId>spring-security-web</artifactId> | ||
<version>5.7.8</version> | ||
<version>6.0.2</version> | ||
<scope>test</scope> | ||
</dependency> | ||
</dependencies> | ||
|
@@ -204,20 +221,4 @@ | |
</plugin> | ||
</plugins> | ||
</build> | ||
|
||
<profiles> | ||
<profile> | ||
<id>java9-plus</id> | ||
<activation> | ||
<jdk>[9,)</jdk> | ||
</activation> | ||
<dependencies> | ||
<dependency> | ||
<groupId>com.sun.activation</groupId> | ||
<artifactId>jakarta.activation</artifactId> | ||
<version>1.2.2</version> | ||
</dependency> | ||
</dependencies> | ||
</profile> | ||
</profiles> | ||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is it necessary to add this dependency?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
After doin the namespace change I got this error:
After some research I found this on stackoverflow. After I added the dependency, the error disappeared.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok I see, that's related to #504. Need to revisit that, angus-mail should not be required just for mimetype resolution.