diff options
Diffstat (limited to 'ui-ci/pom.xml')
-rw-r--r-- | ui-ci/pom.xml | 50 |
1 files changed, 47 insertions, 3 deletions
diff --git a/ui-ci/pom.xml b/ui-ci/pom.xml index e2508d152f..b0e13f14aa 100644 --- a/ui-ci/pom.xml +++ b/ui-ci/pom.xml @@ -1,5 +1,5 @@ <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"> + 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> @@ -232,7 +232,7 @@ <dependency> <groupId>net.lightbody.bmp</groupId> - <!-- To use the legacy, Jetty-based implementation, change the artifactId + <!-- To use the legacy, Jetty-based implementation, change the artifactId to browsermob-core --> <artifactId>browsermob-core</artifactId> <version>2.1.4</version> @@ -306,6 +306,49 @@ <!-- ============================================= --> <plugin> <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-dependency-plugin</artifactId> + <version>3.1.0</version> + <executions> + <execution> + <id>unpack-dependencies</id> + <phase>package</phase> + <goals> + <goal>unpack-dependencies</goal> + </goals> + <configuration> + <silent>true</silent> + <outputDirectory>${project.build.directory}/classes</outputDirectory> + <overWriteReleases>true</overWriteReleases> + <overWriteSnapshots>true</overWriteSnapshots> + <overWriteIfNewer>true</overWriteIfNewer> + </configuration> + </execution> + </executions> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-jar-plugin</artifactId> + <version>3.0.2</version> + <executions> + <execution> + <phase>package</phase> + <goals> + <goal>jar</goal> + </goals> + <configuration> + <archive> + <manifest> + <addClasspath>false</addClasspath> + <mainClass>org.openecomp.sdc.ci.tests.execute.setup.SetupCDTest</mainClass> + </manifest> + </archive> + <classifier>jar-with-dependencies</classifier> + </configuration> + </execution> + </executions> + </plugin> + <!--plugin> + <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-assembly-plugin</artifactId> <executions> <execution> @@ -326,7 +369,8 @@ </configuration> </execution> </executions> - </plugin> + </plugin--> + </plugins> </build> <profiles> |