[
https://issues.apache.org/jira/browse/MWAR-422?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16835883#comment-16835883
]
Robert Scholte commented on MWAR-422:
-------------------------------------
Sorry for the late response, but the list of open issues and PRs is long.
bq. This behaviour makes it impossible to use the deploy goal with a classifier
specified because there is no main artifact.
This is intended. If you say the packaging of a project is war, it means the
main artifact is a war. Otherwise the packaging should be pom if there's no
main artifact.
> specification of a classifier conflicts with primaryArtifact config
> -------------------------------------------------------------------
>
> Key: MWAR-422
> URL: https://issues.apache.org/jira/browse/MWAR-422
> Project: Maven WAR Plugin
> Issue Type: Bug
> Reporter: mike duigou
> Priority: Major
> Labels: has-patch
> Time Spent: 10m
> Remaining Estimate: 0h
>
> The documentation for the classifier configuration states "If given, the
> artifact will be an attachment instead." which ignores the configuration
> specified by the primaryArtifact config.
> IMO, specification of a classifier should no cause a change in behaviour from
> attaching main artifact vs attaching supplemental artifact. This behaviour
> makes it impossible to use the deploy goal with a classifier specified
> because there is no main artifact.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)