You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: spring-boot-project/spring-boot-docs/src/main/asciidoc/howto.adoc
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2036,7 +2036,7 @@ If you like to use a different `DataSource`, you can create one and mark its `@B
2036
2036
If you do so and want two data sources, remember to create another one and mark it as `@Primary`.
2037
2037
Alternatively, you can use Flyway's native `DataSource` by setting `spring.flyway.[url,user,password]` in external properties.
2038
2038
Setting either `spring.flyway.url` or `spring.flyway.user` is sufficient to cause Flyway to use its own `DataSource`.
2039
-
If any of the three properties has not be set, the value of its equivalent `spring.datasource` property will be used.
2039
+
If any of the three properties has not been set, the value of its equivalent `spring.datasource` property will be used.
2040
2040
2041
2041
You can also use Flyway to provide data for specific scenarios.
2042
2042
For example, you can place test-specific migrations in `src/test/resources` and they are run only when your application starts for testing.
@@ -2567,7 +2567,7 @@ For example, to indicate that JRuby should be flagged for unpacking by using the
2567
2567
[[howto-create-a-nonexecutable-jar]]
2568
2568
=== Create a Non-executable JAR with Exclusions
2569
2569
Often, if you have an executable and a non-executable jar as two separate build products, the executable version has additional configuration files that are not needed in a library jar.
2570
-
For example, the `application.yml` configuration file might by excluded from the non-executable JAR.
2570
+
For example, the `application.yml` configuration file might be excluded from the non-executable JAR.
2571
2571
2572
2572
In Maven, the executable jar must be the main artifact and you can add a classified jar for the library, as follows:
0 commit comments