You are viewing a plain text version of this content. The canonical link for it is here.
Posted to npanday-commits@incubator.apache.org by "Robert Savage (JIRA)" <ji...@apache.org> on 2012/06/08 23:44:23 UTC

[jira] [Updated] (NPANDAY-358) ResGen Maven Plugin: Failed to find resources in multi module project

     [ https://issues.apache.org/jira/browse/NPANDAY-358?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Savage updated NPANDAY-358:
----------------------------------

    Attachment: NPANDAY-358-PATCH

I have created a patch file to update the 'maven-resgen-plugin' to include the "/useSourcePath" argument when executing resgen.

This is needed because when using the default   "Properties.Resources.resx" file to include project resources, individual resource files (images, icons, etc.) are defined using relative paths inside the .resx file.

I have not performed extensive testing, but this seems to be working great in my project.  I can now compile using maven at the child project pom level and at the parent pom level.  
                
> ResGen Maven Plugin: Failed to find resources in multi module project
> ---------------------------------------------------------------------
>
>                 Key: NPANDAY-358
>                 URL: https://issues.apache.org/jira/browse/NPANDAY-358
>             Project: NPanday
>          Issue Type: Bug
>          Components: Maven Plugins
>    Affects Versions: 1.2.1, 1.4-incubating
>            Reporter: Simon Brending
>            Assignee: Lars Corneliussen
>            Priority: Blocker
>             Fix For: 1.5.0-incubating
>
>         Attachments: NPANDAY-358-PATCH, ResourceTest.zip
>
>
> The ResGen Maven Plugin fails in a multi module project. It can not find the resources, because it does not resolve the paths correctly.
> The path will be resolved correctly with the command line option "/usesourcepath".

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira