summaryrefslogtreecommitdiffstats
path: root/common/pom.xml
diff options
context:
space:
mode:
authorGautam Shah <gautams@amdocs.com>2018-04-21 16:18:37 +0530
committerGAUTAMS <gautams@amdocs.com>2018-04-26 17:47:29 +0530
commit3de22e1c6c2711072ce996335e7250445a39d320 (patch)
treec7a528bee3166b3262eef9977b0f87923df0e99f /common/pom.xml
parentd71a8de8c7b688eabb250e524dc4f6000b3233b6 (diff)
Reducing onboarding backend maven build time
Reducing onboarding backend maven build time Change-Id: Id0178cbf010e46f741f4bff11e14b0801f14d4b8 Issue-ID: SDC-1189 Signed-off-by: GAUTAMS <gautams@amdocs.com>
Diffstat (limited to 'common/pom.xml')
-rw-r--r--common/pom.xml52
1 files changed, 51 insertions, 1 deletions
diff --git a/common/pom.xml b/common/pom.xml
index 092c8994a8..54d3a1b3c3 100644
--- a/common/pom.xml
+++ b/common/pom.xml
@@ -11,7 +11,7 @@
<groupId>org.openecomp.sdc</groupId>
<artifactId>sdc-onboarding</artifactId>
<version>1.2.0-SNAPSHOT</version>
- <relativePath>../onboarding</relativePath>
+ <relativePath>../onboarding</relativePath>
</parent>
<properties>
@@ -163,6 +163,56 @@
<target>${java.target}</target>
</configuration>
</plugin>
+ <plugin>
+ <groupId>org.openecomp.sdc.onboarding</groupId>
+ <artifactId>compile-helper-plugin</artifactId>
+ <version>${project.version}</version>
+ <executions>
+ <execution>
+ <goals>
+ <goal>pre-compile-helper</goal>
+ <goal>pre-test-compile-helper</goal>
+ <goal>post-compile-helper</goal>
+ <goal>post-test-run-helper</goal>
+ <goal>init-helper</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <excludePackaging>pom</excludePackaging>
+ <excludeDependencies>test,runtime</excludeDependencies>
+ <staleThreshold>10000</staleThreshold>
+ <mainSourceLocation>${basedir}/src/main/java</mainSourceLocation>
+ <testSourceLocation>${basedir}/src/test/java</testSourceLocation>
+ <mainResourceLocation>${basedir}/src/main/resources</mainResourceLocation>
+ <testResourceLocation>${basedir}/src/test/resources</testResourceLocation>
+ <mainCompiledLocation>${project.build.directory}/classes</mainCompiledLocation>
+ <testCompiledLocation>${project.build.directory}/test-classes</testCompiledLocation>
+ <compiledFilesList>
+ ${project.build.directory}/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst
+ </compiledFilesList>
+ <inputSourceFilesList>
+ ${project.build.directory}/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst
+ </inputSourceFilesList>
+ <inputTestFilesList>
+ ${project.build.directory}/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst
+ </inputTestFilesList>
+ <compiledTestFilesList>
+ ${project.build.directory}/maven-status/maven-compiler-plugin/testCompile/default-testCompile/createdFiles.lst
+ </compiledTestFilesList>
+ <buildState>
+ <moduleBuildDataFile>${project.build.directory}/build-data/ModuleDependencies.dat
+ </moduleBuildDataFile>
+ <resourceBuildDataFile>${project.build.directory}/build-data/ResourceDependencies.dat
+ </resourceBuildDataFile>
+ <project>${project}</project>
+ <buildStateFilePath>org.openecomp.sdc:sdc-onboarding/target/build-data/BuildState.dat
+ </buildStateFilePath>
+ <resourceStateFilePath>org.openecomp.sdc:sdc-onboarding/target/build-data/ResourceState.dat
+ </resourceStateFilePath>
+ </buildState>
+ </configuration>
+ </plugin>
<!-- blackduck maven plugin -->
<!--<plugin>