Author: pdodds
Date: Mon Nov 20 13:04:42 2006
New Revision: 477330
URL: http://svn.apache.org/viewvc?view=rev&rev=477330
Log:
Corrected handling to incorporate other artifact types, this helps when you
might want to refer to a stub created by another service unit.
Modified:
incubator/servicemix/trunk/tooling/jbi-maven-plugin/src/main/java/org/apache/servicemix/maven/plugin/jbi/GenerateServiceUnitMojo.java
Modified:
incubator/servicemix/trunk/tooling/jbi-maven-plugin/src/main/java/org/apache/servicemix/maven/plugin/jbi/GenerateServiceUnitMojo.java
URL:
http://svn.apache.org/viewvc/incubator/servicemix/trunk/tooling/jbi-maven-plugin/src/main/java/org/apache/servicemix/maven/plugin/jbi/GenerateServiceUnitMojo.java?view=diff&rev=477330&r1=477329&r2=477330
==============================================================================
---
incubator/servicemix/trunk/tooling/jbi-maven-plugin/src/main/java/org/apache/servicemix/maven/plugin/jbi/GenerateServiceUnitMojo.java
(original)
+++
incubator/servicemix/trunk/tooling/jbi-maven-plugin/src/main/java/org/apache/servicemix/maven/plugin/jbi/GenerateServiceUnitMojo.java
Mon Nov 20 13:04:42 2006
@@ -178,7 +178,7 @@
removeBranch(listener, artifact);
} else if ("jbi-shared-library".equals(type)) {
removeBranch(listener, artifact);
- } else if ("jar".equals(type)) {
+ } else {
includes.add(artifact);
}
}