Tosca Parser - getPropertyValue and tests
[sdc/sdc-tosca.git] / pom.xml
1 <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.onap.sdc.sdc-tosca</groupId>
7         <artifactId>sdc-tosca</artifactId>
8         <name>sdc-sdc-tosca</name>
9         <description>SDC Tosca Parser JAR file for use by consumers</description>
10         <version>1.4.5-SNAPSHOT</version>
11         <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/onap/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                 <!-- Sonar properties -->
35                 <sonar.sourceEncoding>${project.build.sourceEncoding}</sonar.sourceEncoding>
36                 <sonar.skipDesign>true</sonar.skipDesign>
37                 <sonar.projectBaseDir>${project.basedir}</sonar.projectBaseDir>
38                 <sonar.sources>.</sonar.sources>
39                 <sonar.exclusions>**/scripts/**/*</sonar.exclusions>
40                 <sonar.test.exclusions>**/test/**/*,**/tests/**/*</sonar.test.exclusions>
41                 <sonar.inclusions>app/**/*.js,server-mock/**/*.js,src/**/*.js,src/main/**/*.java</sonar.inclusions>
42                 <sonar.branch>${project.version}</sonar.branch>
43
44         </properties>
45
46         <dependencies>
47                 <dependency>
48                         <groupId>org.slf4j</groupId>
49                         <artifactId>slf4j-api</artifactId>
50                         <scope>compile</scope>
51                         <version>1.7.10</version>
52                 </dependency>
53                 <dependency>
54                         <groupId>org.slf4j</groupId>
55                         <artifactId>slf4j-log4j12</artifactId>
56                         <scope>test</scope>
57                         <version>1.7.10</version>
58                 </dependency>
59
60                 <dependency>
61                         <groupId>com.google.code.gson</groupId>
62                         <artifactId>gson</artifactId>
63                         <version>2.3.1</version>
64                         <scope>compile</scope>
65                 </dependency>
66
67                 <dependency>
68                         <groupId>org.functionaljava</groupId>
69                         <artifactId>functionaljava</artifactId>
70                         <version>4.2</version>
71                         <scope>compile</scope>
72                 </dependency>
73
74                 <dependency>
75                         <groupId>commons-io</groupId>
76                         <artifactId>commons-io</artifactId>
77                         <version>2.5</version>
78                         <scope>compile</scope>
79                 </dependency>
80
81                 <dependency>
82                         <groupId>commons-codec</groupId>
83                         <artifactId>commons-codec</artifactId>
84                         <version>1.9</version>
85                         <scope>compile</scope>
86                 </dependency>
87
88                 <!-- YAML parser -->
89                 <dependency>
90                         <groupId>org.yaml</groupId>
91                         <artifactId>snakeyaml</artifactId>
92                         <version>1.14</version>
93                         <scope>compile</scope>
94                 </dependency>
95
96                 <!-- Apache Commons -->
97                 <dependency>
98                         <groupId>org.apache.commons</groupId>
99                         <artifactId>commons-lang3</artifactId>
100                         <version>3.5</version>
101                         <scope>compile</scope>
102                 </dependency>
103                 
104                 <dependency>
105                         <groupId>com.google.guava</groupId>
106                         <artifactId>guava</artifactId>
107                         <version>21.0</version>
108                         <scope>compile</scope>
109                 </dependency>
110                 <!-- https://mvnrepository.com/artifact/com.fasterxml.jackson.core/jackson-databind -->
111                 <dependency>
112                     <groupId>com.fasterxml.jackson.core</groupId>
113                     <artifactId>jackson-databind</artifactId>
114                     <version>2.9.4</version>
115                 </dependency>
116
117                 <!-- jtosca Tosca Parser -->
118                 <dependency>
119                         <groupId>org.onap.sdc.jtosca</groupId>
120                         <artifactId>jtosca</artifactId>
121                         <version>1.4.5</version>
122                 </dependency>
123
124
125                 <!-- TEST -->
126                 <dependency>
127                         <groupId>org.eclipse.jetty</groupId>
128                         <artifactId>jetty-servlet</artifactId>
129                         <scope>test</scope>
130                         <version>9.2.10.v20150310</version>
131                 </dependency>
132
133                 <dependency>
134                         <groupId>org.eclipse.jetty</groupId>
135                         <artifactId>jetty-webapp</artifactId>
136                         <version>9.2.10.v20150310</version>
137                         <scope>test</scope>
138                 </dependency>
139
140
141                 <dependency>
142                         <groupId>org.testng</groupId>
143                         <artifactId>testng</artifactId>
144                         <version>6.11</version>
145                         <scope>test</scope>
146                 </dependency>
147
148                 <dependency>
149                         <groupId>org.mockito</groupId>
150                         <artifactId>mockito-all</artifactId>
151                         <version>1.10.19</version>
152                         <scope>test</scope>
153                 </dependency>
154         <dependency>
155             <groupId>junit</groupId>
156             <artifactId>junit</artifactId>
157             <version>4.11</version>
158             <scope>test</scope>
159         </dependency>
160
161     </dependencies>
162         
163         <reporting>
164                 <plugins>
165                         <plugin>
166                                 <groupId>org.apache.maven.plugins</groupId>
167                                 <artifactId>maven-javadoc-plugin</artifactId>
168                                 <version>2.10.4</version>
169                                 <configuration>
170                                         <failOnError>false</failOnError>
171                                         <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
172                                         <docletArtifact>
173                                                 <groupId>org.umlgraph</groupId>
174                                                 <artifactId>umlgraph</artifactId>
175                                                 <version>5.6</version>
176                                         </docletArtifact>
177                                         <additionalparam>-views</additionalparam>
178                                         <useStandardDocletOptions>true</useStandardDocletOptions>
179                                 </configuration>
180                         </plugin>
181                 </plugins>
182         </reporting>
183
184         <build>
185                 <plugins>
186                         <plugin>
187                                 <groupId>org.apache.maven.plugins</groupId>
188                                 <artifactId>maven-site-plugin</artifactId>
189                                 <version>3.4</version>
190                                 <dependencies>
191                                         <dependency>
192                                                 <groupId>org.apache.maven.wagon</groupId>
193                                                 <artifactId>wagon-webdav-jackrabbit</artifactId>
194                                                 <version>2.10</version>
195                                         </dependency>
196                                 </dependencies>
197                         </plugin>
198
199                         <plugin>
200                                 <groupId>org.jacoco</groupId>
201                                 <artifactId>jacoco-maven-plugin</artifactId>
202                                 <version>0.7.8</version>
203                                 <executions>
204                                         <!-- Unit-Tests -->
205                                         <execution>
206                                                 <id>prepare-agent</id>
207                                                 <goals>
208                                                         <goal>prepare-agent</goal>
209                                                 </goals>
210                                                 <configuration>
211                                                         <destFile>${sonar.jacoco.reportPath}</destFile>
212                                                 </configuration>
213                                         </execution>
214                                 </executions>
215                         </plugin>
216
217                         <!-- Staging Plugin -->
218                         <plugin>
219                                 <groupId>org.sonatype.plugins</groupId>
220                                 <artifactId>nexus-staging-maven-plugin</artifactId>
221                                 <version>1.6.7</version>
222                                 <extensions>true</extensions>
223                                 <configuration>
224                                         <nexusUrl>${nexus.proxy}</nexusUrl>
225                                         <stagingProfileId>${staging.profile.id}</stagingProfileId>
226                                         <serverId>onap-staging</serverId>
227                                 </configuration>
228                         </plugin>
229
230                         <plugin>
231                                 <groupId>org.apache.maven.plugins</groupId>
232                                 <artifactId>maven-compiler-plugin</artifactId>
233                                 <version>2.5.1</version>
234                                 <inherited>true</inherited>
235                                 <configuration>
236                                         <source>1.8</source>
237                                         <target>1.8</target>
238                                 </configuration>
239                         </plugin>
240                         <plugin>
241                                 <groupId>org.apache.maven.plugins</groupId>
242                                 <artifactId>maven-javadoc-plugin</artifactId>
243                                 <version>2.10.3</version>
244                                 <configuration />
245                         </plugin>
246                         <!-- Test -->
247                         <plugin>
248                                 <groupId>org.apache.maven.plugins</groupId>
249                                 <artifactId>maven-surefire-plugin</artifactId>
250                                 <version>2.19.1</version>
251                                 <configuration>
252                                         <includes>
253                                                 <include>**/ToscaParser***Test.class</include>
254                                         </includes>
255                                 </configuration>
256                         </plugin>
257
258                         <plugin>
259                                 <groupId>org.sonarsource.scanner.maven</groupId>
260                                 <artifactId>sonar-maven-plugin</artifactId>
261                                 <version>3.0.2</version>
262                         </plugin>
263                 </plugins>
264         </build>
265
266         <repositories>
267                 <repository>
268                         <id>central</id>
269                         <name>Official Maven repository</name>
270                         <url>http://repo2.maven.org/maven2/</url>
271                 </repository>
272                 <repository>
273                         <id>onap-releases</id>
274                         <name>Release Repository</name>
275                         <url>${nexus.proxy}/content/repositories/releases/</url>
276                 </repository>
277                 <repository>
278                         <id>onap-snapshots</id>
279                         <name>Snapshots Repository</name>
280                         <url>${nexus.proxy}/content/repositories/snapshots/</url>
281                 </repository>
282         </repositories>
283
284         <distributionManagement>
285                 <repository>
286                         <id>onap-releases</id>
287                         <name>Release Repository</name>
288                         <url>${nexus.proxy}/content/repositories/${releases.path}/</url>
289                 </repository>
290                 <snapshotRepository>
291                         <id>onap-snapshots</id>
292                         <name>Snapshot Repository</name>
293                         <url>${nexus.proxy}/content/repositories/${snapshots.path}/</url>
294                 </snapshotRepository>
295                 <site>
296                         <id>onap-site</id>
297                         <url>dav:${nexus.proxy}${sitePath}</url>
298                 </site>
299         </distributionManagement>
300 </project>