Well the version of Maven you are running does not necessarily directly relate to the version of a particular plugin you are using.
So you could easily move to the 2.0-SNAPSHOT for the site plugin "despite" being on Maven 2.0.2. And I think it would be great if you could contribute the CN and any other language bundles you can, to help other people who use Maven and the site plugin. I'd contribute some myself but the handful of languages I speak are already accounted for! Wayne On 3/30/06, li pan <[EMAIL PROTECTED]> wrote: > yes, I am running maven 2.0.2. A "old" version I think;( > > 2006/3/31, Wayne Fay <[EMAIL PROTECTED]>: > > > > I believe the bundles have not yet been written for most languages. > > But I know *someone* on the User (or Dev?) list was working on this, > > search the archives. > > > > I checked my maven-site-plugin 2.0-SNAPSHOT and it includes properties > > for en, de, fr, it, ja, and pl. > > > > I checked 2.0-beta-4 and it only includes en and fr. I'll bet you're > > running a non-SNAPSHOT release. > > > > If you want to create a site for CN (or another language you happen to > > know), you'll need to make the properties bundle yourself and > > contribute it back to Maven via JIRA. > > > > Wayne > > > > > > On 3/30/06, li pan <[EMAIL PROTECTED]> wrote: > > > Hi, I am tring to build document with maven-site-plugin. I am using > > maven > > > 2.0.2 > > > The documents of maven says that if I want to build a fr verion, what I > > need > > > is a fr directory, site_fr.xml, and add "fr" to the <locales> of pom > > > Yes, it works. > > > But I tried other locales like cn ja de, and none works(I havn't write a > > > site_cn.xml, I just copy from the en version), the stack looks like: > > > java.util.MissingResourceException: Can't find bundle for base name > > > site-plugin, > > > locale de > > > at org.codehaus.plexus.i18n.DefaultI18N.cacheBundle( > > DefaultI18N.java > > > :390 > > > ) > > > at org.codehaus.plexus.i18n.DefaultI18N.getBundle( > > DefaultI18N.java > > > :153) > > > at org.apache.maven.plugins.site.SiteMojo.initLocalesList( > > > SiteMojo.java: > > > 482) > > > at org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java > > :244) > > > what have I done wrong? > > > Thanks! > > > > > > > > > >
