[ https://issues.apache.org/jira/browse/MASSEMBLY-778?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Elliotte Rusty Harold reopened MASSEMBLY-778: --------------------------------------------- > 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 > Priority: Major > > 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 (v8.3.4#803005)