You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by ga...@apache.org on 2008/06/20 21:13:26 UTC

svn commit: r670036 - /geronimo/server/branches/2.1/framework/modules/geronimo-plugin/src/main/java/org/apache/geronimo/system/plugin/PluginInstallerGBean.java

Author: gawor
Date: Fri Jun 20 12:13:25 2008
New Revision: 670036

URL: http://svn.apache.org/viewvc?rev=670036&view=rev
Log:
use artifactId as the plugin name

Modified:
    geronimo/server/branches/2.1/framework/modules/geronimo-plugin/src/main/java/org/apache/geronimo/system/plugin/PluginInstallerGBean.java

Modified: geronimo/server/branches/2.1/framework/modules/geronimo-plugin/src/main/java/org/apache/geronimo/system/plugin/PluginInstallerGBean.java
URL: http://svn.apache.org/viewvc/geronimo/server/branches/2.1/framework/modules/geronimo-plugin/src/main/java/org/apache/geronimo/system/plugin/PluginInstallerGBean.java?rev=670036&r1=670035&r2=670036&view=diff
==============================================================================
--- geronimo/server/branches/2.1/framework/modules/geronimo-plugin/src/main/java/org/apache/geronimo/system/plugin/PluginInstallerGBean.java (original)
+++ geronimo/server/branches/2.1/framework/modules/geronimo-plugin/src/main/java/org/apache/geronimo/system/plugin/PluginInstallerGBean.java Fri Jun 20 12:13:25 2008
@@ -1406,7 +1406,7 @@
         PluginType meta = new PluginType();
         PluginArtifactType instance = new PluginArtifactType();
         meta.getPluginArtifact().add(instance);
-        meta.setName(toArtifactType(moduleId).toString());
+        meta.setName(toArtifactType(moduleId).getArtifactId());
         instance.setModuleId(toArtifactType(moduleId));
         meta.setCategory("Unknown");
         instance.getGeronimoVersion().add(serverInfo.getVersion());