Author: rfeng
Date: Tue Jan 20 14:50:48 2009
New Revision: 736156

URL: http://svn.apache.org/viewvc?rev=736156&view=rev
Log:
Use project name for Bundle-Name

Modified:
    
tuscany/java/sca/tools/maven/maven-osgi-junit/src/main/java/org/apache/tuscany/sca/equinox/junit/plugin/OSGiJUnitMojo.java

Modified: 
tuscany/java/sca/tools/maven/maven-osgi-junit/src/main/java/org/apache/tuscany/sca/equinox/junit/plugin/OSGiJUnitMojo.java
URL: 
http://svn.apache.org/viewvc/tuscany/java/sca/tools/maven/maven-osgi-junit/src/main/java/org/apache/tuscany/sca/equinox/junit/plugin/OSGiJUnitMojo.java?rev=736156&r1=736155&r2=736156&view=diff
==============================================================================
--- 
tuscany/java/sca/tools/maven/maven-osgi-junit/src/main/java/org/apache/tuscany/sca/equinox/junit/plugin/OSGiJUnitMojo.java
 (original)
+++ 
tuscany/java/sca/tools/maven/maven-osgi-junit/src/main/java/org/apache/tuscany/sca/equinox/junit/plugin/OSGiJUnitMojo.java
 Tue Jan 20 14:50:48 2009
@@ -228,7 +228,7 @@
         attributes.putValue("Manifest-Version", "1.0");
         attributes.putValue(BUNDLE_MANIFESTVERSION, "2");
         attributes.putValue(BUNDLE_SYMBOLICNAME, project.getGroupId() + "." + 
project.getArtifactId());
-        attributes.putValue(BUNDLE_NAME, project.getDescription());
+        attributes.putValue(BUNDLE_NAME, project.getName());
         attributes.putValue(BUNDLE_VERSION, osgiVersion(project.getVersion()));
         attributes.putValue(Constants.DYNAMICIMPORT_PACKAGE, "*");
         return manifest;


Reply via email to