add blueprint-maven-plugin scanPath org.opendaylight.openflowplugin.impl 57/78857/1
authorMichael Vorburger <vorburger@redhat.com>
Tue, 18 Dec 2018 12:24:40 +0000 (13:24 +0100)
committerMichael Vorburger <vorburger@redhat.com>
Tue, 18 Dec 2018 12:24:40 +0000 (13:24 +0100)
to avoid the autowire.xml of openflowplugin-impl having a
<bean id="switchConnectionProviderFactoryImpl"
class="org.opendaylight.openflowjava.protocol.impl.core.SwitchConnectionProviderFactoryImpl">
which was, of course, completely wrong.

It seems to have done "no harm" so far because it's "just" an extra
bean initialization, which is then un-used, but it's very confusing
to see x2 SwitchConnectionProviderFactoryImpl starting up.

Change-Id: I16bfdc9ab8b1bd3d6d174fe9c5b16fa65b156aa7
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
openflowplugin-impl/pom.xml

index 73c535fc8dd7a22c5bed825bd9631323360aeab6..d6fd335615f031a66f9866597077708d12598a13 100644 (file)
             <plugin>
                 <groupId>org.apache.aries.blueprint</groupId>
                 <artifactId>blueprint-maven-plugin</artifactId>
+                <configuration>
+                    <scanPaths>
+                        <scanPath>org.opendaylight.openflowplugin.impl</scanPath>
+                    </scanPaths>
+                </configuration>
             </plugin>
             <plugin>
                 <groupId>org.apache.felix</groupId>