Remove test-jar generation 43/126543/4
authorvasraz <vasyl.razinkov@est.tech>
Tue, 11 Jan 2022 18:02:46 +0000 (18:02 +0000)
committervasraz <vasyl.razinkov@est.tech>
Tue, 11 Jan 2022 18:02:46 +0000 (18:02 +0000)
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Change-Id: Icc9f423b93a01fbcca3f45c4e8783d40aa6d6936
Issue-ID: SDC-3840

22 files changed:
catalog-be/pom.xml
common-be-tests-utils/pom.xml [new file with mode: 0644]
common-be-tests-utils/src/main/java/org/openecomp/sdc/be/test/util/TestResourcesHandler.java [moved from common-be/src/test/java/org/openecomp/sdc/be/test/util/TestResourcesHandler.java with 100% similarity]
common-be-tests-utils/src/main/resources/artifacts/pnfSoftwareInformation/pnf-sw-information.yaml [new file with mode: 0644]
common-be-tests-utils/src/main/resources/certificateManager/fakeCert1.cert [new file with mode: 0644]
common-be-tests-utils/src/main/resources/certificateManager/fakeCert1.key [new file with mode: 0644]
common-be-tests-utils/src/main/resources/certificateManager/fakeCert2.cert [new file with mode: 0644]
common-be-tests-utils/src/main/resources/certificateManager/fakeCert3.key [new file with mode: 0644]
common-be-tests-utils/src/main/resources/certificateManager/realCert/realCert1.cert [new file with mode: 0644]
common-be-tests-utils/src/main/resources/certificateManager/realCert/realCert1.key [new file with mode: 0644]
common-be-tests-utils/src/main/resources/certificateManager/signerTest/fileToSign.txt [new file with mode: 0644]
common-be-tests-utils/src/main/resources/csarSizeReducer/dummyToNotReduce.csar [new file with mode: 0644]
common-be-tests-utils/src/main/resources/csarSizeReducer/dummyToReduce-2-files.zip [new file with mode: 0644]
common-be-tests-utils/src/main/resources/csarSizeReducer/dummyToReduce-3-files.zip [new file with mode: 0644]
common-be-tests-utils/src/main/resources/csarSizeReducer/dummyToReduce.csar [new file with mode: 0644]
common-be-tests-utils/src/main/resources/mockito-extensions/org.mockito.plugins.MockMaker [new file with mode: 0644]
common-be-tests-utils/src/main/resources/persistentVolumeArtifactStorageManager/dummy.csar [new file with mode: 0644]
common-be-tests-utils/src/main/resources/s3StoreArtifactStorageManager/dummy.csar [new file with mode: 0644]
common-be/pom.xml
openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/pom.xml
openecomp-be/lib/openecomp-tosca-converter-lib/openecomp-tosca-converter-core/pom.xml
pom.xml

index f6bb4f0..7f776a3 100644 (file)
         </dependency>
         <dependency>
             <groupId>org.openecomp.sdc.be</groupId>
-            <artifactId>common-be</artifactId>
+            <artifactId>common-be-tests-utils</artifactId>
             <version>${project.version}</version>
-            <type>test-jar</type>
             <scope>test</scope>
             <exclusions>
                 <exclusion>
diff --git a/common-be-tests-utils/pom.xml b/common-be-tests-utils/pom.xml
new file mode 100644 (file)
index 0000000..e62e686
--- /dev/null
@@ -0,0 +1,258 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+    <modelVersion>4.0.0</modelVersion>
+
+    <groupId>org.openecomp.sdc.be</groupId>
+    <artifactId>common-be-tests-utils</artifactId>
+
+    <parent>
+        <groupId>org.openecomp.sdc</groupId>
+        <artifactId>sdc-main</artifactId>
+        <version>1.10.0-SNAPSHOT</version>
+    </parent>
+
+    <dependencies>
+
+        <dependency>
+            <groupId>com.fasterxml.jackson.core</groupId>
+            <artifactId>jackson-core</artifactId>
+            <version>${jackson.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>io.minio</groupId>
+            <artifactId>minio</artifactId>
+            <version>8.3.4</version>
+        </dependency>
+
+        <!-- Common of SD&C -->
+        <dependency>
+            <groupId>org.openecomp.sdc</groupId>
+            <artifactId>common-app-api</artifactId>
+            <version>${project.version}</version>
+            <exclusions>
+                <exclusion>
+                    <groupId>com.fasterxml.jackson.core</groupId>
+                    <artifactId>jackson-core</artifactId>
+                </exclusion>
+                <exclusion>
+                    <groupId>commons-codec</groupId>
+                    <artifactId>commons-codec</artifactId>
+                </exclusion>
+                <exclusion>
+                    <groupId>org.apache.httpcomponents</groupId>
+                    <artifactId>httpcore</artifactId>
+                </exclusion>
+            </exclusions>
+        </dependency>
+
+        <dependency>
+            <groupId>org.apache.commons</groupId>
+            <artifactId>commons-lang3</artifactId>
+            <version>${lang3.version}</version>
+            <scope>provided</scope>
+        </dependency>
+
+        <dependency>
+            <groupId>ch.qos.logback</groupId>
+            <artifactId>logback-classic</artifactId>
+            <version>${logback.version}</version>
+            <scope>provided</scope>
+        </dependency>
+
+        <dependency>
+            <groupId>com.google.guava</groupId>
+            <artifactId>guava</artifactId>
+            <version>${guava.version}</version>
+            <scope>provided</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.functionaljava</groupId>
+            <artifactId>functionaljava</artifactId>
+            <version>${functionaljava.version}</version>
+            <scope>provided</scope>
+        </dependency>
+
+        <dependency>
+            <groupId>com.fasterxml.jackson.core</groupId>
+            <artifactId>jackson-databind</artifactId>
+            <version>${jackson.version}</version>
+            <scope>provided</scope>
+            <exclusions>
+                <exclusion>
+                    <groupId>com.fasterxml.jackson.core</groupId>
+                    <artifactId>jackson-core</artifactId>
+                </exclusion>
+            </exclusions>
+        </dependency>
+
+        <dependency>
+            <groupId>org.bouncycastle</groupId>
+            <artifactId>bcpkix-jdk15on</artifactId>
+            <version>${bouncycastle.version}</version>
+            <scope>compile</scope>
+        </dependency>
+
+        <dependency>
+            <groupId>org.hamcrest</groupId>
+            <artifactId>hamcrest</artifactId>
+            <version>${hamcrest.version}</version>
+            <scope>test</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.hamcrest</groupId>
+            <artifactId>hamcrest-library</artifactId>
+            <version>${hamcrest.version}</version>
+            <scope>test</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.junit.jupiter</groupId>
+            <artifactId>junit-jupiter</artifactId>
+            <version>${junitJupiter.version}</version>
+            <scope>test</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.mockito</groupId>
+            <artifactId>mockito-junit-jupiter</artifactId>
+            <version>${mockitoJupiter.version}</version>
+            <scope>test</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.onap.sdc.common</groupId>
+            <artifactId>onap-tosca-datatype</artifactId>
+            <version>${tosca.datatype.version}</version>
+            <exclusions>
+                <exclusion>
+                    <groupId>com.fasterxml.jackson.core</groupId>
+                    <artifactId>jackson-core</artifactId>
+                </exclusion>
+            </exclusions>
+        </dependency>
+        <dependency>
+            <groupId>org.projectlombok</groupId>
+            <artifactId>lombok</artifactId>
+            <version>${lombok.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>com.google.code.bean-matchers</groupId>
+            <artifactId>bean-matchers</artifactId>
+            <version>${bean-matchers.version}</version>
+            <scope>test</scope>
+        </dependency>
+
+        <!-- Togglz core module (mandatory) -->
+        <dependency>
+            <groupId>org.togglz</groupId>
+            <artifactId>togglz-core</artifactId>
+            <version>${togglz.version}</version>
+        </dependency>
+
+        <!-- Togglz for Servlet environments (mandatory for webapps) -->
+        <dependency>
+            <groupId>org.togglz</groupId>
+            <artifactId>togglz-servlet</artifactId>
+            <version>${togglz.version}</version>
+        </dependency>
+
+        <!-- Togglz Admin Console -->
+        <dependency>
+            <groupId>org.togglz</groupId>
+            <artifactId>togglz-console</artifactId>
+            <version>${togglz.version}</version>
+        </dependency>
+
+        <!-- Togglz for testing -->
+        <dependency>
+            <groupId>org.togglz</groupId>
+            <artifactId>togglz-testing</artifactId>
+            <version>${togglz.version}</version>
+            <scope>test</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.springframework</groupId>
+            <artifactId>spring-context</artifactId>
+            <version>${spring.version}</version>
+            <scope>compile</scope>
+            <exclusions>
+                <exclusion>
+                    <groupId>org.springframework</groupId>
+                    <artifactId>spring-expression</artifactId>
+                </exclusion>
+                <exclusion>
+                    <groupId>org.springframework</groupId>
+                    <artifactId>spring-core</artifactId>
+                </exclusion>
+            </exclusions>
+        </dependency>
+        <dependency>
+            <groupId>org.springframework</groupId>
+            <artifactId>spring-core</artifactId>
+            <version>${spring.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.cxf</groupId>
+            <artifactId>cxf-rt-frontend-jaxrs</artifactId>
+            <version>${cxf.version}</version>
+            <exclusions>
+                <exclusion>
+                    <groupId>org.jboss.spec.javax.rmi</groupId>
+                    <artifactId>jboss-rmi-api_1.0_spec</artifactId>
+                </exclusion>
+            </exclusions>
+        </dependency>
+        <dependency>
+            <groupId>org.openecomp.sdc.core</groupId>
+            <artifactId>openecomp-common-lib</artifactId>
+            <version>${project.version}</version>
+        </dependency>
+    </dependencies>
+
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-jar-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <id>default-jar</id>
+                        <phase>package</phase>
+                        <goals>
+                            <goal>jar</goal>
+                        </goals>
+                    </execution>
+                </executions>
+            </plugin>
+            <plugin>
+                <groupId>com.github.sylvainlaurent.maven</groupId>
+                <artifactId>yaml-json-validator-maven-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <id>validate</id>
+                        <phase>validate</phase>
+                        <goals>
+                            <goal>validate</goal>
+                        </goals>
+                        <configuration>
+                            <validationSets>
+                                <validationSet>
+                                    <includes>
+                                        <include>src/main/resources/**/*.y*ml</include>
+                                        <include>src/test/resources/**/*.y*ml</include>
+                                    </includes>
+                                </validationSet>
+                                <validationSet>
+                                    <includes>
+                                        <include>src/main/resources/**/*.json</include>
+                                        <include>src/test/resources/**/*.json</include>
+                                    </includes>
+                                </validationSet>
+                            </validationSets>
+                            <skip>${skipYamlJsonValidator}</skip>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+        </plugins>
+    </build>
+
+</project>
diff --git a/common-be-tests-utils/src/main/resources/artifacts/pnfSoftwareInformation/pnf-sw-information.yaml b/common-be-tests-utils/src/main/resources/artifacts/pnfSoftwareInformation/pnf-sw-information.yaml
new file mode 100644 (file)
index 0000000..31f4bc6
--- /dev/null
@@ -0,0 +1,8 @@
+description: "pnf software information"
+provider: "Ericsson"
+version: "1.0"
+pnf_software_information:
+  - description: "first software version of PNF"
+    pnf_software_version: "version1"
+  - description: "second software version of PNF"
+    pnf_software_version: "version2"
diff --git a/common-be-tests-utils/src/main/resources/certificateManager/fakeCert1.cert b/common-be-tests-utils/src/main/resources/certificateManager/fakeCert1.cert
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/common-be-tests-utils/src/main/resources/certificateManager/fakeCert1.key b/common-be-tests-utils/src/main/resources/certificateManager/fakeCert1.key
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/common-be-tests-utils/src/main/resources/certificateManager/fakeCert2.cert b/common-be-tests-utils/src/main/resources/certificateManager/fakeCert2.cert
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/common-be-tests-utils/src/main/resources/certificateManager/fakeCert3.key b/common-be-tests-utils/src/main/resources/certificateManager/fakeCert3.key
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/common-be-tests-utils/src/main/resources/certificateManager/realCert/realCert1.cert b/common-be-tests-utils/src/main/resources/certificateManager/realCert/realCert1.cert
new file mode 100644 (file)
index 0000000..ae7d518
--- /dev/null
@@ -0,0 +1,24 @@
+-----BEGIN CERTIFICATE-----
+MIIEAzCCAuugAwIBAgIUZqdsy8mtirp4AGnTopg9rb3NXcEwDQYJKoZIhvcNAQEL
+BQAwgY8xCzAJBgNVBAYTAkVVMRAwDgYDVQQIDAdOb3doZXJlMRIwEAYDVQQHDAlT
+b21ld2hlcmUxDTALBgNVBAoMBEFDTUUxDDAKBgNVBAsMA1NEQzEVMBMGA1UEAwwM
+c2RjLm9uYXAub3JnMSYwJAYJKoZIhvcNAQkBFhdvbmFwLXNkY0BsaXN0cy5vbmFw
+Lm9yZzAgFw0yMTAyMTYxNDQ2NThaGA8yMDcxMDIwNDE0NDY1OFowgY8xCzAJBgNV
+BAYTAkVVMRAwDgYDVQQIDAdOb3doZXJlMRIwEAYDVQQHDAlTb21ld2hlcmUxDTAL
+BgNVBAoMBEFDTUUxDDAKBgNVBAsMA1NEQzEVMBMGA1UEAwwMc2RjLm9uYXAub3Jn
+MSYwJAYJKoZIhvcNAQkBFhdvbmFwLXNkY0BsaXN0cy5vbmFwLm9yZzCCASIwDQYJ
+KoZIhvcNAQEBBQADggEPADCCAQoCggEBANAWK6fjuOq6Wgxwh6QqK0YB9ahjPRj0
+ik/l86AokwyawpgY/iC2xXw+9Etq91C6plYy8BlbYIcv/+KoiteL4YgME9Hk1lwK
+GEceNGwvLKzU5/fTX1BP4qpVi3aB5zCAWa9MhCk+UI/aIeERKFP9XHAx/wuAUq/x
+OP4HLxgLuX/A7Trld3RjjaMYOLjbfJjPFN3lrvfQ02fy5DlJfWG3ASTOOEfdHt1g
+wfOLuzl2l5R34p+zwQKid+2cyKXYs0owZu7Dz9OTWLVxZcLiYEGz8Y3gmmHVhXy+
+TPpvl5wPEajOQBUMksdOric0dIfKjJCMJqFzILv1dfZCr3843MYN3oMCAwEAAaNT
+MFEwHQYDVR0OBBYEFJ6mFarA/5ISm7nZimLshzCH/0F8MB8GA1UdIwQYMBaAFJ6m
+FarA/5ISm7nZimLshzCH/0F8MA8GA1UdEwEB/wQFMAMBAf8wDQYJKoZIhvcNAQEL
+BQADggEBAGUzF4W1vHfksW9qSYqtc8xuM+lV1WrdOW7pX7JkIihUv3Z4jMqysrU4
+nj2iVBG5dPNm9v5GtaeK1ESnVilcdMSYTj/F34/MXJ0iZy1UR0j0IBSrR7JjbTAD
+aYH1sx00hH13U8GMZInnmenmwziOQgBwhhCjLMblUY2vQ4O5MGwZG0VW2e3mUcq1
+HBC69yRMx9jQ+Iof6+rHnCLZXTjcl+65IxXSbKhofvpPJMVXFlmV3TdDdONuvKpS
+051z/ISD6/SEWEvF9ZwAnZvJ/5yPqGzKgyC7rp8zJL+N3VLfr+la1D1w7qgoyFTi
+drptEMCzLOk4OuM8PX8l2kY0G+gQD1o=
+-----END CERTIFICATE-----
diff --git a/common-be-tests-utils/src/main/resources/certificateManager/realCert/realCert1.key b/common-be-tests-utils/src/main/resources/certificateManager/realCert/realCert1.key
new file mode 100644 (file)
index 0000000..a31579a
--- /dev/null
@@ -0,0 +1,28 @@
+-----BEGIN PRIVATE KEY-----
+MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQDQFiun47jquloM
+cIekKitGAfWoYz0Y9IpP5fOgKJMMmsKYGP4gtsV8PvRLavdQuqZWMvAZW2CHL//i
+qIrXi+GIDBPR5NZcChhHHjRsLyys1Of3019QT+KqVYt2gecwgFmvTIQpPlCP2iHh
+EShT/VxwMf8LgFKv8Tj+By8YC7l/wO065Xd0Y42jGDi423yYzxTd5a730NNn8uQ5
+SX1htwEkzjhH3R7dYMHzi7s5dpeUd+Kfs8EConftnMil2LNKMGbuw8/Tk1i1cWXC
+4mBBs/GN4Jph1YV8vkz6b5ecDxGozkAVDJLHTq4nNHSHyoyQjCahcyC79XX2Qq9/
+ONzGDd6DAgMBAAECggEANLj5VK+JIcgXmsFETN72WeWTNZf3WgRTqwzLXpAJOg9Y
+MKtccDN+9A0LXrR6dzTjgkGjvfj+CyKpReeITja97PeKagr+GRHhtts7UxHc0uma
+4JrosnObLadBD8S4K/zJPHY5oi2MwfX10Y3EVwuByVeRlHtt9/A5jXuKfiAyXuCw
+42AT6GUFxntwcKhJSQEcy2B9FwvnF5BDDQKyRVD1McrIj/g7+fiyOpqBXGxk+VYX
+6GjYb0kWR+lVexPBP4fgSs6Yx9EroDqzXAolH94NQfb93sOJuawtNVhkEgjE9hec
+NumdpHMXhXGP0WI/jhicz4gaBDGyEwuSqUxMnfqNyQKBgQDyFx715F3iz2yfnsUQ
+xU7KheUjN0g/vhrcir31L9NuhRpWoBJyRUDeXekuCaDF2ElUXJAdUTMGWDwXxlLx
+aa5b8LPBL4pGvNRakfT1TJrViUm3A9wC4EO8l0IIpoYAEt8nstaw4pMEWLOSSKH/
+O2wG+v1h1/Xfd+ruTbmcBn6yLwKBgQDcCuSQoheMZrb6Hq+i+99LF3ZHVqJKUUCI
+XRnH3fhwhnMrsR9EshOVRtex0aAdl1GUWCAoVt4ZNom5m7b2qRji0gx8npwA0jxD
+CSDUw68Jy3MzQxDMPWNRI38P2r46CslNqCkEGlebbgHEJ0qzp2tIfN25pO6EXfjx
+wk9afY5n7QKBgQCG0Wtzgn7qfZs/dTrHsSnEzTYjG3lHzkXFRhqtfbngVY2qajB7
+pKeQbnoaIlB/fYiwy2+SdBLXWLH2h4LPYIwyNWTVk/UMmcIkwh3JsaSUgIUlv6d5
+jo0KbK3ghWQgjGHsCMNY9ITtKbyvHXXh3qS1andLUuphTbXuiihwhIlwDwKBgD9P
+QwP6HxxeUTcVrSMPpOdOENHlszv+tLqHTuuaieiWRnzDsWNqeQfyIg0faxoYd3hf
+AqGYnL5UWrv0eWfuryJTnRQd7nSuCHihH7kXtDz1NGgDW8nnv7OQqvY80Y6Rm+mk
+AGkVyy8FL6zoQS3/dXadto27ToT3JLEqXvqCNX7hAoGAPfNcJtXJXrXh9P3JZqkM
+pa8nRqUW0MeRt3v8rLqi4D7J6kW1Rkz5AhjiKkp1EwtE0IbGRI1EPhxT5DCMKlIy
+UX7VfP8nf+wb6dLHQ0s4oB20y5J6T7FAkD+50dE6Q/6fAl/2MkE+/R0npKRVhOlc
+eXIeBGzSc7p92K1p/vRMOZg=
+-----END PRIVATE KEY-----
diff --git a/common-be-tests-utils/src/main/resources/certificateManager/signerTest/fileToSign.txt b/common-be-tests-utils/src/main/resources/certificateManager/signerTest/fileToSign.txt
new file mode 100644 (file)
index 0000000..cf34721
--- /dev/null
@@ -0,0 +1 @@
+This is a file to be signed.
diff --git a/common-be-tests-utils/src/main/resources/csarSizeReducer/dummyToNotReduce.csar b/common-be-tests-utils/src/main/resources/csarSizeReducer/dummyToNotReduce.csar
new file mode 100644 (file)
index 0000000..d440413
Binary files /dev/null and b/common-be-tests-utils/src/main/resources/csarSizeReducer/dummyToNotReduce.csar differ
diff --git a/common-be-tests-utils/src/main/resources/csarSizeReducer/dummyToReduce-2-files.zip b/common-be-tests-utils/src/main/resources/csarSizeReducer/dummyToReduce-2-files.zip
new file mode 100644 (file)
index 0000000..be48e8a
Binary files /dev/null and b/common-be-tests-utils/src/main/resources/csarSizeReducer/dummyToReduce-2-files.zip differ
diff --git a/common-be-tests-utils/src/main/resources/csarSizeReducer/dummyToReduce-3-files.zip b/common-be-tests-utils/src/main/resources/csarSizeReducer/dummyToReduce-3-files.zip
new file mode 100644 (file)
index 0000000..fecb45a
Binary files /dev/null and b/common-be-tests-utils/src/main/resources/csarSizeReducer/dummyToReduce-3-files.zip differ
diff --git a/common-be-tests-utils/src/main/resources/csarSizeReducer/dummyToReduce.csar b/common-be-tests-utils/src/main/resources/csarSizeReducer/dummyToReduce.csar
new file mode 100644 (file)
index 0000000..73b28f5
Binary files /dev/null and b/common-be-tests-utils/src/main/resources/csarSizeReducer/dummyToReduce.csar differ
diff --git a/common-be-tests-utils/src/main/resources/mockito-extensions/org.mockito.plugins.MockMaker b/common-be-tests-utils/src/main/resources/mockito-extensions/org.mockito.plugins.MockMaker
new file mode 100644 (file)
index 0000000..ca6ee9c
--- /dev/null
@@ -0,0 +1 @@
+mock-maker-inline
\ No newline at end of file
diff --git a/common-be-tests-utils/src/main/resources/persistentVolumeArtifactStorageManager/dummy.csar b/common-be-tests-utils/src/main/resources/persistentVolumeArtifactStorageManager/dummy.csar
new file mode 100644 (file)
index 0000000..73b28f5
Binary files /dev/null and b/common-be-tests-utils/src/main/resources/persistentVolumeArtifactStorageManager/dummy.csar differ
diff --git a/common-be-tests-utils/src/main/resources/s3StoreArtifactStorageManager/dummy.csar b/common-be-tests-utils/src/main/resources/s3StoreArtifactStorageManager/dummy.csar
new file mode 100644 (file)
index 0000000..73b28f5
Binary files /dev/null and b/common-be-tests-utils/src/main/resources/s3StoreArtifactStorageManager/dummy.csar differ
index 1fc89df..d498df4 100644 (file)
             <artifactId>openecomp-common-lib</artifactId>
             <version>${project.version}</version>
         </dependency>
+        <dependency>
+            <groupId>org.openecomp.sdc.be</groupId>
+            <artifactId>common-be-tests-utils</artifactId>
+            <version>${project.version}</version>
+            <scope>test</scope>
+        </dependency>
     </dependencies>
 
     <build>
                         <phase>package</phase>
                         <goals>
                             <goal>jar</goal>
-                            <goal>test-jar</goal>
                         </goals>
                     </execution>
                 </executions>
index 94778bb..5085612 100644 (file)
     </dependency>
     <dependency>
       <groupId>org.openecomp.sdc.be</groupId>
-      <artifactId>common-be</artifactId>
+      <artifactId>common-be-tests-utils</artifactId>
       <version>${project.version}</version>
-      <type>test-jar</type>
       <scope>test</scope>
       <exclusions>
         <exclusion>
index b48ff29..79280ac 100644 (file)
@@ -16,9 +16,8 @@
     </dependency>
     <dependency>
       <groupId>org.openecomp.sdc.be</groupId>
-      <artifactId>common-be</artifactId>
+      <artifactId>common-be-tests-utils</artifactId>
       <version>${project.version}</version>
-      <type>test-jar</type>
       <scope>test</scope>
       <exclusions>
         <exclusion>
diff --git a/pom.xml b/pom.xml
index c903d06..7bd8d3b 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -608,6 +608,7 @@ Modifications copyright (c) 2018-2019 Nokia
                 <module>common-app-logging</module>
                 <module>common-app-api</module>
                 <module>common-be</module>
+                <module>common-be-tests-utils</module>
                 <module>catalog-dao</module>
                 <module>catalog-model</module>
                 <module>catalog-be</module>
@@ -631,6 +632,7 @@ Modifications copyright (c) 2018-2019 Nokia
                 <module>common-app-logging</module>
                 <module>common-app-api</module>
                 <module>common-be</module>
+                <module>common-be-tests-utils</module>
                 <module>catalog-dao</module>
                 <module>catalog-model</module>
                 <module>catalog-be</module>
@@ -659,6 +661,7 @@ Modifications copyright (c) 2018-2019 Nokia
                 <module>common-app-logging</module>
                 <module>common-app-api</module>
                 <module>common-be</module>
+                <module>common-be-tests-utils</module>
                 <module>catalog-dao</module>
                 <module>catalog-model</module>
                 <module>catalog-be</module>
@@ -686,6 +689,7 @@ Modifications copyright (c) 2018-2019 Nokia
                 <module>common-app-logging</module>
                 <module>common-app-api</module>
                 <module>common-be</module>
+                <module>common-be-tests-utils</module>
                 <module>catalog-dao</module>
                 <module>catalog-model</module>
                 <module>catalog-be</module>
@@ -715,6 +719,7 @@ Modifications copyright (c) 2018-2019 Nokia
                 <module>common-app-logging</module>
                 <module>common-app-api</module>
                 <module>common-be</module>
+                <module>common-be-tests-utils</module>
                 <module>catalog-dao</module>
                 <module>catalog-model</module>
                 <module>catalog-be</module>