|
23 | 23 | </developers> |
24 | 24 |
|
25 | 25 | <properties> |
26 | | - <postmark.version>1.11.1</postmark.version> |
| 26 | + <postmark.version>1.12.2</postmark.version> |
27 | 27 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
28 | 28 | <java.version>1.8</java.version> |
29 | 29 | <jackson.minimum.version>2.9.7</jackson.minimum.version> |
|
77 | 77 | <dependency> |
78 | 78 | <groupId>org.apache.tika</groupId> |
79 | 79 | <artifactId>tika-core</artifactId> |
80 | | - <version>2.7.0</version> |
| 80 | + <version>2.9.4</version> |
81 | 81 | </dependency> |
82 | 82 |
|
83 | 83 |
|
|
122 | 122 | <artifactId>maven-compiler-plugin</artifactId> |
123 | 123 | <version>3.8.1</version> |
124 | 124 | <configuration> |
125 | | - <source>1.8</source> |
126 | | - <target>1.8</target> |
| 125 | + <source>${java.version}</source> |
| 126 | + <target>${java.version}</target> |
127 | 127 | </configuration> |
128 | 128 | </plugin> |
129 | 129 |
|
|
134 | 134 | <!-- workaround line to make test work on java10 https://maven.apache.org/surefire/maven-surefire-plugin/examples/class-loading.html --> |
135 | 135 | <configuration> |
136 | 136 | <useSystemClassLoader>false</useSystemClassLoader> |
| 137 | + <forkCount>1</forkCount> |
| 138 | + <reuseForks>false</reuseForks> |
137 | 139 | </configuration> |
138 | 140 | </plugin> |
139 | 141 |
|
|
142 | 144 | <artifactId>maven-failsafe-plugin</artifactId> |
143 | 145 | <version>2.22.2</version> |
144 | 146 | </plugin> |
145 | | - |
146 | | - <!-- Maven dependency enforcer plugin --> |
147 | | - <plugin> |
148 | | - <groupId>org.apache.maven.plugins</groupId> |
149 | | - <artifactId>maven-enforcer-plugin</artifactId> |
150 | | - <version>3.0.0-M2</version> |
151 | | - |
152 | | - <executions> |
153 | | - <execution> |
154 | | - <id>enforce-banned-dependencies</id> |
155 | | - <goals> |
156 | | - <goal>enforce</goal> |
157 | | - </goals> |
158 | | - <configuration> |
159 | | - <rules> |
160 | | - <bannedDependencies> |
161 | | - <searchTransitive>true</searchTransitive> |
162 | | - <excludes> |
163 | | - <exclude>com.fasterxml.jackson.core:jackson-annotations:(,${jackson.minimum.version}]</exclude> |
164 | | - <exclude>com.fasterxml.jackson.core:jackson-core:jar:(,${jackson.minimum.version}]</exclude> |
165 | | - <exclude>com.fasterxml.jackson.core:jackson-databind:jar:(,${jackson.minimum.version}]</exclude> |
166 | | - </excludes> |
167 | | - <message>A banned dependency was found! Need to use jackson newer than ${jackson.minimum.version}.</message> |
168 | | - </bannedDependencies> |
169 | | - </rules> |
170 | | - <fail>true</fail> |
171 | | - </configuration> |
172 | | - </execution> |
173 | | - </executions> |
174 | | - </plugin> |
175 | | - |
176 | 147 | </plugins> |
177 | 148 |
|
178 | 149 | <!-- Resources path --> |
|
207 | 178 | <version>1.6.7</version> |
208 | 179 | <extensions>true</extensions> |
209 | 180 | <configuration> |
210 | | - <serverId>ossrh</serverId> |
211 | | - <nexusUrl>https://s01.oss.sonatype.org/</nexusUrl> |
| 181 | + <serverId>central</serverId> |
| 182 | + <nexusUrl>https://ossrh-staging-api.central.sonatype.com/</nexusUrl> |
212 | 183 | <autoReleaseAfterClose>true</autoReleaseAfterClose> |
213 | | - <skipStaging>true</skipStaging> |
214 | 184 | </configuration> |
215 | 185 | </plugin> |
216 | 186 |
|
|
258 | 228 | </execution> |
259 | 229 | </executions> |
260 | 230 | </plugin> |
| 231 | + <!-- Maven dependency enforcer plugin --> |
| 232 | + <plugin> |
| 233 | + <groupId>org.apache.maven.plugins</groupId> |
| 234 | + <artifactId>maven-enforcer-plugin</artifactId> |
| 235 | + <version>3.0.0-M2</version> |
| 236 | + |
| 237 | + <executions> |
| 238 | + <execution> |
| 239 | + <id>enforce-banned-dependencies</id> |
| 240 | + <goals> |
| 241 | + <goal>enforce</goal> |
| 242 | + </goals> |
| 243 | + <configuration> |
| 244 | + <rules> |
| 245 | + <bannedDependencies> |
| 246 | + <searchTransitive>true</searchTransitive> |
| 247 | + <excludes> |
| 248 | + <exclude>com.fasterxml.jackson.core:jackson-annotations:(,${jackson.minimum.version}]</exclude> |
| 249 | + <exclude>com.fasterxml.jackson.core:jackson-core:jar:(,${jackson.minimum.version}]</exclude> |
| 250 | + <exclude>com.fasterxml.jackson.core:jackson-databind:jar:(,${jackson.minimum.version}]</exclude> |
| 251 | + </excludes> |
| 252 | + <message>A banned dependency was found! Need to use jackson newer than ${jackson.minimum.version}.</message> |
| 253 | + </bannedDependencies> |
| 254 | + </rules> |
| 255 | + <fail>true</fail> |
| 256 | + </configuration> |
| 257 | + </execution> |
| 258 | + </executions> |
| 259 | + </plugin> |
| 260 | + |
261 | 261 | </plugins> |
262 | 262 | </build> |
263 | 263 |
|
264 | 264 | <!-- Maven deploy repository setting --> |
265 | 265 | <distributionManagement> |
266 | 266 | <snapshotRepository> |
267 | | - <id>ossrh</id> |
268 | | - <url>https://s01.oss.sonatype.org/content/repositories/snapshots</url> |
| 267 | + <id>central</id> |
| 268 | + <url>https://central.sonatype.com/repository/maven-snapshots/</url> |
269 | 269 | </snapshotRepository> |
270 | 270 | <repository> |
271 | | - <id>ossrh</id> |
272 | | - <url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
| 271 | + <id>central</id> |
| 272 | + <url>https://ossrh-staging-api.central.sonatype.com/service/local/staging/deploy/maven2/</url> |
273 | 273 | </repository> |
274 | 274 | </distributionManagement> |
275 | 275 |
|
| 276 | + |
276 | 277 | </profile> |
277 | 278 | </profiles> |
278 | 279 |
|
|
0 commit comments