Maven build misses out properties files for resource bundles
------------------------------------------------------------

         Key: WSFX-47
         URL: http://issues.apache.org/jira/browse/WSFX-47
     Project: WSFX
        Type: Bug
  Components: WSS4J  
 Environment: Maven 1.0.2 on Windows XP
    Reporter: Guy Rixon


If I run tests with wss4j-1.0.jar built with Maven I get failures to load 
resource bundles.

In your Maven project.xml you have 

    <resources>
      <resource>
        <directory>src</directory>
        <includes>
          <include>*.properties</include>
        </includes>
      </resource>
    </resources>

This puts into the jar only those properties files at the first level of the 
source tree. It misses out the properties files further down the directory 
hierarchy so it doesn't get the properties that make the resource bundles.

You need to change *.properties to **/*.properties .

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira

Reply via email to