从Source构建FlywayDB无法找到sqlline 1.1.8依赖项

时间:2016-03-14 21:14:50

标签: maven flyway

我很难根据最新的4.0代码从源代码构建FlywayDB(截至2016年3月14日)。

设置和构建说明可以选择禁用/跳过我尝试过的特定于数据库的构建/测试/平台程序集。

Per https://maven.apache.org/surefire/maven-surefire-plugin/examples/skipping-test.html,-DskipTests只跳过执行,而不是编译。我尝试了-DskipTests和-Dmaven.test.skip = true,但编译错误没有变化。

所以,它仍然似乎有一个非测试依赖,需要sqlline:sqlline:1.1.8(在Maven Central中不再可用),Maven并没有给我依赖sqlline而不需要sqlline错误。

任何人都有想法为什么即使没有测试也无法建立?

我在每个命令下面都包含缩写输出:

C:\迁飞> mvn -version

Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T09:41:47-07:00)
Maven home: C:\Dropbox\Tools\apache-maven-3.3.9\bin\..
Java version: 1.8.0_74, vendor: Oracle Corporation
Java home: C:\Program Files\Java\jdk1.8.0_74\jre
Default locale: en_US, platform encoding: Cp1252
OS name: "windows 7", version: "6.1", arch: "amd64", family: "dos"

C:\迁飞> mvn install -InstallableDBTest -CommercialDBTest -CommandlinePlatformAssemblies

[INFO] Scanning for projects...
 ...
[INFO] ------------------------------------------------------------------------
[INFO] Building flyway-core 0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[WARNING] The POM for sqlline:sqlline:jar:1.1.8 is missing, no dependency information available
  ...
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4.643 s
[INFO] Finished at: 2016-03-14T11:33:19-06:00
[INFO] Final Memory: 23M/435M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project flyway-core: Could not resolve dependencies for project org.flywaydb:flyway-core:jar:0-SNAPSHOT: Failure to find sqlline:sqlline:jar:1.1.8 in nexus
 ...

\Flyway> **mvn clean compile -DskipTests -Dmaven.test.skip=true**
[INFO] Scanning for projects...
   ...
[INFO] ------------------------------------------------------------------------
[INFO] Building flyway-core 0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[WARNING] The POM for sqlline:sqlline:jar:1.1.8 is missing, no dependency information available
...
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.000 s
[INFO] Finished at: 2016-03-14T11:20:34-06:00
[INFO] Final Memory: 18M/304M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project flyway-core: Could not resolve dependencies for project org.flywaydb:flyway-core:jar:0-SNAPSHOT: Failure to find sqlline:sqlline:jar:1.1.8 in nexus
   ...

C:\迁飞> mvn install -DskipTests -Dmaven.test.skip = true

[INFO] Scanning for projects...
 ...
[INFO] ------------------------------------------------------------------------
[INFO] Building flyway-core 0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[WARNING] The POM for sqlline:sqlline:jar:1.1.8 is missing, no dependency information available
  ...
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4.643 s
[INFO] Finished at: 2016-03-14T11:33:19-06:00
[INFO] Final Memory: 23M/435M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project flyway-core: Could not resolve dependencies for project org.flywaydb:flyway-core:jar:0-SNAPSHOT: Failure to find sqlline:sqlline:jar:1.1.8 in nexus
 ...

\Flyway> **mvn clean compile -DskipTests -Dmaven.test.skip=true**
[INFO] Scanning for projects...
   ...
[INFO] ------------------------------------------------------------------------
[INFO] Building flyway-core 0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[WARNING] The POM for sqlline:sqlline:jar:1.1.8 is missing, no dependency information available
...
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.000 s
[INFO] Finished at: 2016-03-14T11:20:34-06:00
[INFO] Final Memory: 18M/304M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project flyway-core: Could not resolve dependencies for project org.flywaydb:flyway-core:jar:0-SNAPSHOT: Failure to find sqlline:sqlline:jar:1.1.8 in nexus
   ...

0 个答案:

没有答案