blob: 6cfc23a7a86c9ccae7515d2148693f3310c2a0e4 [file] [log] [blame]
Michael Landof5f13c42017-02-19 12:35:04 +02001<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
2 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3 <modelVersion>4.0.0</modelVersion>
4
AviZi280f8012017-06-09 02:39:56 +03005 <name>openecomp-sdc</name>
Michael Landof5f13c42017-02-19 12:35:04 +02006 <artifactId>openecomp-sdc</artifactId>
Michael Landof5f13c42017-02-19 12:35:04 +02007 <packaging>pom</packaging>
AviZi280f8012017-06-09 02:39:56 +03008
Michael Landof5f13c42017-02-19 12:35:04 +02009 <url>http://maven.apache.org</url>
10
AviZi280f8012017-06-09 02:39:56 +030011 <parent>
12 <groupId>org.openecomp.sdc</groupId>
13 <artifactId>sdc-onboarding</artifactId>
Michael Landod8a0dea2018-06-02 19:23:27 +030014 <version>1.3.0-SNAPSHOT</version>
vempodecd2df2018-07-23 19:07:37 +030015 <relativePath>../onboarding/pom.xml</relativePath>
AviZi280f8012017-06-09 02:39:56 +030016 </parent>
Michael Landof5f13c42017-02-19 12:35:04 +020017
AviZi280f8012017-06-09 02:39:56 +030018 <dependencies>
19 <dependency>
talioce889ad2017-11-12 16:12:35 +020020 <groupId>org.togglz</groupId>
21 <artifactId>togglz-core</artifactId>
22 <version>${togglz.version}</version>
23 </dependency>
talioce889ad2017-11-12 16:12:35 +020024 <dependency>
25 <groupId>org.togglz</groupId>
talioce889ad2017-11-12 16:12:35 +020026 <artifactId>togglz-testing</artifactId>
27 <version>${togglz.version}</version>
28 <scope>test</scope>
29 </dependency>
AviZi280f8012017-06-09 02:39:56 +030030 </dependencies>
Michael Landof5f13c42017-02-19 12:35:04 +020031
32 <build>
33 <plugins>
34
35 <!-- ================================================== -->
36 <!-- Set the JDK compiler version. -->
37 <!-- ================================================== -->
38 <plugin>
39 <groupId>org.apache.maven.plugins</groupId>
40 <artifactId>maven-compiler-plugin</artifactId>
AviZi280f8012017-06-09 02:39:56 +030041 <version>${mvn.compiler.version}</version>
Michael Landof5f13c42017-02-19 12:35:04 +020042 <inherited>true</inherited>
Gautam Shahb145c082018-05-27 13:32:07 +053043 <executions>
44 <execution>
45 <id>default-compile</id>
46 <configuration>
47 <skipMain>${skipMainSourceCompile}</skipMain>
48 </configuration>
49 </execution>
50 <execution>
51 <id>default-testCompile</id>
52 <configuration>
53 <skip>${skipTestSourceCompile}</skip>
54 </configuration>
55 </execution>
56 </executions>
Michael Landof5f13c42017-02-19 12:35:04 +020057 <configuration>
58 <source>${java.source}</source>
59 <target>${java.target}</target>
Gautam Shahb145c082018-05-27 13:32:07 +053060 </configuration>
61 </plugin>
62 <plugin>
63 <groupId>org.openecomp.sdc.onboarding</groupId>
64 <artifactId>artifact-copy-plugin</artifactId>
65 <version>${project.version}</version>
66 <executions>
67 <execution>
68 <goals>
69 <goal>init-artifact-helper</goal>
Gautam Shah03205da2018-06-01 08:38:32 +053070 <!--<goal>copy-helper</goal>-->
Gautam Shahb145c082018-05-27 13:32:07 +053071 <goal>calibrate-artifact-helper</goal>
72 </goals>
73 </execution>
74 </executions>
75 <configuration>
76 <groupId>org.openecomp.sdc</groupId>
77 <artifactId>build-data-installer</artifactId>
78 <version>${project.version}</version>
Gautam Shahb145c082018-05-27 13:32:07 +053079 <artifactHelper>
80 <project>${project}</project>
Gautam Shah03205da2018-06-01 08:38:32 +053081 <session>${session}</session>
82 <unicornRoot>org.openecomp.sdc:sdc-onboarding/target/build-data</unicornRoot>
Gautam Shahb145c082018-05-27 13:32:07 +053083 </artifactHelper>
84 </configuration>
85 </plugin>
86 <plugin>
Gautam Shah3de22e12018-04-21 16:18:37 +053087 <groupId>org.openecomp.sdc.onboarding</groupId>
88 <artifactId>compile-helper-plugin</artifactId>
89 <version>${project.version}</version>
90 <executions>
91 <execution>
92 <goals>
Gautam Shah3de22e12018-04-21 16:18:37 +053093 <goal>init-helper</goal>
Gautam Shahb145c082018-05-27 13:32:07 +053094 <goal>pre-compile-helper</goal>
95 <goal>post-compile-helper</goal>
96 <goal>pre-test-compile-helper</goal>
97 <goal>post-test-run-helper</goal>
Gautam Shah3de22e12018-04-21 16:18:37 +053098 </goals>
99 </execution>
100 </executions>
101 <configuration>
102 <excludePackaging>pom</excludePackaging>
103 <excludeDependencies>test,runtime</excludeDependencies>
Gautam Shahb145c082018-05-27 13:32:07 +0530104 <generatedSourceLocation>${project.build.directory}/generated-sources</generatedSourceLocation>
Gautam Shah3de22e12018-04-21 16:18:37 +0530105 <buildState>
Gautam Shah3de22e12018-04-21 16:18:37 +0530106 <project>${project}</project>
vempodecd2df2018-07-23 19:07:37 +0300107 <compileStateFilePath>org.openecomp.sdc:sdc-onboarding/target/build-data/compileState.dat
108 </compileStateFilePath>
Gautam Shah3de22e12018-04-21 16:18:37 +0530109 </buildState>
110 </configuration>
111 </plugin>
112 <plugin>
Gautam Shahb145c082018-05-27 13:32:07 +0530113 <groupId>org.apache.maven.plugins</groupId>
Gautam Shahb145c082018-05-27 13:32:07 +0530114 <artifactId>maven-jar-plugin</artifactId>
115 <version>${mvn.jar.version}</version>
116 <configuration>
117 <archive>
118 <addMavenDescriptor>${mvnDsc}</addMavenDescriptor>
119 </archive>
120 <excludes>
121 <exclude>${emptyJAR}</exclude>
122 </excludes>
123 </configuration>
124 </plugin>
125 <plugin>
AviZi280f8012017-06-09 02:39:56 +0300126 <groupId>org.codehaus.mojo</groupId>
127 <artifactId>license-maven-plugin</artifactId>
128 <version>${mvn.license.version}</version>
129 <configuration>
130 <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
vempodecd2df2018-07-23 19:07:37 +0300131 <processStartTag>============LICENSE_START=======================================================
132 </processStartTag>
133 <processEndTag>============LICENSE_END=========================================================
134 </processEndTag>
135 <sectionDelimiter>================================================================================
136 </sectionDelimiter>
AviZi280f8012017-06-09 02:39:56 +0300137 <licenseName>apache_v2</licenseName>
138 <inceptionYear>2017</inceptionYear>
139 <organizationName>AT&amp;T Intellectual Property. All rights reserved.</organizationName>
140 <projectName>SDC</projectName>
141 <canUpdateCopyright>true</canUpdateCopyright>
142 <canUpdateDescription>true</canUpdateDescription>
143 <canUpdateLicense>true</canUpdateLicense>
144 <emptyLineAfterHeader>true</emptyLineAfterHeader>
145 <verbose>false</verbose>
146 <includes>
147 <include>**/*.java</include>
148 <include>**/*.js</include>
149 <include>**/*.ts</include>
150 </includes>
151 <roots>
152 <root>src</root>
153 <root>app</root>
154 <root>server-mock</root>
155 <root>typings</root>
156 </roots>
157 </configuration>
158 <executions>
159 <execution>
160 <id>first</id>
161 <goals>
162 <goal>update-file-header</goal>
163 </goals>
AviZi280f8012017-06-09 02:39:56 +0300164 </execution>
165 </executions>
166 </plugin>
Avi Gaffa7d6d63c2017-09-10 15:22:07 +0300167 <plugin>
168 <groupId>org.jacoco</groupId>
169 <artifactId>jacoco-maven-plugin</artifactId>
Avi Gaffa7d6d63c2017-09-10 15:22:07 +0300170 <executions>
171 <execution>
vempo806d0772018-08-08 15:40:46 +0300172 <id>default-prepare-agent</id>
Avi Gaffa7d6d63c2017-09-10 15:22:07 +0300173 <goals>
174 <goal>prepare-agent</goal>
175 </goals>
176 </execution>
177 <execution>
178 <id>report</id>
179 <phase>prepare-package</phase>
180 <goals>
181 <goal>report</goal>
182 </goals>
183 </execution>
shrikantawachared640f62017-10-05 19:18:38 +0530184 <execution>
185 <id>post-unit-test</id>
186 <phase>test</phase>
187 <goals>
188 <goal>report</goal>
189 </goals>
190 <configuration>
191 <!-- Sets the path to the file which contains the execution data. -->
shrikantawachared640f62017-10-05 19:18:38 +0530192 <dataFile>target/jacoco.exec</dataFile>
193 <!-- Sets the output directory for the code coverage report. -->
194 <outputDirectory>target/jacoco-ut</outputDirectory>
195 </configuration>
196 </execution>
Avi Gaffa7d6d63c2017-09-10 15:22:07 +0300197 </executions>
198 </plugin>
AviZi280f8012017-06-09 02:39:56 +0300199
Michael Landof5f13c42017-02-19 12:35:04 +0200200 </plugins>
201 </build>
202
Gautam Shah3de22e12018-04-21 16:18:37 +0530203 <modules>
204 <module>/api</module>
205 <module>/lib</module>
206 <module>/tools/swagger-ui</module>
207 <module>/tools/zusammen-tools</module>
208 <module>/backend</module>
209 </modules>
Avi Zivc175a0d2018-03-15 13:21:44 +0200210 <profiles>
Avi Zivc175a0d2018-03-15 13:21:44 +0200211
212 <profile>
213 <id>docker</id>
214 <activation>
215 <activeByDefault>false</activeByDefault>
216 </activation>
217
218 <modules>
219 <module>/dist</module>
220 </modules>
221 </profile>
222 </profiles>
Michael Landof5f13c42017-02-19 12:35:04 +0200223</project>
224