[ http://jira.codehaus.org/browse/MRESOURCES-92?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=251100#action_251100 ]
Dennis Lundberg commented on MRESOURCES-92: ------------------------------------------- This is what I get when I run 'mvn package' on a project without a src/main/resources directory using Maven 2.1.0 with Maven Resources Plugin 2.3: {noformat} [INFO] [resources:resources] [INFO] skip non existing resourceDirectory G:\test\src\main\resources [INFO] [compiler:compile] [INFO] Compiling 1 source file to G:\test\target\classes [INFO] [resources:testResources] [INFO] skip non existing resourceDirectory G:\test\src\test\resources {noformat} Which lines do you want to remove? > Resource plugin is mightly loud when there are no resources at all > ------------------------------------------------------------------ > > Key: MRESOURCES-92 > URL: http://jira.codehaus.org/browse/MRESOURCES-92 > Project: Maven 2.x Resources Plugin > Issue Type: Bug > Affects Versions: 2.3 > Reporter: Benson Margulies > Fix For: 2.5 > > > As of 2.1.0, the super-pommed version of the resource plugin gives warnings > in a project that doesn't have a src/main/resources directory. > It seems a bit unkind to require explicit POM configuration to shut this up. > If there is no explicit <resources/> config in the POM, and no directories, > it seems as if the plugin should do nothing, quietly. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira