[ http://jira.codehaus.org/browse/MSOURCES-26?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_112993 ]
Daniel Kulp edited comment on MSOURCES-26 at 11/6/07 4:12 PM: -------------------------------------------------------------- This is due to the change: - if ( r.getDirectory().endsWith( "maven-shared-archive-resources" ) ) - { - archiver.addDirectory( new File( r.getDirectory() ) ); - } to: + if ( r.getDirectory().endsWith( "maven-shared-archive-resources" ) ) + { + addDirectory( archiver, new File( r.getDirectory() ), new String[]{}, new String[]{} ); + } The "includes"is empty so nothing is included. Changing it to: if ( r.getDirectory().endsWith( "maven-shared-archive-resources" ) ) { addDirectory( archiver, new File( r.getDirectory() ), DEFAULT_INCLUDES, new String[0] ); } works fine. was: This is due to the change: - if ( r.getDirectory().endsWith( "maven-shared-archive-resources" ) ) - { - archiver.addDirectory( new File( r.getDirectory() ) ); - } to: + if ( r.getDirectory().endsWith( "maven-shared-archive-resources" ) ) + { + addDirectory( archiver, new File( r.getDirectory() ), new String[]{}, new String[]{} ); + } The "includes"is empty so nothing is included. Changing it to: if ( r.getDirectory().endsWith( "maven-shared-archive-resources" ) ) { addDirectory( archiver, new File( r.getDirectory() ), DEFAULT_INCLUDES, new String[0] ); } works fine. > source:jar ignoring remote-resources > ------------------------------------ > > Key: MSOURCES-26 > URL: http://jira.codehaus.org/browse/MSOURCES-26 > Project: Maven 2.x Source Plugin > Issue Type: Bug > Affects Versions: 2.0.3 > Reporter: Daniel Kulp > Priority: Critical > > The source jar created does not include the resources generated from the > remote-resources plugin. This works fine with 2.0.2, but not with 2.0.3. -- 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