mirror of
https://gitee.com/dcren/initializr.git
synced 2025-04-05 17:38:06 +08:00
![]() This commit improves the handling of repositories with Maven. Previously, the writer wrongly assumed that the default for releases and snapshots are true and false respectively. However, both defaults are true which means that snapshots repository are considered for releases, and releases repositories are considered for snapshots. MavenRepository has now separate flags for those and the writer makes sure to only update the `enabled` flag if the chosen value is not true. This doesn't increase the content for repository definitions while offering better performance for dependencies resolution. Closes gh-1226 |
||
---|---|---|
.. | ||
src | ||
pom.xml |