Ard Schrijvers pushed to branch feature/translations-psp2 at cms-community / 
hippo-cms-release


Commits:
ef78f463 by Ard Schrijvers at 2016-03-31T16:41:45+02:00
CMS-10010 Add hippo maven l10n plugin to pluginManagement

- - - - -


1 changed file:

- pom.xml


Changes:

=====================================
pom.xml
=====================================
--- a/pom.xml
+++ b/pom.xml
@@ -72,6 +72,9 @@
     <hippo.plugin.sitemap.version>3.0.0-SNAPSHOT</hippo.plugin.sitemap.version>
     
<hippo.plugin.taxonomy.version>3.0.0-SNAPSHOT</hippo.plugin.taxonomy.version>
 
+    <hippo.maven.plugin.l10n>1.0-SNAPSHOT</hippo.maven.plugin.l10n>
+    <!-- supported locales placeholder to be overridden by end projects -->
+    <supported.locales/>
   </properties>
 
   <repositories>
@@ -872,6 +875,27 @@
             </execution>
           </executions>
         </plugin>
+        <plugin>
+          <groupId>com.onehippo.maven.plugin</groupId>
+          <artifactId>hippo-l10n-maven-plugin</artifactId>
+          <version>${hippo.maven.plugin.l10n}</version>
+          <configuration>
+            <artifactPrefixes>
+              <artifactPrefix>org.onehippo.cms7:hippo-cms-</artifactPrefix>
+              
<artifactPrefix>com.onehippo.cms7:hippo-addon-eforms-</artifactPrefix>
+            </artifactPrefixes>
+          </configuration>
+          <executions>
+            <execution>
+              <goals>
+                <goal>injectLocales</goal>
+              </goals>
+              <configuration>
+                <locales>${supported.locales}</locales>
+              </configuration>
+            </execution>
+          </executions>
+        </plugin>
       </plugins>
       <!-- end of 'nullify' inherited configuration -->
     </pluginManagement>



View it on GitLab: 
https://code.onehippo.org/cms-community/hippo-cms-release/commit/ef78f46337cd5f6b0bcde6a2d4476e01ae9a63ff
_______________________________________________
Hippocms-svn mailing list
Hippocms-svn@lists.onehippo.org
https://lists.onehippo.org/mailman/listinfo/hippocms-svn

Reply via email to