aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorshrikantawachar <shrikant.awachar@amdocs.com>2018-04-09 13:03:56 +0530
committerAvi Gaffa <avi.gaffa@amdocs.com>2018-04-09 13:48:17 +0000
commit0ebace5621e54b8102b0371f0500340adedf7f75 (patch)
tree00244f424f331394b1233b9830b16cde27d29a49
parent558d8d0d2d958ff3b18fb2f6e04cab14d8ff2da3 (diff)
Reducing onboarding backend maven build time
Reducing onboarding backend maven build time Change-Id: I4ed6192bd5f9e75912057eacd921a04a943da992 Issue-ID: SDC-1189 Signed-off-by: shrikantawachar <shrikant.awachar@amdocs.com>
-rw-r--r--onboarding/pom.xml1
-rw-r--r--pom.xml2
-rw-r--r--ui-ci/pom.xml50
3 files changed, 49 insertions, 4 deletions
diff --git a/onboarding/pom.xml b/onboarding/pom.xml
index afc452e3a1..08f2c92c34 100644
--- a/onboarding/pom.xml
+++ b/onboarding/pom.xml
@@ -189,6 +189,7 @@
<version>${mvn.surefire.version}</version>
<configuration>
<forkCount>0</forkCount>
+ <printSummary>false</printSummary>
<redirectTestOutputToFile>true</redirectTestOutputToFile>
<additionalClasspathElements>
<additionalClasspathElement>${project.build.directory}/../src/test/resources</additionalClasspathElement>
diff --git a/pom.xml b/pom.xml
index d1104a16fd..348ffcc4e9 100644
--- a/pom.xml
+++ b/pom.xml
@@ -383,6 +383,7 @@
</activation>
<modules>
<module>build-tools</module>
+ <module>onboarding</module>
<module>security-utils</module>
<module>common-app-api</module>
<module>common-be</module>
@@ -396,7 +397,6 @@
<module>ui-ci</module>
<module>sdc-os-chef</module>
<module>utils/webseal-simulator</module>
- <module>onboarding</module>
</modules>
</profile>
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>