accumulo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Medinets <david.medin...@gmail.com>
Subject Embedded error: /home/medined/workspace/accumulo_trunk/examples/wikisearch/ingest/target/classes (Is a directory)
Date Wed, 25 Jul 2012 03:33:54 GMT
I am using the trunk at revision 1365425. I've run into a compilation
issue and I don't know enough maven to understand why. First I ran the
compile from the root and saw the Embedded error. Then I ran the
compilation from the examples/wikisearch directory with the results
shown below. Notice that the sub-project being compiled was
wikisearch-query. However, the error mentions the ingest directory.
Could some variable be getting crossed between project?

After this compilation (later in the email) you'll see that I can
connect to the query directory and then the compile works (without
clean, though)

medined@affy:~/workspace/accumulo_trunk/examples/wikisearch$ mvn clean compile
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO]   accumulo-wikisearch
[INFO]   wikisearch-ingest
[INFO]   wikisearch-query
[INFO]   wikisearch-query-war
[INFO] ------------------------------------------------------------------------
[INFO] Building accumulo-wikisearch
[INFO]    task-segment: [clean, compile]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting
/home/medined/workspace/accumulo_trunk/examples/wikisearch/target
[INFO] [buildnumber:create {execution: default}]
[INFO] Checking for local modifications: skipped.
[INFO] Updating project files from SCM: skipped.
[INFO] Executing: /bin/sh -c cd
/home/medined/workspace/accumulo_trunk/examples/wikisearch && svn
--non-interactive info
[INFO] Working directory:
/home/medined/workspace/accumulo_trunk/examples/wikisearch
[INFO] Storing buildNumber: 1364869 at timestamp: 1343186590645
[INFO] Executing: /bin/sh -c cd
/home/medined/workspace/accumulo_trunk/examples/wikisearch && svn
--non-interactive info
[INFO] Working directory:
/home/medined/workspace/accumulo_trunk/examples/wikisearch
[INFO] Storing buildScmBranch: trunk
[INFO] [enforcer:enforce {execution: enforce-mvn}]
[INFO] [remote-resources:process {execution: default}]
[INFO] [dependency:copy-dependencies {execution: copy-dependencies}]
[INFO] ------------------------------------------------------------------------
[INFO] Building wikisearch-ingest
[INFO]    task-segment: [clean, compile]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting
/home/medined/workspace/accumulo_trunk/examples/wikisearch/ingest/target
[INFO] Deleting
/home/medined/workspace/accumulo_trunk/examples/wikisearch/ingest/lib
(includes = [], excludes = [])
[INFO] [buildnumber:create {execution: default}]
[INFO] Checking for local modifications: skipped.
[INFO] Updating project files from SCM: skipped.
[INFO] Executing: /bin/sh -c cd
/home/medined/workspace/accumulo_trunk/examples/wikisearch/ingest &&
svn --non-interactive info
[INFO] Working directory:
/home/medined/workspace/accumulo_trunk/examples/wikisearch/ingest
[INFO] Storing buildNumber: 1364869 at timestamp: 1343186594143
[INFO] Executing: /bin/sh -c cd
/home/medined/workspace/accumulo_trunk/examples/wikisearch/ingest &&
svn --non-interactive info
[INFO] Working directory:
/home/medined/workspace/accumulo_trunk/examples/wikisearch/ingest
[INFO] Storing buildScmBranch: trunk
[INFO] [enforcer:enforce {execution: enforce-mvn}]
[INFO] [remote-resources:process {execution: default}]
[debug] execute contextualize
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory
/home/medined/workspace/accumulo_trunk/examples/wikisearch/ingest/src/main/resources
[INFO] Copying 3 resources
[INFO] [dependency:copy-dependencies {execution: copy-dependencies}]
[INFO] Copying commons-codec-1.5.jar to
/home/medined/workspace/accumulo_trunk/examples/wikisearch/ingest/lib/commons-codec-1.5.jar
[INFO] Copying commons-lang-2.4.jar to
/home/medined/workspace/accumulo_trunk/examples/wikisearch/ingest/lib/commons-lang-2.4.jar
[INFO] Copying lucene-wikipedia-3.0.2.jar to
/home/medined/workspace/accumulo_trunk/examples/wikisearch/ingest/lib/lucene-wikipedia-3.0.2.jar
[INFO] Copying google-collections-1.0.jar to
/home/medined/workspace/accumulo_trunk/examples/wikisearch/ingest/lib/google-collections-1.0.jar
[INFO] Copying libthrift-0.8.0.jar to
/home/medined/workspace/accumulo_trunk/examples/wikisearch/ingest/lib/libthrift-0.8.0.jar
[INFO] Copying hadoop-core-0.20.205.0.jar to
/home/medined/workspace/accumulo_trunk/examples/wikisearch/ingest/lib/hadoop-core-0.20.205.0.jar
[INFO] Copying cloudtrace-1.5.0-SNAPSHOT.jar to
/home/medined/workspace/accumulo_trunk/examples/wikisearch/ingest/lib/cloudtrace-1.5.0-SNAPSHOT.jar
[INFO] Copying lucene-core-3.0.2.jar to
/home/medined/workspace/accumulo_trunk/examples/wikisearch/ingest/lib/lucene-core-3.0.2.jar
[INFO] Copying protobuf-java-2.3.0.jar to
/home/medined/workspace/accumulo_trunk/examples/wikisearch/ingest/lib/protobuf-java-2.3.0.jar
[INFO] Copying accumulo-core-1.5.0-SNAPSHOT.jar to
/home/medined/workspace/accumulo_trunk/examples/wikisearch/ingest/lib/accumulo-core-1.5.0-SNAPSHOT.jar
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 23 source files to
/home/medined/workspace/accumulo_trunk/examples/wikisearch/ingest/target/classes
[INFO] ------------------------------------------------------------------------
[INFO] Building wikisearch-query
[INFO]    task-segment: [clean, compile]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting
/home/medined/workspace/accumulo_trunk/examples/wikisearch/query/target
[INFO] Deleting
/home/medined/workspace/accumulo_trunk/examples/wikisearch/query/lib
(includes = [], excludes = [])
[INFO] [buildnumber:create {execution: default}]
[INFO] Checking for local modifications: skipped.
[INFO] Updating project files from SCM: skipped.
[INFO] Executing: /bin/sh -c cd
/home/medined/workspace/accumulo_trunk/examples/wikisearch/query &&
svn --non-interactive info
[INFO] Working directory:
/home/medined/workspace/accumulo_trunk/examples/wikisearch/query
[INFO] Storing buildNumber: 1364869 at timestamp: 1343186596439
[INFO] Executing: /bin/sh -c cd
/home/medined/workspace/accumulo_trunk/examples/wikisearch/query &&
svn --non-interactive info
[INFO] Working directory:
/home/medined/workspace/accumulo_trunk/examples/wikisearch/query
[INFO] Storing buildScmBranch: trunk
[INFO] [enforcer:enforce {execution: enforce-mvn}]
[INFO] [remote-resources:process {execution: default}]
[debug] execute contextualize
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO] Copying 3 resources
[INFO] [dependency:copy-dependencies {execution: copy-dependencies}]
[INFO] Copying commons-codec-1.5.jar to
/home/medined/workspace/accumulo_trunk/examples/wikisearch/query/lib/commons-codec-1.5.jar
[INFO] Copying commons-lang-2.4.jar to
/home/medined/workspace/accumulo_trunk/examples/wikisearch/query/lib/commons-lang-2.4.jar
[INFO] Copying classes to
/home/medined/workspace/accumulo_trunk/examples/wikisearch/query/lib/wikisearch-ingest-1.5.0-SNAPSHOT.jar
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error copying artifact from
/home/medined/workspace/accumulo_trunk/examples/wikisearch/ingest/target/classes
to /home/medined/workspace/accumulo_trunk/examples/wikisearch/query/lib/wikisearch-ingest-1.5.0-SNAPSHOT.jar

