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

Copy scope from default coordinates #20

Open
bmarwell opened this issue Dec 29, 2021 · 2 comments
Open

Copy scope from default coordinates #20

bmarwell opened this issue Dec 29, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@bmarwell
Copy link

bmarwell commented Dec 29, 2021

Hi,

API coordinates should have the scope.

Currently:

bmarwell@wells ~/git/ $ mcs search javax.ws.rs:javax.ws.rs-api:2.1.1
Searching for javax.ws.rs:javax.ws.rs-api:2.1.1...

    <dependency>
        <groupId>javax.ws.rs</groupId>
        <artifactId>javax.ws.rs-api</artifactId>
        <version>2.1.1</version>
    </dependency>

Suggested:

bmarwell@wells ~/git/ $ mcs search javax.ws.rs:javax.ws.rs-api:2.1.1
Searching for javax.ws.rs:javax.ws.rs-api:2.1.1...

    <dependency>
        <groupId>javax.ws.rs</groupId>
        <artifactId>javax.ws.rs-api</artifactId>
        <version>2.1.1</version>
        <scope>provided</scope>
    </dependency>
@mthmulders
Copy link
Owner

I don't quite understand... how would mcs know what the desired scope is?

@bmarwell
Copy link
Author

Well, how does http://mvnrepository.com/ know? If they have a list, then okay, I'd say drop this feature request. But it would be really handy to have e.g. all APIs or junit-artifacts have a provided-/test-scope by default.

@mthmulders mthmulders added the enhancement New feature or request label Jan 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants