You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@felix.apache.org by fm...@apache.org on 2008/06/16 13:50:35 UTC
svn commit: r668123 -
/felix/trunk/scrplugin/src/main/java/org/apache/felix/scrplugin/SCRDescriptorMojo.java
Author: fmeschbe
Date: Mon Jun 16 04:50:35 2008
New Revision: 668123
URL: http://svn.apache.org/viewvc?rev=668123&view=rev
Log:
FELIX-608 Correctly create localization attribute according to the
Specification and FELIX-607
Modified:
felix/trunk/scrplugin/src/main/java/org/apache/felix/scrplugin/SCRDescriptorMojo.java
Modified: felix/trunk/scrplugin/src/main/java/org/apache/felix/scrplugin/SCRDescriptorMojo.java
URL: http://svn.apache.org/viewvc/felix/trunk/scrplugin/src/main/java/org/apache/felix/scrplugin/SCRDescriptorMojo.java?rev=668123&r1=668122&r2=668123&view=diff
==============================================================================
--- felix/trunk/scrplugin/src/main/java/org/apache/felix/scrplugin/SCRDescriptorMojo.java (original)
+++ felix/trunk/scrplugin/src/main/java/org/apache/felix/scrplugin/SCRDescriptorMojo.java Mon Jun 16 04:50:35 2008
@@ -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());