summaryrefslogtreecommitdiffstats
path: root/openecomp-be/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 /openecomp-be/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 'openecomp-be/pom.xml')
-rw-r--r--openecomp-be/pom.xml86
1 files changed, 66 insertions, 20 deletions
diff --git a/openecomp-be/pom.xml b/openecomp-be/pom.xml
index 03613c4438..786ef92d38 100644
--- a/openecomp-be/pom.xml
+++ b/openecomp-be/pom.xml
@@ -36,13 +36,6 @@
<version>${togglz.version}</version>
<scope>test</scope>
</dependency>
- <dependency>
- <groupId>org.openecomp.sdc</groupId>
- <artifactId>build-helper</artifactId>
- <version>${project.version}</version>
- <scope>runtime</scope>
- </dependency>
-
</dependencies>
<build>
@@ -59,9 +52,62 @@
<configuration>
<source>${java.source}</source>
<target>${java.target}</target>
+ <excludes>
+ <exclude>**/package-info.java</exclude>
+ </excludes>
+ </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>
- <plugin>
+ <plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>license-maven-plugin</artifactId>
<version>${mvn.license.version}</version>
@@ -202,20 +248,20 @@
</dependencies>
</dependencyManagement>
- <modules>
- <module>/api</module>
- <module>/lib</module>
- <module>/tools/swagger-ui</module>
- <module>/tools/zusammen-tools</module>
- <module>/backend</module>
- </modules>
+ <modules>
+ <module>/api</module>
+ <module>/lib</module>
+ <module>/tools/swagger-ui</module>
+ <module>/tools/zusammen-tools</module>
+ <module>/backend</module>
+ </modules>
<profiles>
<!--<profile>-->
- <!--<id>docker-staging</id>-->
- <!--<properties>-->
- <!--<docker.tag>${project.version}-STAGING-${maven.build.timestamp}</docker.tag>-->
- <!--<docker.latest.tag>${project.version}-STAGING-latest</docker.latest.tag>-->
- <!--</properties>-->
+ <!--<id>docker-staging</id>-->
+ <!--<properties>-->
+ <!--<docker.tag>${project.version}-STAGING-${maven.build.timestamp}</docker.tag>-->
+ <!--<docker.latest.tag>${project.version}-STAGING-latest</docker.latest.tag>-->
+ <!--</properties>-->
<!--</profile>-->
<profile>