Wagon插件下载问题

时间:2018-10-05 12:54:10

标签: maven-wagon-plugin

我在一个共享位置放置了一些ZIP文件。 我能够成功下载它们。

我在pom.xml中使用了以下提到的插件

  def count(x: Int): Unit = {
    if (x <= 1000) {
      print(s"$x ")
      count(x + 1)
    }
  }

  val t3 = System.currentTimeMillis()
  count(1)
  val t4 = System.currentTimeMillis()
  println(s"\ntime taken by the recursion look = ${t4 - t3} mili second")

  var c = 1

  val t1 = System.currentTimeMillis()
  while(c <= 1000)
    {
      print(s"$c ")
      c+=1
    }
  val t2 = System.currentTimeMillis()

  println(s"\ntime taken by the while loop = ${t2 - t1} mili second")

现在,如果我将csv文件放在manasa-utility文件夹中,则maven编译将失败,并带有以下提到的异常:

无法在项目:上执行目标org.codehaus.mojo:wagon-maven-plugin:1.0:download(downloadFilesInShare):

错误处理资源:smb://dedcdevfs01/Seepub/QS/manasa-utility/UMS_WhiteList.csv目录必须以'/'结尾-> [帮助1]

有人可以建议如何解决这个问题吗?

0 个答案:

没有答案