Re: ODL:Master(Aluminium): Unable to bring karaf distribution locally - Reg


Karthikeyan
 

Thanks Robert for your explanation.

I cloud see below changes are there in the GENIUS project where as netvirt module pom.xml we didn't not changed the same. Is this root cause of the failure?

    <!--<dependency>
       <groupId>org.opendaylight.controller</groupId>
       <artifactId>sal-binding-broker-impl</artifactId>
       <scope>test</scope>
     </dependency>
     <dependency>
       <groupId>org.opendaylight.controller</groupId>
       <artifactId>sal-binding-broker-impl</artifactId>
       <scope>test</scope>
       <type>test-jar</type>
     </dependency>!-->

    <dependency>
      <groupId>org.opendaylight.mdsal</groupId>
      <artifactId>mdsal-binding-dom-adapter</artifactId>
      <type>test-jar</type>
      <scope>compile</scope>
    </dependency>



Could you please confirm what could be replacement for the below dependency which are existing in the netvirt project modules.

1) odl-netvirt-api module pom.xml existing dependency:  
<dependency>
<groupId>org.opendaylight.controller</groupId>
<artifactId>mdsal-artifacts</artifactId>
<version>1.11.0</version>
<scope>import</scope>
<type>pom</type>
</dependency>
2) odl-netvirt-impl module pom.xml existing dependency:
<dependency>
    <groupId>org.opendaylight.controller</groupId>
<artifactId>odl-mdsal-broker</artifactId>
<version>1.11.0</version>
<type>xml</type>
<classifier>features</classifier>
</dependency>
3) netvirt application pom.xml existing dependency in various modules:
<dependency>
<groupId>org.opendaylight.controller</groupId>
<artifactId>sal-binding-broker-impl</artifactId>
</dependency>

Thanks & Regards,
Karthikeyan.

On Tue, Apr 21, 2020 at 2:03 PM Robert Varga <nite@...> wrote:


On 21/04/2020 09:53, Karthikeyan wrote:
> +Robert Varga <mailto:nite@...> ,
>
> @Robert Varga <mailto:nite@...>, We request your help on
> resolving reported problem in below email.
>
> We have tried installing following feature in the multi-patch
> integration distribution and it works fine without any issues.
>
> /feature:install odl-genius
> feature:install odl-ovsdb-southbound-impl
> feature:install odl-ovsdb-hwvtepsouthbound/
> *
> *
> *
> *
> *feature:install odl-netvirt-openstack --> Problem with installing
> netvirt features only. Is any MDSAL DOM dependency is missing ?*

[snip]

>     /*                Unable to create resource for bundle
>     wrap:mvn:org.opendaylight.mdsal/mdsal-binding-dom-adapter/5.0.9/jar/tests*/

test-jar should never make it to the distribution, one of your patches
has introduced a wrong dependency (i.e. not scope=test).

Bye,
Robert

Join integration-dev@lists.opendaylight.org to automatically receive all group messages.