You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicemix.apache.org by bs...@apache.org on 2008/01/22 03:10:23 UTC

svn commit: r614094 - /servicemix/smx3/branches/servicemix-3.2/tooling/jbi-maven-plugin/src/main/java/org/apache/servicemix/maven/plugin/jbi/GenerateComponentDescriptorMojo.java

Author: bsnyder
Date: Mon Jan 21 18:10:21 2008
New Revision: 614094

URL: http://svn.apache.org/viewvc?rev=614094&view=rev
Log:
SM-1157 - maven-jbi-plugin creates wrong classpath entries in jbi.xml for SE.

Modified:
    servicemix/smx3/branches/servicemix-3.2/tooling/jbi-maven-plugin/src/main/java/org/apache/servicemix/maven/plugin/jbi/GenerateComponentDescriptorMojo.java

Modified: servicemix/smx3/branches/servicemix-3.2/tooling/jbi-maven-plugin/src/main/java/org/apache/servicemix/maven/plugin/jbi/GenerateComponentDescriptorMojo.java
URL: http://svn.apache.org/viewvc/servicemix/smx3/branches/servicemix-3.2/tooling/jbi-maven-plugin/src/main/java/org/apache/servicemix/maven/plugin/jbi/GenerateComponentDescriptorMojo.java?rev=614094&r1=614093&r2=614094&view=diff
==============================================================================
--- servicemix/smx3/branches/servicemix-3.2/tooling/jbi-maven-plugin/src/main/java/org/apache/servicemix/maven/plugin/jbi/GenerateComponentDescriptorMojo.java (original)
+++ servicemix/smx3/branches/servicemix-3.2/tooling/jbi-maven-plugin/src/main/java/org/apache/servicemix/maven/plugin/jbi/GenerateComponentDescriptorMojo.java Mon Jan 21 18:10:21 2008
@@ -204,8 +204,7 @@
 
         List uris = new ArrayList();
         DependencyInformation info = new DependencyInformation();
-        info.setFilename(LIB_DIRECTORY + "/" + project.getArtifactId() + "-"
-                + project.getVersion() + ".jar");
+        info.setFilename(LIB_DIRECTORY + "/" + project.getBuild().getFinalName() + ".jar");
         info.setVersion(project.getVersion());
         info.setName(project.getArtifactId());
         info.setType("jar");