Skip to content

Duplicated maven repo will be created if the same repo is executed multiple times #80

@frankfliu

Description

@frankfliu

I use following code to add repo with %mavenRepo magic:

%mavenRepo snapshots https://oss.sonatype.org/content/repositories/snapshots/

If I execute this line multiple times, or if we open multiple jupyter notebook, both of jupyter notebook contains this line. It creates multiple repo with the same name "snapshots".

The duplicated repo will significantly increase dependency resolve time (especially for snapshot version).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions