FELIX-608 Correctly create localization attribute according to the
Specification and FELIX-607

git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@668123 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/scrplugin/src/main/java/org/apache/felix/scrplugin/SCRDescriptorMojo.java b/scrplugin/src/main/java/org/apache/felix/scrplugin/SCRDescriptorMojo.java
index 1f2a156..d6277f5 100644
--- a/scrplugin/src/main/java/org/apache/felix/scrplugin/SCRDescriptorMojo.java
+++ b/scrplugin/src/main/java/org/apache/felix/scrplugin/SCRDescriptorMojo.java
@@ -30,6 +30,7 @@
 import org.apache.maven.plugin.*;
 import org.apache.maven.project.MavenProject;
 import org.codehaus.plexus.util.StringUtils;
+import org.osgi.service.metatype.MetaTypeService;
 
 /**
  * The <code>SCRDescriptorMojo</code>
@@ -104,7 +105,7 @@
         final Components components = new Components();
         final Components abstractComponents = new Components();
         final MetaData metaData = new MetaData();
-        metaData.setLocalization("metatype");
+        metaData.setLocalization(MetaTypeService.METATYPE_DOCUMENTS_LOCATION + "/metatype");
 
         for (int i = 0; i < javaSources.length; i++) {
             this.getLog().debug("Testing source " + javaSources[i].getName());