diff options
Diffstat (limited to 'openecomp-be/pom.xml')
-rw-r--r-- | openecomp-be/pom.xml | 86 |
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> |