[ https://jira.codehaus.org/browse/MDEPLOY-165?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=332632#comment-332632 ] Robert Scholte commented on MDEPLOY-165: ---------------------------------------- {quote} model.setClassifier( classifier ); {quote} There's no such method. > deploy-file ignores classifier > ------------------------------ > > Key: MDEPLOY-165 > URL: https://jira.codehaus.org/browse/MDEPLOY-165 > Project: Maven Deploy Plugin > Issue Type: Bug > Components: deploy:deploy-file > Affects Versions: 2.7 > Reporter: Gili > Priority: Critical > > MDEPLOY-19's implementation is incomplete. If a user specifies a {{classifier}} then {{generatePom}} fails to take the classifier into consideration and uploads a POM file that omits the classifier. > The fix is simple: > Add the following line to {{DeployFileMojo.generateModel()}}: > {{model.setClassifier( classifier );}} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira