sdc-tosca:1.3.3 depends on a SNAPSHOT artifact 09/39309/1
authorRob Daugherty <rd472p@att.com>
Tue, 27 Mar 2018 22:43:24 +0000 (18:43 -0400)
committerRob Daugherty <rd472p@att.com>
Tue, 27 Mar 2018 22:43:24 +0000 (18:43 -0400)
We have to exclude jtosca:1.3.4-SNAPSHOT and import jtosca:1.3.4.
This is really a defect in SDC, but we have to work around it for M4.

Change-Id: I4f204da9c5f3f601ae9a832203439bef7554079d
Issue-ID: SO-536
Signed-off-by: Rob Daugherty <rd472p@att.com>
asdc-controller/pom.xml
bpmn/MSOCommonBPMN/pom.xml

index 94447c3..20a3566 100644 (file)
                        <groupId>org.onap.sdc.sdc-tosca</groupId>
                        <artifactId>sdc-tosca</artifactId>
                        <version>1.3.3</version>
+                       <!-- sdc-tosca:1.3.3 depends on jtosca:1.3.4-SNAPSHOT,
+                            which must be excluded, and the release version
+                            of jtosca must be pulled in using an additional
+                            dependency, below -->
+                       <exclusions>
+                               <exclusion>
+                                       <groupId>org.onap.sdc.jtosca</groupId>
+                                       <artifactId>jtosca</artifactId>
+                               </exclusion>
+                       </exclusions>
+               </dependency> 
+               <dependency>
+                       <groupId>org.onap.sdc.jtosca</groupId>
+                       <artifactId>jtosca</artifactId>
+                       <version>1.3.4</version>
                </dependency> 
 
                <dependency>
index 669a3cb..b0cf1d9 100644 (file)
                        <artifactId>spring-test</artifactId>
                        <version>4.3.14.RELEASE</version>
                </dependency>
-                <dependency>
-                        <groupId>org.onap.sdc.sdc-tosca</groupId>
-                        <artifactId>sdc-tosca</artifactId>
-                        <version>1.3.3</version>
-                </dependency>
+               <dependency>
+                       <groupId>org.onap.sdc.sdc-tosca</groupId>
+                       <artifactId>sdc-tosca</artifactId>
+                       <version>1.3.3</version>
+                       <!-- sdc-tosca:1.3.3 depends on jtosca:1.3.4-SNAPSHOT,
+                            which must be excluded, and the release version
+                            of jtosca must be pulled in using an additional
+                            dependency, below -->
+                       <exclusions>
+                               <exclusion>
+                                       <groupId>org.onap.sdc.jtosca</groupId>
+                                       <artifactId>jtosca</artifactId>
+                               </exclusion>
+                       </exclusions>
+               </dependency>
+               <dependency>
+                       <groupId>org.onap.sdc.jtosca</groupId>
+                       <artifactId>jtosca</artifactId>
+                       <version>1.3.4</version>
+               </dependency>
                <dependency>
                        <groupId>org.camunda.bpm</groupId>
                        <artifactId>camunda-engine-spring</artifactId>