Skip to content

Respect setting of M2_HOME or MAVEN_OPTS #99

@imagejan

Description

@imagejan

jgo (at least when launched via Python: python -m jgo) currently doesn't respect when the environment variables M2_HOME or MAVEN_OPTS are set.

We currently default to this:

https://github.com/scijava/jgo/blob/89d20d1167e40784b6f1f185e55face10df74318/src/jgo/jgo.py#L430-L434

Maybe we can do something similar to handling the JGO_CACHE_DIR variable?

https://github.com/scijava/jgo/blob/89d20d1167e40784b6f1f185e55face10df74318/src/jgo/jgo.py#L726-L729

Related: #57.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions