FELIX-4021 maven-ipojo-plugin fails on WAR packaging

* When writing back resources, their paths were not converted

git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1499767 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/ipojo/manipulator/manipulator/src/main/java/org/apache/felix/ipojo/manipulator/store/JarFileResourceStore.java b/ipojo/manipulator/manipulator/src/main/java/org/apache/felix/ipojo/manipulator/store/JarFileResourceStore.java
index c88104c..0f0e660 100644
--- a/ipojo/manipulator/manipulator/src/main/java/org/apache/felix/ipojo/manipulator/store/JarFileResourceStore.java
+++ b/ipojo/manipulator/manipulator/src/main/java/org/apache/felix/ipojo/manipulator/store/JarFileResourceStore.java
@@ -148,7 +148,7 @@
     }
 
     public void write(String resourcePath, byte[] resource) throws IOException {
-        this.m_content.put(resourcePath, resource);
+        this.m_content.put(getInternalPath(resourcePath), resource);
     }
 
     public void close() throws IOException {