blob: dfb1b37529727e3a1ecc745cbe4d748680895302 [file] [log] [blame]
Pavel Aharoni6b61b882017-06-08 12:26:00 +03001<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3
4 <modelVersion>4.0.0</modelVersion>
5
6 <groupId>org.openecomp.sdc.sdc-tosca</groupId>
7 <artifactId>sdc-tosca</artifactId>
8 <name>SDC Tosca Parser</name>
9 <description>SDC Tosca Parser JAR file for use by consumers</description>
Pavel Aharoni2225b302017-09-05 18:57:07 +030010 <version>1.1.51-SNAPSHOT</version>
Pavel Aharoni6b61b882017-06-08 12:26:00 +030011 <packaging>jar</packaging>
12
13 <properties>
14
15 <!-- ==================== -->
16 <!-- Generic properties -->
17 <!-- ==================== -->
18 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
19
20 <!-- ==================== -->
21 <!-- Versions -->
22 <!-- ==================== -->
23 <!-- Global project version -->
24
25 <!-- Dependencies projects version -->
26 <sonar.skipDesign>true</sonar.skipDesign>
27 <sonar.projectBaseDir>${project.basedir}</sonar.projectBaseDir>
28 <sonar.jacoco.reportPath>${project.basedir}/target/jacoco.exec</sonar.jacoco.reportPath>
29 <nexus.proxy>https://nexus.onap.org</nexus.proxy>
30 <sitePath>/content/sites/site/org/openecomp/sdc/sdc-tosca/${project.version}</sitePath>
31 <snapshots.path>snapshots</snapshots.path>
32 <releases.path>releases</releases.path>
33 <!--<staging.profile.id>176c31dfe190a</staging.profile.id> -->
34
35 </properties>
36
37 <dependencies>
38
39 <dependency>
40 <groupId>org.slf4j</groupId>
41 <artifactId>slf4j-api</artifactId>
42 <version>1.7.10</version>
43 <scope>compile</scope>
44 </dependency>
45 <dependency>
46 <groupId>com.google.code.gson</groupId>
47 <artifactId>gson</artifactId>
48 <version>2.3.1</version>
49 <scope>compile</scope>
50 </dependency>
51
52 <dependency>
53 <groupId>org.functionaljava</groupId>
54 <artifactId>functionaljava</artifactId>
55 <version>4.2</version>
56 <scope>compile</scope>
57 </dependency>
58
59 <dependency>
60 <groupId>commons-io</groupId>
61 <artifactId>commons-io</artifactId>
62 <version>2.5</version>
63 <scope>compile</scope>
64 </dependency>
65
66 <dependency>
67 <groupId>commons-codec</groupId>
68 <artifactId>commons-codec</artifactId>
69 <version>1.9</version>
70 <scope>compile</scope>
71 </dependency>
72
73 <!-- YAML parser -->
74 <dependency>
75 <groupId>org.yaml</groupId>
76 <artifactId>snakeyaml</artifactId>
77 <version>1.14</version>
78 <scope>compile</scope>
79 </dependency>
80
81 <!-- Apache Commons -->
82 <dependency>
83 <groupId>org.apache.commons</groupId>
84 <artifactId>commons-lang3</artifactId>
85 <version>3.5</version>
86 <scope>compile</scope>
87 </dependency>
88
89 <dependency>
90 <groupId>com.google.guava</groupId>
91 <artifactId>guava</artifactId>
92 <version>21.0</version>
93 <scope>compile</scope>
94 </dependency>
95
96 <!-- jtosca Tosca Parser -->
97 <dependency>
98 <groupId>org.openecomp.sdc.jtosca</groupId>
99 <artifactId>jtosca</artifactId>
Pavel Aharonic0d03882017-08-21 21:37:17 +0300100 <version>1.1.10-SNAPSHOT</version>
Pavel Aharoni6b61b882017-06-08 12:26:00 +0300101 </dependency>
102
103
104 <!-- TEST -->
105 <dependency>
106 <groupId>org.eclipse.jetty</groupId>
107 <artifactId>jetty-servlet</artifactId>
108 <scope>test</scope>
109 <version>9.2.10.v20150310</version>
110 </dependency>
111
112 <dependency>
113 <groupId>org.eclipse.jetty</groupId>
114 <artifactId>jetty-webapp</artifactId>
115 <version>9.2.10.v20150310</version>
116 <scope>test</scope>
117 </dependency>
118
119 <!--<dependency> -->
120 <!--<groupId>junit</groupId> -->
121 <!--<artifactId>junit</artifactId> -->
122 <!--<version>4.12</version> -->
123 <!--<scope>test</scope> -->
124 <!--</dependency> -->
125
126 <dependency>
127 <groupId>org.testng</groupId>
128 <artifactId>testng</artifactId>
129 <version>6.11</version>
130 <scope>test</scope>
131 </dependency>
132
133 <dependency>
134 <groupId>org.mockito</groupId>
135 <artifactId>mockito-all</artifactId>
136 <version>1.10.19</version>
137 <scope>test</scope>
138 </dependency>
139
140 <!-- <dependency> <groupId>ch.qos.logback</groupId> <artifactId>logback-classic</artifactId>
141 <version>1.1.2</version> <scope>test</scope> </dependency> -->
142
143 </dependencies>
144
145 <reporting>
146 <plugins>
147 <plugin>
148 <groupId>org.apache.maven.plugins</groupId>
149 <artifactId>maven-javadoc-plugin</artifactId>
150 <version>2.10.4</version>
151 <configuration>
152 <failOnError>false</failOnError>
153 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
154 <docletArtifact>
155 <groupId>org.umlgraph</groupId>
156 <artifactId>umlgraph</artifactId>
157 <version>5.6</version>
158 </docletArtifact>
159 <additionalparam>-views</additionalparam>
160 <useStandardDocletOptions>true</useStandardDocletOptions>
161 </configuration>
162 </plugin>
163 </plugins>
164 </reporting>
165
166 <build>
167 <plugins>
168 <plugin>
169 <groupId>org.apache.maven.plugins</groupId>
170 <artifactId>maven-site-plugin</artifactId>
171 <version>3.4</version>
172 <dependencies>
173 <dependency>
174 <groupId>org.apache.maven.wagon</groupId>
175 <artifactId>wagon-webdav-jackrabbit</artifactId>
176 <version>2.10</version>
177 </dependency>
178 </dependencies>
179 </plugin>
180
181 <plugin>
182 <groupId>org.jacoco</groupId>
183 <artifactId>jacoco-maven-plugin</artifactId>
184 <version>0.7.8</version>
185 <executions>
186 <!-- Unit-Tests -->
187 <execution>
188 <id>prepare-agent</id>
189 <goals>
190 <goal>prepare-agent</goal>
191 </goals>
192 <configuration>
193 <destFile>${sonar.jacoco.reportPath}</destFile>
194 </configuration>
195 </execution>
196 </executions>
197 </plugin>
198
199 <!-- Staging Plugin -->
200 <plugin>
201 <groupId>org.sonatype.plugins</groupId>
202 <artifactId>nexus-staging-maven-plugin</artifactId>
203 <version>1.6.7</version>
204 <extensions>true</extensions>
205 <configuration>
206 <nexusUrl>${nexus.proxy}</nexusUrl>
207 <stagingProfileId>${staging.profile.id}</stagingProfileId>
208 <serverId>ecomp-staging</serverId>
209 </configuration>
210 </plugin>
211
212 <plugin>
213 <groupId>org.apache.maven.plugins</groupId>
214 <artifactId>maven-compiler-plugin</artifactId>
215 <version>2.5.1</version>
216 <inherited>true</inherited>
217 <configuration>
218 <source>1.8</source>
219 <target>1.8</target>
220 </configuration>
221 </plugin>
222 <plugin>
223 <groupId>org.apache.maven.plugins</groupId>
224 <artifactId>maven-javadoc-plugin</artifactId>
225 <version>2.10.3</version>
226 <configuration />
227 </plugin>
228 <plugin>
229 <groupId>org.codehaus.mojo</groupId>
230 <artifactId>license-maven-plugin</artifactId>
231 <version>1.10</version>
232 <configuration>
233 <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
234 <processStartTag>============LICENSE_START=======================================================</processStartTag>
235 <processEndTag>============LICENSE_END=========================================================</processEndTag>
236 <sectionDelimiter>================================================================================</sectionDelimiter>
237 <licenseName>apache_v2</licenseName>
238 <inceptionYear>2017</inceptionYear>
239 <organizationName>AT&amp;T Intellectual Property. All rights
240 reserved.</organizationName>
241 <projectName>sdc-tosca</projectName>
242 <canUpdateCopyright>true</canUpdateCopyright>
243 <canUpdateDescription>true</canUpdateDescription>
244 <canUpdateLicense>true</canUpdateLicense>
245 <emptyLineAfterHeader>true</emptyLineAfterHeader>
246 <verbose>false</verbose>
247 <includes>
248 <include>**/*.java</include>
249 </includes>
250 </configuration>
251 <executions>
252 <execution>
253 <id>first</id>
254 <goals>
255 <goal>update-file-header</goal>
256 </goals>
257 <!--phase>process-sources</phase -->
258 </execution>
259 </executions>
260 </plugin>
261 <!-- Test -->
262 <plugin>
263 <groupId>org.apache.maven.plugins</groupId>
264 <artifactId>maven-surefire-plugin</artifactId>
265 <version>2.19.1</version>
266 <configuration>
267 <includes>
268 <include>**/ToscaParser***Test.class</include>
269 </includes>
270 </configuration>
271 </plugin>
272 </plugins>
273 </build>
274
275 <repositories>
276 <repository>
277 <id>central</id>
278 <name>Official Maven repository</name>
279 <url>http://repo2.maven.org/maven2/</url>
280 </repository>
281 <repository>
282 <id>ecomp-releases</id>
283 <name>Release Repository</name>
284 <url>${nexus.proxy}/content/repositories/releases/</url>
285 </repository>
286 <repository>
287 <id>ecomp-staging</id>
288 <name>Staging Repository</name>
289 <url>${nexus.proxy}/content/repositories/staging/</url>
290 </repository>
291 </repositories>
292
293 <distributionManagement>
294 <repository>
295 <id>ecomp-releases</id>
296 <name>Release Repository</name>
297 <url>${nexus.proxy}/content/repositories/${releases.path}/</url>
298 </repository>
299 <snapshotRepository>
300 <id>ecomp-snapshots</id>
301 <name>Snapshot Repository</name>
302 <url>${nexus.proxy}/content/repositories/${snapshots.path}/</url>
303 </snapshotRepository>
304 <site>
305 <id>ecomp-site</id>
306 <url>dav:${nexus.proxy}${sitePath}</url>
307 </site>
308 </distributionManagement>
309</project>