Uploaded image for project: 'Accumulo'
  1. Accumulo
  2. ACCUMULO-1882

wikisearch-ingest module fails to build

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 1.4.5
    • wikisearch
    • None
    • commit 6648056cac0a3d271744ab322e8fede221c1f792

    Description

      When running mvn clean prepare-package -Dmaven.test.skip -X on a clean checkout of 6648056cac0a3d271744ab322e8fede221c1f792 I get the following error:

      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:2.1:copy-dependencies (copy-dependencies) on project wikisearch-ingest: Error copying artifact from /home/mike/workspace/accumulo/src/core/target/classes to /home/mike/workspace/accumulo/src/examples/wikisearch/ingest/lib/classes: /home/mike/workspace/accumulo/src/core/target/classes (Is a directory) -> [Help 1]
      org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:2.1:copy-dependencies (copy-dependencies) on project wikisearch-ingest: Error copying artifact from /home/mike/workspace/accumulo/src/core/target/classes to /home/mike/workspace/accumulo/src/examples/wikisearch/ingest/lib/classes
      	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217)
      	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.buildProject(LifecycleModuleBuilder.java:84)
      	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
      	at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
      	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
      	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
      	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
      	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
      	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
      	at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:606)
      	at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
      	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
      	at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
      	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
      Caused by: org.apache.maven.plugin.MojoExecutionException: Error copying artifact from /home/mike/workspace/accumulo/src/core/target/classes to /home/mike/workspace/accumulo/src/examples/wikisearch/ingest/lib/classes
      	at org.apache.maven.plugin.dependency.AbstractDependencyMojo.copyFile(AbstractDependencyMojo.java:194)
      	at org.apache.maven.plugin.dependency.CopyDependenciesMojo.copyArtifact(CopyDependenciesMojo.java:186)
      	at org.apache.maven.plugin.dependency.CopyDependenciesMojo.execute(CopyDependenciesMojo.java:85)
      	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
      	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
      	... 19 more
      Caused by: java.io.FileNotFoundException: /home/mike/workspace/accumulo/src/core/target/classes (Is a directory)
      	at java.io.FileInputStream.open(Native Method)
      	at java.io.FileInputStream.<init>(FileInputStream.java:146)
      	at org.codehaus.plexus.util.FileUtils.copyFile(FileUtils.java:929)
      	at org.apache.maven.plugin.dependency.AbstractDependencyMojo.copyFile(AbstractDependencyMojo.java:189)
      	... 23 more
      

      Environment:

      Apache Maven 3.0.5 (r01de14724cdef164cd33c7c8c2fe155faf9602da; 2013-02-19 08:51:28-0500)
      Maven home: /opt/apache-maven-3.0.5
      Java version: 1.7.0_45, vendor: Oracle Corporation
      Java home: /usr/lib/jvm/java-7-oracle/jre
      Default locale: en_US, platform encoding: UTF-8
      OS name: "linux", version: "3.8.0-32-generic", arch: "amd64", family: "unix"
      

      Attachments

        1. ACCUMULO-1882.1.patch.txt
          2 kB
          Sean Busbey

        Issue Links

          Activity

            People

              busbey Sean Busbey
              mdrob Mike Drob
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: