|
18 | 18 | <description>Simple API, Complex Emails. Now with Spring support</description> |
19 | 19 |
|
20 | 20 | <properties> |
21 | | - <automaticModuleName>org.simplejavamail.spring</automaticModuleName> |
22 | | - <spring.version>[4.3.18.RELEASE,6.0.0)</spring.version> |
| 21 | + <automaticModuleName>org.simplejavamail.spring</automaticModuleName> |
| 22 | + <spring.version>[4.3.18.RELEASE,6.0.0)</spring.version> |
| 23 | + <spring.boot.version>2.5.15</spring.boot.version> |
23 | 24 | </properties> |
24 | 25 |
|
25 | 26 | <dependencies> |
|
51 | 52 | <scope>provided</scope> |
52 | 53 | </dependency> |
53 | 54 |
|
| 55 | + <!-- spring boot support (build scope only, used to generate spring-configuration-metadata.json for IDE hints)--> |
| 56 | + <dependency> |
| 57 | + <groupId>org.springframework.boot</groupId> |
| 58 | + <artifactId>spring-boot-configuration-processor</artifactId> |
| 59 | + <optional>true</optional> |
| 60 | + <version>${spring.boot.version}</version> |
| 61 | + <exclusions> |
| 62 | + <exclusion> |
| 63 | + <groupId>org.springframework</groupId> |
| 64 | + <artifactId>*</artifactId> |
| 65 | + </exclusion> |
| 66 | + </exclusions> |
| 67 | + </dependency> |
| 68 | + <dependency> |
| 69 | + <groupId>org.springframework.boot</groupId> |
| 70 | + <artifactId>spring-boot-autoconfigure</artifactId> |
| 71 | + <optional>true</optional> |
| 72 | + <version>${spring.boot.version}</version> |
| 73 | + <exclusions> |
| 74 | + <exclusion> |
| 75 | + <groupId>org.springframework</groupId> |
| 76 | + <artifactId>*</artifactId> |
| 77 | + </exclusion> |
| 78 | + </exclusions> |
| 79 | + </dependency> |
| 80 | + |
| 81 | + |
54 | 82 | <!-- spring testing --> |
55 | 83 | <dependency> |
56 | 84 | <groupId>org.springframework</groupId> |
|
59 | 87 | <scope>test</scope> |
60 | 88 | </dependency> |
61 | 89 | </dependencies> |
| 90 | + |
| 91 | + <build> |
| 92 | + <plugins> |
| 93 | + <plugin> |
| 94 | + <groupId>org.apache.maven.plugins</groupId> |
| 95 | + <artifactId>maven-compiler-plugin</artifactId> |
| 96 | + <configuration> |
| 97 | + <annotationProcessorPaths> |
| 98 | + <path> |
| 99 | + <groupId>org.springframework.boot</groupId> |
| 100 | + <artifactId>spring-boot-configuration-processor</artifactId> |
| 101 | + <version>${spring.boot.version}</version> |
| 102 | + </path> |
| 103 | + </annotationProcessorPaths> |
| 104 | + </configuration> |
| 105 | + </plugin> |
| 106 | + </plugins> |
| 107 | + </build> |
62 | 108 | </project> |
0 commit comments