Your properties files will generally go into src/main/resources. I'm not aware of any existing internationalized "Hello World" app built with Maven so if you build one, please let us know so others can benefit.
Wayne On 3/22/07, Giuseppe Greco <[EMAIL PROTECTED]> wrote:
Thanks, Is there somewhere a POM example? I'm not able to find any exhaustive example... Where should I put the I16N *.properties files in the project structure? Even if I use a profile, I need to include the default resource bundle... Furthermore, what's about applications supporting more than one language? It would be great if I could find an internationalized "hello world" application built with Maven... j3d. > I think you are looking for maven 1)release and 2)profiles. The first > requires > the release plug-in and the second will require a profile for each > language/jar > > -----Original Message----- > From: Giuseppe Greco [mailto:[EMAIL PROTECTED] > Sent: March 22, 2007 7:33 AM > To: [email protected] > Subject: Newby Questions... > > Hi all, > > I'm looking at Maven as a replacement for Ant. > > I was able to create a small test application with Maven and it works > fine. I > think Maven is really great! > > Since I'm really new to Maven, I've two questions: > > 1. How do I generate an application distro (i.e. a JAR that contains > all the modules required to run the program)? > > 2. How does Maven support I18N (i.e. where should I put the > MyApp_en_US.properties file or how do I instruct Maven to include > it in the package)? > > Thanks, > j3d. > > ---------------------------------------- > Giuseppe Greco > Via CarĂ 26 > 6928 Manno (TI) > Switzerland > > call giuseppe.greco via Skype > phone: +41 (0)91 604 67 65 > mobile: +41 (0)79 590 33 06 > email: [EMAIL PROTECTED] > ---------------------------------------- > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
