]> git.basschouten.com Git - openhab-addons.git/commitdiff
Add i18n-maven-plugin dependency (#11648)
authorWouter Born <github@maindrain.net>
Wed, 1 Dec 2021 17:53:01 +0000 (18:53 +0100)
committerGitHub <noreply@github.com>
Wed, 1 Dec 2021 17:53:01 +0000 (18:53 +0100)
When the plugin dependency is managed you can also use the plugin without adding GAV parameters to commands.

E.g. it allows for using it with:

```
mvn i18n:generate-default-translations
```

Signed-off-by: Wouter Born <github@maindrain.net>
pom.xml

diff --git a/pom.xml b/pom.xml
index d1053e574ad868a645e714b9801d9fb57a87a64a..019425708f24b7c44a851c36887a4a5c28056867 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -520,6 +520,12 @@ Import-Package: \\
           </configuration>
         </plugin>
 
+        <plugin>
+          <groupId>org.openhab.core.tools</groupId>
+          <artifactId>i18n-maven-plugin</artifactId>
+          <version>${ohc.version}</version>
+        </plugin>
+
         <plugin>
           <groupId>org.openhab.tools.sat</groupId>
           <artifactId>sat-plugin</artifactId>
@@ -541,6 +547,7 @@ Import-Package: \\
             </execution>
           </executions>
         </plugin>
+
         <plugin>
           <groupId>com.diffplug.spotless</groupId>
           <artifactId>spotless-maven-plugin</artifactId>