How to use the snapshot version?
Add in the project’s
<repositories> <repository> <id>snapshots-repo</id> <url>https://oss.sonatype.org/content/repositories/snapshots</url> <releases> <enabled>false</enabled> </releases> <snapshots> <enabled>true</enabled> </snapshots> </repository> </repositories>
Then use the corresponding snapshot version, such as
The snapshot version is generally used to fix an emergency bug or to prioritize new features. Overwrite each time it is published.
The snapshot version can be released indefinitely, which means that the user wants to ensure that the latest version may be forced to update, using
mvn clean compile -U
How to modify the built-in JSON library?
By default, Blade has a simple json library built in to handle most situations. If you want to customize or you are used to a json library, Blade supports replacement, and currently supports the following json libraries.
If you want to support other libraries, please follow the source extensions yourself.
Add dependencies like
<dependency> <groupId>com.bladejava</groupId> <artifactId>blade-jackson-support</artifactId> <version> latest version</version> <dependency>
Then add a line before the Blade starts: