Skip to content

Remove duplicated type / classifier from example in guide-attached-tests.md - #1854

Open
JackPGreen wants to merge 1 commit into
apache:masterfrom
JackPGreen:patch-1
Open

JackPGreen wants to merge 1 commit into
apache:masterfrom
JackPGreen:patch-1

Conversation

@JackPGreen

Copy link
Copy Markdown

As per the docs, for a type of test-jar, the classifier already defaults to tests - explicitly specifying is redundant.

More specifically, the aforementioned docs specifically encourage type instead of classifier in this scenario.


To make clear that you license your contribution under
the Apache License Version 2.0, January 2004
check one of the following:

…ed-tests.md`

As per [the docs](https://maven.apache.org/repositories/dependencies.html#dependency-types), for a `type` of `test-jar`, the `classifier` already defaults to `tests` - explicitly specifying is redundant.

More specifically, the aforementioned docs specifically encourage `type` _instead of_ `classifier` in this scenario.
@JackPGreen

Copy link
Copy Markdown
Author

Confusing, this is deliberate - https://issues.apache.org/jira/browse/MNGSITE-329 - but why is not documented.

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

Successfully merging this pull request may close these issues.

1 participant