FELIX-3442 Have to explicitly include processed resources
use Include-Resource directive extension instead of maven resource
to embed the processed translation files
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1309872 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/webconsole-plugins/ds/pom.xml b/webconsole-plugins/ds/pom.xml
index e23770c..c301acf 100644
--- a/webconsole-plugins/ds/pom.xml
+++ b/webconsole-plugins/ds/pom.xml
@@ -35,20 +35,6 @@
</scm>
<build>
- <!-- add UTF-8-to-ISO translated resources -->
- <resources>
- <resource>
- <directory>${basedir}/src/main/resources</directory>
- </resource>
- <resource>
- <directory>target/classes</directory>
- <includes>
- <include>OSGI-INF/**</include>
- </includes>
- <filtering>false</filtering>
- </resource>
- </resources>
-
<plugins>
<!-- translate UTF-8 encoded properties files to ISO-8859-1 -->
<plugin>
@@ -80,6 +66,9 @@
<Bundle-Activator>
org.apache.felix.webconsole.plugins.ds.internal.Activator
</Bundle-Activator>
+ <Include-Resource>
+ {maven-resources},OSGI-INF=target/classes/OSGI-INF
+ </Include-Resource>
</instructions>
</configuration>
</plugin>