maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kenneth Glidden (JIRA)" <j...@apache.org>
Subject [jira] [Created] (MASSEMBLY-778) Treat missing file as an error
Date Fri, 17 Jul 2015 21:37:05 GMT
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)

Mime
View raw message