You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Daniel Kulp (JIRA)" <ji...@codehaus.org> on 2007/11/06 23:10:36 UTC

[jira] Commented: (MSOURCES-26) source:jar ignoring remote-resources

    [ http://jira.codehaus.org/browse/MSOURCES-26?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_112993 ] 

Daniel Kulp commented on MSOURCES-26:
-------------------------------------



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