Embedded error:
/home/medined/workspace/accumulo_trunk/examples/wikisearch/ingest/target/classes
(Is a directory)
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 9 seconds
[INFO] Finished at: Wed Jul 25 03:23:16 UTC 2012
[INFO] Final Memory: 55M/131M
[INFO] ------------------------------------------------------------------------

Here I connect to the query directory:

medined@affy:~/workspace/accumulo_trunk/examples/wikisearch/query$ mvn
clean compile
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building wikisearch-query
[INFO]    task-segment: [clean, compile]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting
/home/medined/workspace/accumulo_trunk/examples/wikisearch/query/target
[INFO] Deleting
/home/medined/workspace/accumulo_trunk/examples/wikisearch/query/lib
(includes = [], excludes = [])
[INFO] [buildnumber:create {execution: default}]
[INFO] Checking for local modifications: skipped.
[INFO] Updating project files from SCM: skipped.
[INFO] Executing: /bin/sh -c cd
/home/medined/workspace/accumulo_trunk/examples/wikisearch/query &&
svn --non-interactive info
[INFO] Working directory:
/home/medined/workspace/accumulo_trunk/examples/wikisearch/query
[INFO] Storing buildNumber: 1364869 at timestamp: 1343186906182
[INFO] Executing: /bin/sh -c cd
/home/medined/workspace/accumulo_trunk/examples/wikisearch/query &&
svn --non-interactive info
[INFO] Working directory:
/home/medined/workspace/accumulo_trunk/examples/wikisearch/query
[INFO] Storing buildScmBranch: trunk
[INFO] [enforcer:enforce {execution: enforce-mvn}]
[INFO] [remote-resources:process {execution: default}]
[debug] execute contextualize
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO] Copying 3 resources
[INFO] [dependency:copy-dependencies {execution: copy-dependencies}]
[INFO] Copying commons-codec-1.5.jar to
/home/medined/workspace/accumulo_trunk/examples/wikisearch/query/lib/commons-codec-1.5.jar
[INFO] Copying commons-lang-2.4.jar to
/home/medined/workspace/accumulo_trunk/examples/wikisearch/query/lib/commons-lang-2.4.jar
[INFO] Copying wikisearch-ingest-1.5.0-SNAPSHOT.jar to
/home/medined/workspace/accumulo_trunk/examples/wikisearch/query/lib/wikisearch-ingest-1.5.0-SNAPSHOT.jar
[INFO] Copying google-collections-1.0.jar to
/home/medined/workspace/accumulo_trunk/examples/wikisearch/query/lib/google-collections-1.0.jar
[INFO] Copying kryo-1.04.jar to
/home/medined/workspace/accumulo_trunk/examples/wikisearch/query/lib/kryo-1.04.jar
[INFO] Copying hadoop-core-0.20.205.0.jar to
/home/medined/workspace/accumulo_trunk/examples/wikisearch/query/lib/hadoop-core-0.20.205.0.jar
[INFO] Copying commons-jexl-2.0.1.jar to
/home/medined/workspace/accumulo_trunk/examples/wikisearch/query/lib/commons-jexl-2.0.1.jar
[INFO] Copying protobuf-java-2.3.0.jar to
/home/medined/workspace/accumulo_trunk/examples/wikisearch/query/lib/protobuf-java-2.3.0.jar
[INFO] Copying accumulo-core-1.5.0-SNAPSHOT.jar to
/home/medined/workspace/accumulo_trunk/examples/wikisearch/query/lib/accumulo-core-1.5.0-SNAPSHOT.jar
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 32 source files to
/home/medined/workspace/accumulo_trunk/examples/wikisearch/query/target/classes
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 11 seconds
[INFO] Finished at: Wed Jul 25 03:28:34 UTC 2012
[INFO] Final Memory: 50M/120M
[INFO] ------------------------------------------------------------------------

And now if I connect back to the examples/wikisearch, the mvn compile works.

Any suggestions?

Mime
View raw message