You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Kenneth Glidden (JIRA)" <ji...@apache.org> on 2015/07/17 23:37:05 UTC
[jira] [Created] (MASSEMBLY-778) Treat missing file as an error
Kenneth Glidden created MASSEMBLY-778:
-----------------------------------------
Summary: Treat missing file as an error
Key: MASSEMBLY-778
URL: https://issues.apache.org/jira/browse/MASSEMBLY-778
Project: Maven Assembly Plugin
Issue Type: New Feature
Reporter: Kenneth Glidden
If a file specified for inclusion in the descriptor...
e.g.
{noformat}
<dependencySet>
<useProjectArtifact>false</useProjectArtifact>
<outputDirectory>lib</outputDirectory>
<outputFileNameMapping>bt${artifact.artifactId}-${artifact.version}${dashClassifier?}.${artifact.extension}</outputFileNameMapping>
<useTransitiveDependencies>true</useTransitiveDependencies>
<useTransitiveFiltering>true</useTransitiveFiltering>
<includes>
<include>com.basistech:common-api</include>
<include>com.basistech:common-lib</include>
</includes>
</dependencySet>
{noformat}
... is missing, maven simply reports a warning:
{noformat}
[INFO] --- maven-assembly-plugin:2.5.5:single (assemble-distribution) @ rbl-distribution ---
[INFO] Reading assembly descriptor: src/main/assembly/all.xml
[WARNING] The following patterns were never triggered in this artifact inclusion filter:
o 'com.basistech:common-api'
o 'com.basistech:common-lib'
{noformat}
I want an option to tell the plugin to treat this as an error so that it is obvious that the assembly is missing files I need.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)