From bc9ddf899ddbd48961fdf9befecda91e2a75501b Mon Sep 17 00:00:00 2001 From: aurea munoz Date: Thu, 5 Mar 2020 14:12:00 +0100 Subject: [PATCH] feat: add somme more classes and dependencies and refactor repo name --- README.md | 2 +- pom.xml | 22 +++- quarkus-spring-beans-api/pom.xml | 6 +- quarkus-spring-context-api/pom.xml | 10 +- quarkus-spring-core-api/pom.xml | 27 ++++- quarkus-spring-web-api/pom.xml | 103 ++++++++++++++++++ .../src/main/java/Dummy.java | 6 + quarkus-spring-webmvc-api/pom.xml | 59 ++++++++++ .../src/main/java/Dummy.java | 6 + 9 files changed, 226 insertions(+), 15 deletions(-) create mode 100644 quarkus-spring-web-api/pom.xml create mode 100644 quarkus-spring-web-api/src/main/java/Dummy.java create mode 100644 quarkus-spring-webmvc-api/pom.xml create mode 100644 quarkus-spring-webmvc-api/src/main/java/Dummy.java diff --git a/README.md b/README.md index 84874dc..c13a9bb 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# quarkus-spring-di-api +# quarkus-spring-api This is a Spring Dependency API only dependency. The idea is to have only the classes used by Quarkus (and the transitive dependencies) This absolutely minimum dependencies would be a great benefit to reduce the footprint of Quarkus applications using the spring modules. \ No newline at end of file diff --git a/pom.xml b/pom.xml index 206098f..3331ddd 100644 --- a/pom.xml +++ b/pom.xml @@ -3,8 +3,8 @@ 4.0.0 io.quarkus - quarkus-spring-di-api - 5.3.Alpha1-SNAPSHOT + quarkus-spring-api + 5.2.Alpha2-SNAPSHOT Spring dependencies for Quarkus Spring DI extension The minimum dependencies to reduce the footprint of Quarkus applications using the Spring DI extension @@ -27,9 +27,9 @@ - /~https://github.com/quarkusio/quarkus-spring-di-api - scm:git:git@github.com:quarkusio/quarkus-spring-di-api.git - scm:git:git@github.com:quarkusio/quarkus-spring-di-api.git + /~https://github.com/quarkusio/quarkus-spring-api + scm:git:git@github.com:quarkusio/quarkus-spring-api.git + scm:git:git@github.com:quarkusio/quarkus-spring-api.git HEAD @@ -49,6 +49,8 @@ quarkus-spring-core-api quarkus-spring-beans-api quarkus-spring-context-api + quarkus-spring-web-api + quarkus-spring-webmvc-api @@ -68,6 +70,16 @@ spring-context ${spring-framework.version} + + org.springframework + spring-web + ${spring-framework.version} + + + org.springframework + spring-webmvc + ${spring-framework.version} + diff --git a/quarkus-spring-beans-api/pom.xml b/quarkus-spring-beans-api/pom.xml index c368823..eca24a6 100644 --- a/quarkus-spring-beans-api/pom.xml +++ b/quarkus-spring-beans-api/pom.xml @@ -4,12 +4,12 @@ io.quarkus quarkus-spring-beans-api - 5.3.Alpha1-SNAPSHOT + 5.2.Alpha2-SNAPSHOT - quarkus-spring-di-api + quarkus-spring-api io.quarkus - 5.3.Alpha1-SNAPSHOT + 5.2.Alpha2-SNAPSHOT ../ diff --git a/quarkus-spring-context-api/pom.xml b/quarkus-spring-context-api/pom.xml index 421832f..ac12d7b 100644 --- a/quarkus-spring-context-api/pom.xml +++ b/quarkus-spring-context-api/pom.xml @@ -3,15 +3,15 @@ 4.0.0 - quarkus-spring-di-api + quarkus-spring-api io.quarkus - 5.3.Alpha1-SNAPSHOT + 5.2.Alpha2-SNAPSHOT ../ io.quarkus quarkus-spring-context-api - 5.3.Alpha1-SNAPSHOT + 5.2.Alpha2-SNAPSHOT @@ -50,6 +50,7 @@ org/springframework/stereotype/Indexed** org/springframework/stereotype/Repository** org/springframework/stereotype/Service** + org/springframework/ui/Model** org/springframework/context/ApplicationContext** org/springframework/context/ApplicationEvent** @@ -57,6 +58,9 @@ org/springframework/context/MessageSource** org/springframework/context/NoSuchMessageException** org/springframework/context/annotation/ScopedProxyMode** + org/springframework/ui/ModelMap** + org/springframework/stereotype/Controller** + org/springframework/context/annotation/ScopedProxyMode** diff --git a/quarkus-spring-core-api/pom.xml b/quarkus-spring-core-api/pom.xml index feb96b0..c50e487 100644 --- a/quarkus-spring-core-api/pom.xml +++ b/quarkus-spring-core-api/pom.xml @@ -3,15 +3,15 @@ 4.0.0 - quarkus-spring-di-api + quarkus-spring-api io.quarkus - 5.3.Alpha1-SNAPSHOT + 5.2.Alpha2-SNAPSHOT ../ io.quarkus quarkus-spring-core-api - 5.3.Alpha1-SNAPSHOT + 5.2.Alpha2-SNAPSHOT @@ -62,6 +62,27 @@ org/springframework/util/ObjectUtils** org/springframework/util/ReflectionUtils** org/springframework/util/StringUtils** + org/springframework/core/Conventions** + org/springframework/core/DecoratingProxy** + org/springframework/core/NestedIOException** + org/springframework/core/Ordered** + org/springframework/core/OrderComparator** + org/springframework/core/annotation/AnnotationAwareOrderComparator** + org/springframework/core/annotation/AnnotationUtils** + org/springframework/core/annotation/OrderUtils** + org/springframework/core/io/AbstractResource** + org/springframework/core/io/InputStreamResource** + org/springframework/core/io/InputStreamSource** + org/springframework/core/io/Resource** + org/springframework/core/io/support/ResourceRegion** + org/springframework/lang/Nullable** + org/springframework/util/Assert** + org/springframework/util/InvalidMimeTypeException**class + org/springframework/util/LinkedCaseInsensitiveMap** + org/springframework/util/MimeType** + org/springframework/util/MimeTypeUtils** + org/springframework/util/PriorityOrdered** + org/springframework/util/ResourceUtils** diff --git a/quarkus-spring-web-api/pom.xml b/quarkus-spring-web-api/pom.xml new file mode 100644 index 0000000..1464c3c --- /dev/null +++ b/quarkus-spring-web-api/pom.xml @@ -0,0 +1,103 @@ + + + 4.0.0 + + + io.quarkus + quarkus-spring-api + 5.2.Alpha2-SNAPSHOT + + + io.quarkus + quarkus-spring-web-api + 5.2.Alpha2-SNAPSHOT + + + + org.springframework + spring-web + + + + + + + org.apache.maven.plugins + maven-shade-plugin + ${maven-shade-plugin.version} + + + package + + shade + + + true + + + org.springframework:spring-web + + + + + org.springframework:spring-web + + + org/springframework/http/HttpEntity** + org/springframework/http/HttpHeaders** + org/springframework/http/HttpStatus** + org/springframework/http/ResponseEntity** + org/springframework/web/SpringServletContainerInitializer** + org/springframework/web/context/annotation/RequestScope** + org/springframework/web/bind/annotation/CookieValue** + org/springframework/web/bind/annotation/DeleteMapping** + org/springframework/web/bind/annotation/ExceptionHandler** + org/springframework/web/bind/annotation/GetMapping** + org/springframework/web/bind/annotation/RestController** + org/springframework/web/bind/annotation/RequestMapping** + org/springframework/web/bind/annotation/PathVariable** + org/springframework/web/bind/annotation/MatrixVariable** + org/springframework/web/bind/annotation/PatchMapping** + org/springframework/web/bind/annotation/PostMapping** + org/springframework/web/bind/annotation/PutMapping** + org/springframework/web/bind/annotation/RequestBody** + org/springframework/web/bind/annotation/RequestHeader** + org/springframework/web/bind/annotation/RequestParam** + org/springframework/web/bind/annotation/ResponseStatus** + org/springframework/web/bind/annotation/RestControllerAdvice** + + + org/springframework/http/CacheControl** + org/springframework/http/ContentDisposition** + org/springframework/http/HttpInputMessage** + org/springframework/http/HttpMessage** + org/springframework/http/HttpOutputMessage** + org/springframework/http/HttpRange** + org/springframework/http/InvalidMediaTypeException** + org/springframework/http/ReadOnlyHttpHeaders** + org/springframework/http/RequestEntity** + org/springframework/http/MediaType** + org/springframework/http/converter/HttpMessageConversionException** + + org/springframework/http/converter/HttpMessageConverter** + org/springframework/http/converter/HttpMessageNotReadableException** + + org/springframework/http/converter/HttpMessageNotWritableException** + + org/springframework/web/WebApplicationInitializer** + org/springframework/web/bind/annotation/ControllerAdvice** + org/springframework/web/bind/annotation/RequestMethod** + org/springframework/web/bind/annotation/ResponseBody** + org/springframework/web/context/WebApplicationContext** + + + + + + + + + + \ No newline at end of file diff --git a/quarkus-spring-web-api/src/main/java/Dummy.java b/quarkus-spring-web-api/src/main/java/Dummy.java new file mode 100644 index 0000000..ebc944f --- /dev/null +++ b/quarkus-spring-web-api/src/main/java/Dummy.java @@ -0,0 +1,6 @@ +/*** + * Dummy class for javadoc + * + */ +public class Dummy { +} diff --git a/quarkus-spring-webmvc-api/pom.xml b/quarkus-spring-webmvc-api/pom.xml new file mode 100644 index 0000000..7148176 --- /dev/null +++ b/quarkus-spring-webmvc-api/pom.xml @@ -0,0 +1,59 @@ + + + 4.0.0 + + + io.quarkus + quarkus-spring-api + 5.2.Alpha2-SNAPSHOT + + + io.quarkus + quarkus-spring-webmvc-api + 5.2.Alpha2-SNAPSHOT + + + + org.springframework + spring-webmvc + + + + + + + org.apache.maven.plugins + maven-shade-plugin + ${maven-shade-plugin.version} + + + package + + shade + + + true + + + org.springframework:spring-webmvc + + + + + org.springframework:spring-webmvc + + + org/springframework/web/servlet/ModelAndView** + org/springframework/web/servlet/View** + + + + + + + + + + \ No newline at end of file diff --git a/quarkus-spring-webmvc-api/src/main/java/Dummy.java b/quarkus-spring-webmvc-api/src/main/java/Dummy.java new file mode 100644 index 0000000..ebc944f --- /dev/null +++ b/quarkus-spring-webmvc-api/src/main/java/Dummy.java @@ -0,0 +1,6 @@ +/*** + * Dummy class for javadoc + * + */ +public class Dummy { +}