Still a problem. I'm not using a build profile that I know of. I'm using Ubuntu Linux 14.04.1 for the host.

java -version
java version "1.7.0_80"
Java(TM) SE Runtime Environment (build 1.7.0_80-b15)
Java HotSpot(TM) 64-Bit Server VM (build 24.80-b11, mixed mode)

mvn -version
Apache Maven 3.2.3 (33f8c3e1027c3ddde99d3cdebad2656a31e8fdf4; 2014-08-11T16:58:10-04:00)
Maven home: /usr/local/apache-maven-3.2.3
Java version: 1.7.0_80, 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.13.0-62-generic", arch: "amd64", family: "unix"


On 08/28/2015 03:40 AM, Benoit Tellier wrote:
Hi Mike,

No, you just need to run a maven command.

Yesterday I compiled James using openjdk-7 and maven 3.3.3. I found a library version problem, undetected by the animal sniffer plugin, but I couldn't reproduce your bug. Once corrected, I was able to compile James with Java 7. I commited this patch this morning.

Can you give your Java version and maven version so that I can recreate your build environment ? Are you using any build profile ?

Thanks,

Benoit


Le 27/08/2015 17:54, Mike lepore a écrit :
thanks, yeah, not sure why I thought I had to change folders at that point. That helped me get farther, but still problems

...

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache James Project ............................... SUCCESS [ 1.322 s] [INFO] Apache James :: Mailets parent and aggregator ...... SUCCESS [ 6.831 s] [INFO] Apache James :: Mailet API ......................... SUCCESS [ 3.162 s] [INFO] Apache James :: Basic Mailet Toolkit ............... SUCCESS [ 1.323 s] [INFO] Apache James :: Mime4j :: Project .................. SUCCESS [ 0.378 s] [INFO] Apache James :: Mime4j :: Core ..................... SUCCESS [ 9.846 s] [INFO] Apache James :: Mime4j :: DOM ...................... SUCCESS [ 16.119 s] [INFO] Apache James :: jDKIM :: DomainKey Project ......... SUCCESS [ 0.047 s] [INFO] Apache James :: jDKIM .............................. SUCCESS [ 9.495 s] [INFO] Apache James :: jDKIM :: Mailets ................... SUCCESS [ 1.857 s]
...
[INFO] Apache James :: Mailbox :: Store Framework ......... SUCCESS [ 5.565 s] [INFO] Apache James :: Mailbox :: Caching ................. SUCCESS [ 0.626 s] [INFO] Apache James :: Mailbox :: Cassandra ............... SUCCESS [ 49.625 s] [INFO] Apache James :: Mailbox :: ElasticSearch ........... SUCCESS [ 34.718 s] [INFO] Apache James :: Mailbox :: In Memory ............... SUCCESS [ 1.812 s] [INFO] Apache James :: Mailbox :: Tika .................... FAILURE [ 28.265 s]
[INFO] Apache James :: Mailbox :: HBase ................... SKIPPED
...

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 05:39 min
[INFO] Finished at: 2015-08-27T11:48:43-04:00
[INFO] Final Memory: 123M/322M
[INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-remote-resources-plugin:1.4:process (default) on project apache-james-mailbox-elasticsearch: Failed to resolve dependencies for one or more projects in the reactor. Reason: Missing:
[ERROR] ----------
[ERROR] 1) org.apache.james:apache-james-mailbox-tika:jar:0.6-SNAPSHOT
[ERROR]
[ERROR] Try downloading the file manually from the project website.
[ERROR]
[ERROR] Then, install it using the command:
[ERROR] mvn install:install-file -DgroupId=org.apache.james -DartifactId=apache-james-mailbox-tika -Dversion=0.6-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
[ERROR]
[ERROR] Alternatively, if you host your own repository you can deploy the file there: [ERROR] mvn deploy:deploy-file -DgroupId=org.apache.james -DartifactId=apache-james-mailbox-tika -Dversion=0.6-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
[ERROR]
[ERROR] Path to dependency:
[ERROR] 1) org.apache.james:apache-james-mailbox-elasticsearch:jar:0.6-SNAPSHOT
[ERROR] 2) org.apache.james:apache-james-mailbox-tika:jar:0.6-SNAPSHOT
[ERROR]
[ERROR] ----------
[ERROR] 1 required artifact is missing.
[ERROR]
[ERROR] for artifact:
[ERROR] org.apache.james:apache-james-mailbox-elasticsearch:jar:0.6-SNAPSHOT
[ERROR]
[ERROR] from the specified remote repositories:
[ERROR] apache.snapshots (http://repository.apache.org/snapshots, releases=false, snapshots=true), [ERROR] central (https://repo.maven.apache.org/maven2, releases=true, snapshots=false)
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :apache-james-mailbox-elasticsearch


says something is missing. Do I need to download something else separately?

On 08/27/2015 11:40 AM, Matthieu Baechler wrote:
Hi Mike,

It looks like you build only james-project. You should run mvn in the top-level directory instead to build the whole server.





---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org
For additional commands, e-mail: server-user-h...@james.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org
For additional commands, e-mail: server-user-h...@james.apache.org

Reply via email to