Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add basePath config parameter #109

Closed
ppalaga opened this issue Jun 21, 2022 · 1 comment
Closed

Add basePath config parameter #109

ppalaga opened this issue Jun 21, 2022 · 1 comment
Assignees
Milestone

Comments

@ppalaga
Copy link
Contributor

ppalaga commented Jun 21, 2022

Adds basePath config parameter defined as follows:

    /**
     * The base path under which the repository will be served.
     * <p>
     * By default, {@code org.acme:my-artifact:pom:1.2.3} will be served under
     * {@code http://localhost:<port>/org/acme/my-artifact/1.2.3/my-artifact-1.2.3.pom}.
     * <p>
     * If {@code basePath} is set to e.g. {@code foo/bar} then {@code org.acme:my-artifact:pom:1.2.3} will be served
     * under {@code http://localhost:<port>/foo/bar/org/acme/my-artifact/1.2.3/my-artifact-1.2.3.pom}.
     */
    @Parameter( property = "mrm.basePath", defaultValue = "/" )
    private String basePath;
@ppalaga ppalaga added this to the 1.4.0 milestone Jun 21, 2022
@ppalaga ppalaga self-assigned this Jun 21, 2022
@ppalaga
Copy link
Contributor Author

ppalaga commented Jun 21, 2022

Fixed via #94

@ppalaga ppalaga closed this as completed Jun 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant