[Maven][l10n-maven-plugin]告警[WARNING] No dictionary file under folder

pom.xml中添加了taglist-maven-plugin配置,片段如下:

                
                    com.googlecode.l10n-maven-plugin
                    l10n-maven-plugin
                    1.8
                    
                        
                            en
                            zh_CN
                        
                    
                

执行mvn clean package site时报错[WARNING] No dictionary file under folder,详细报错如下:

[INFO] Generating "L10n validation" report --- l10n-maven-plugin:1.8:report
[INFO] Initializing l10n validators...
[INFO] Looking for .dic files in: D:\temp\Java\ApkToolBoxGUI\src\main\resources
[WARNING] No dictionary file under folder D:\temp\Java\ApkToolBoxGUI\src\main\resources. Skipping spellcheck validation.
[INFO] Looking for .properties files in: D:\temp\Java\ApkToolBoxGUI\src\main\resources

解决方案:

  • l10n-maven-plugin: https://github.com/rquinio/l10n-maven-plugin
  • l10n-maven-plugin Validators: https://github.com/rquinio/l10n-maven-plugin/wiki/Validators
  • Jazzy - Java Spell Check API: https://sourceforge.net/projects/jazzy/
  • JazzyDicts - A Free Dictionary Set: https://sourceforge.net/projects/jazzydicts/

你可能感兴趣的:([Maven][l10n-maven-plugin]告警[WARNING] No dictionary file under folder)