Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-2428

Drill Build failed : git.properties isn't a file.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • None
    • 1.8.0
    • Tools, Build & Test
    • None

    Description

      I am build the Drill from source . i am getting the following error.
      Applied patch provide for the same issue. but not working . Can you please
      provide the solution.

      ties to archive location: apache-drill-0.7.0-SNAPSHOT/git.properties
      [INFO] ------------------------------------------------------------------------
      [INFO] Reactor Summary:
      [INFO]
      [INFO] Apache Drill Root POM ............................. SUCCESS [ 10.186 s]
      [INFO] Drill Protocol .................................... SUCCESS [ 7.479 s]
      [INFO] Common (Logical Plan, Base expressions) ........... SUCCESS [ 10.150 s]
      [INFO] contrib/Parent Pom ................................ SUCCESS [ 2.490 s]
      [INFO] contrib/data/Parent Pom ........................... SUCCESS [ 0.302 s]
      [INFO] contrib/data/tpch-sample-data ..................... SUCCESS [ 3.259 s]
      [INFO] exec/Parent Pom ................................... SUCCESS [ 3.465 s]
      [INFO] exec/Java Execution Engine ........................ SUCCESS [02:12 min]
      [INFO] contrib/hive-storage-plugin/Parent Pom ............ SUCCESS [ 2.250 s]
      [INFO] contrib/hive-storage-plugin/hive-exec-shaded ...... SUCCESS [ 32.738 s]
      [INFO] contrib/hive-storage-plugin/core .................. SUCCESS [ 9.415 s]
      [INFO] exec/JDBC Driver using dependencies ............... SUCCESS [ 7.383 s]
      [INFO] JDBC JAR with all dependencies .................... SUCCESS [01:47 min]
      [INFO] exec/Drill expression interpreter ................. SUCCESS [ 20.441 s]
      [INFO] contrib/mongo-storage-plugin ...................... SUCCESS [ 7.914 s]
      [INFO] contrib/hbase-storage-plugin ...................... SUCCESS [ 8.501 s]
      [INFO] Packaging and Distribution Assembly ............... FAILURE [ 2.770 s]
      [INFO] contrib/sqlline ................................... SKIPPED
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 06:09 min
      [INFO] Finished at: 2015-03-11T16:22:49+05:30
      [INFO] Final Memory: 69M/526M
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.
      4:single (distro-assembly) on project distribution: Failed to create assembly: E
      rror adding file to archive: D:\drill\drill-0.7.0\distribution\target\classes\gi
      t.properties isn't a file. -> [Help 1]
      org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal o
      rg.apache.maven.plugins:maven-assembly-plugin:2.4:single (distro-assembly) on pr
      oject distribution: Failed to create assembly: Error adding file to archive: D:\
      drill\drill-0.7.0\distribution\target\classes\git.properties isn't a file.
      at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor
      .java:216)
      at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor
      .java:153)
      at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor
      .java:145)
      at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProje
      ct(LifecycleModuleBuilder.java:108)
      at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProje
      ct(LifecycleModuleBuilder.java:76)
      at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThre
      adedBuilder.build(SingleThreadedBuilder.java:51)
      at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(Lifecycl
      eStarter.java:116)
      at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:361)
      at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155)
      at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)
      at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:213)
      at org.apache.maven.cli.MavenCli.main(MavenCli.java:157)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
      java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:606)
      at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Laun
      cher.java:289)
      at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.jav
      a:229)
      at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(La
      uncher.java:415)
      at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:
      356)
      Caused by: org.apache.maven.plugin.MojoExecutionException: Failed to create asse
      mbly: Error adding file to archive: D:\drill\drill-0.7.0\distribution\target\cla
      sses\git.properties isn't a file.
      at org.apache.maven.plugin.assembly.mojos.AbstractAssemblyMojo.execute(A
      bstractAssemblyMojo.java:495)
      at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(Default
      BuildPluginManager.java:133)
      at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor
      .java:208)
      ... 19 more
      Caused by: org.apache.maven.plugin.assembly.archive.ArchiveCreationException: Er
      ror adding file to archive: D:\drill\drill-0.7.0\distribution\target\classes\git
      .properties isn't a file.
      at org.apache.maven.plugin.assembly.archive.phase.FileItemAssemblyPhase.
      execute(FileItemAssemblyPhase.java:117)
      at org.apache.maven.plugin.assembly.archive.DefaultAssemblyArchiver.crea
      teArchive(DefaultAssemblyArchiver.java:183)
      at org.apache.maven.plugin.assembly.mojos.AbstractAssemblyMojo.execute(A
      bstractAssemblyMojo.java:436)
      ... 21 more
      Caused by: org.codehaus.plexus.archiver.ArchiverException: D:\drill\drill-0.7.0\
      distribution\target\classes\git.properties isn't a file.
      at org.codehaus.plexus.archiver.AbstractArchiver.addFile(AbstractArchive
      r.java:386)
      at org.apache.maven.plugin.assembly.archive.archiver.AssemblyProxyArchiv
      er.addFile(AssemblyProxyArchiver.java:463)
      at org.apache.maven.plugin.assembly.archive.phase.FileItemAssemblyPhase.
      execute(FileItemAssemblyPhase.java:113)
      ... 23 more
      [ERROR]
      [ERROR]
      [ERROR] For more information about the errors and possible solutions, please rea
      d the following articles:
      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionE
      xception
      [ERROR]
      [ERROR] After correcting the problems, you can resume the build with the command

      [ERROR] mvn <goals> -rf :distribution

      Attachments

        Activity

          People

            Unassigned Unassigned
            prawin530 Praveen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: