You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Gavin (JIRA)" <ji...@apache.org> on 2019/04/29 09:27:42 UTC

[jira] [Issue Comment Deleted] (MESOS-3482) Compile fails with -Duser.home option set.

     [ https://issues.apache.org/jira/browse/MESOS-3482?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gavin updated MESOS-3482:
-------------------------
    Comment: was deleted

(was: www.rtat.net)

> Compile fails with -Duser.home option set.
> ------------------------------------------
>
>                 Key: MESOS-3482
>                 URL: https://issues.apache.org/jira/browse/MESOS-3482
>             Project: Mesos
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 0.24.0
>         Environment: OS X 10.11, MacBook Pro Mid-2012, Clang-700.0.72
>            Reporter: Dominyk Tiller
>            Assignee: haosdent
>            Priority: Major
>              Labels: build
>
> Apologies in advance; I'm not sure if this is technically your bug or a bug with the upstream javadoc plugin. 
> I'm trying to sandbox the Mesos installation so the downloaded plugins/jars/etc needed by Maven for installation aren't retained after the build, as otherwise they get dumped in "$HOME/.m2". To achieve this I've exported:
> {noformat}
> _JAVA_OPTIONS=-Duser.home=/private/tmp/mesos20150921-21602-19h9jrr/mesos-0.24.0/.brew_home
> {noformat}
> This causes the following build failure:
> {noformat}
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 02:48 min
> [INFO] Finished at: 2015-09-21T15:24:14+01:00
> [INFO] Final Memory: 29M/242M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:2.8.1:jar (build-and-attach-javadocs) on project mesos: MavenReportException: Error while creating archive:
> [ERROR] Exit code: 1 - Picked up _JAVA_OPTIONS: -Duser.home=/private/tmp/mesos20150921-21602-19h9jrr/mesos-0.24.0/.brew_home
> [ERROR] javadoc: error - No packages or classes specified.
> [ERROR]
> [ERROR] Command line was: /Library/Java/JavaVirtualMachines/jdk1.8.0_60.jdk/Contents/Home/bin/javadoc @options
> [ERROR]
> [ERROR] Refer to the generated Javadoc files in '/private/tmp/mesos20150921-21602-19h9jrr/mesos-0.24.0/src/java/target/apidocs' dir.
> {noformat}
> Can confirm without setting that variable, the build is fine.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)