docker run -d -p 1521:1521 --name=oracle-xe --volume ~/docker/oracle-xe:/opt/oracle/oradata paddan66/oracle-xe
jdbc:oracle:thin:system/Oracle18@//localhost:1521/XEPDB1
mvn flyway:migrate -N
#mvn flyway:clean -N
<project> | |
... | |
<build> | |
<plugins> | |
<plugin> | |
<groupId>org.flywaydb</groupId> | |
<artifactId>flyway-maven-plugin</artifactId> | |
<version>5.2.4</version> | |
<inherited>false</inherited> | |
<configuration> | |
<installedBy>test</installedBy> | |
<schemas> | |
<schema>MY_SCHEMA</schema> | |
</schemas> | |
<url>jdbc:oracle:thin:@//localhost:1521/XEPDB1</url> | |
<locations> | |
<location>filesystem:migrations</location> | |
</locations> | |
<user>system</user> | |
<password>Oracle18</password> | |
</configuration> | |
<dependencies> | |
<dependency> | |
<groupId>com.oracle.jdbc</groupId> | |
<artifactId>ojdbc10</artifactId> | |
<version>19.3.0.0</version> | |
</dependency> | |
</dependencies> | |
</plugin> | |
</plugins> | |
</build> | |
</project> |