You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2024/06/07 22:10:00 UTC
[jira] [Commented] (MDEP-939) Lock down classifier in dependency:sources goal
[ https://issues.apache.org/jira/browse/MDEP-939?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17853292#comment-17853292 ]
ASF GitHub Bot commented on MDEP-939:
-------------------------------------
michael-o commented on code in PR #409:
URL: https://github.com/apache/maven-dependency-plugin/pull/409#discussion_r1631743763
##########
src/it/projects/sources/test.properties:
##########
@@ -16,3 +16,4 @@
# under the License.
outputFile = target/resolved.txt
+classifier = foo
Review Comment:
This may require a comment that it has no influence anymore...
> Lock down classifier in dependency:sources goal
> -----------------------------------------------
>
> Key: MDEP-939
> URL: https://issues.apache.org/jira/browse/MDEP-939
> Project: Maven Dependency Plugin
> Issue Type: Improvement
> Components: sources
> Affects Versions: 3.6.1
> Reporter: Michael Osipov
> Assignee: Michael Osipov
> Priority: Major
> Fix For: 3.7.0
>
>
> At the moment the classifier in {{dependency:sources}} is only set to {{sources}} if nothing is passed from the user, but allowing passing contradicts the purpose of this goal. We should make this parameter read-only and ignore any input to it.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)