Upgrade SnakeYAML version for JTosca
[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         <modelVersion>4.0.0</modelVersion>
4
5         <groupId>org.onap.sdc.jtosca</groupId>
6         <artifactId>jtosca</artifactId>
7         <version>1.3.2-SNAPSHOT</version>
8         <name>sdc-jtosca</name>
9         <properties>
10
11                 <!-- ==================== -->
12                 <!-- Generic properties -->
13                 <!-- ==================== -->
14                 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
15
16                 <!-- ==================== -->
17                 <!-- Versions -->
18                 <!-- ==================== -->
19                 <!-- Global project version -->
20
21                 <!-- Dependencies projects version -->
22                 <!--<sonar.skipDesign>true</sonar.skipDesign>-->
23                 <!--<sonar.projectBaseDir>${project.basedir}</sonar.projectBaseDir>-->
24                 <sonar.jacoco.reportPath>${project.basedir}/target/jacoco.exec</sonar.jacoco.reportPath>
25                 <nexus.proxy>https://nexus.onap.org</nexus.proxy>
26                 <sitePath>/content/sites/site/org/onap/sdc/jtosca/${project.version}</sitePath>
27                 <snapshots.path>snapshots</snapshots.path>
28                 <releases.path>releases</releases.path>
29                 <staging.profile.id>176c31dfe190a</staging.profile.id>
30                 <!-- Sonar properties -->
31                 <sonar.sourceEncoding>${project.build.sourceEncoding}</sonar.sourceEncoding>
32                 <sonar.skipDesign>true</sonar.skipDesign>
33                 <sonar.projectBaseDir>${project.basedir}</sonar.projectBaseDir>
34                 <sonar.sources>.</sonar.sources>
35                 <sonar.exclusions>**/scripts/**/*</sonar.exclusions>
36                 <sonar.test.exclusions>**/test/**/*,**/tests/**/*</sonar.test.exclusions>
37                 <sonar.inclusions>app/**/*.js,server-mock/**/*.js,src/**/*.js,src/main/**/*.java</sonar.inclusions>
38                 <sonar.branch>${project.version}</sonar.branch>
39
40         </properties>
41
42         <dependencies>
43                 <!-- YAML parser -->
44                 <dependency>
45                         <groupId>org.yaml</groupId>
46                         <artifactId>snakeyaml</artifactId>
47                         <version>1.20</version>
48                         <scope>compile</scope>
49                 </dependency>
50
51                 <dependency>
52                         <groupId>org.slf4j</groupId>
53                         <artifactId>slf4j-api</artifactId>
54                         <version>1.7.25</version>
55                 </dependency>
56
57                 <!-- <dependency> <groupId>ch.qos.logback</groupId> <artifactId>logback-classic</artifactId> 
58                         <version>1.1.2</version> <scope>test</scope> </dependency> -->
59
60                 <dependency>
61                         <groupId>junit</groupId>
62                         <artifactId>junit</artifactId>
63                         <version>4.12</version>
64                         <scope>test</scope>
65                 </dependency>
66                 
67                 <dependency>
68                   <groupId>com.opencsv</groupId>
69                   <artifactId>opencsv</artifactId>
70                   <version>3.10</version>
71                   <scope>test</scope>
72                 </dependency>
73                 
74                 <!-- https://mvnrepository.com/artifact/org.apache.commons/commons-io -->
75 <dependency>
76     <groupId>org.apache.commons</groupId>
77     <artifactId>commons-io</artifactId>
78     <version>1.3.2</version>
79 </dependency>
80
81                 <dependency>
82                         <groupId>org.reflections</groupId>
83                         <artifactId>reflections</artifactId>
84                         <version>0.9.11</version>
85                 </dependency>
86                 
87         </dependencies>
88
89         <reporting>
90                 <plugins>
91                         <plugin>
92                                 <groupId>org.apache.maven.plugins</groupId>
93                                 <artifactId>maven-javadoc-plugin</artifactId>
94                                 <version>2.10.4</version>
95                                 <configuration>
96                                         <failOnError>false</failOnError>
97                                         <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
98                                         <docletArtifact>
99                                                 <groupId>org.umlgraph</groupId>
100                                                 <artifactId>umlgraph</artifactId>
101                                                 <version>5.6</version>
102                                         </docletArtifact>
103                                         <additionalparam>-views</additionalparam>
104                                         <useStandardDocletOptions>true</useStandardDocletOptions>
105                                 </configuration>
106                         </plugin>
107                 </plugins>
108         </reporting>
109
110         <build>
111                 <plugins>
112                         <plugin>
113                                 <groupId>org.apache.maven.plugins</groupId>
114                                 <artifactId>maven-site-plugin</artifactId>
115                                 <version>3.4</version>
116                                 <dependencies>
117                                         <dependency>
118                                                 <groupId>org.apache.maven.wagon</groupId>
119                                                 <artifactId>wagon-webdav-jackrabbit</artifactId>
120                                                 <version>2.10</version>
121                                         </dependency>
122                                 </dependencies>
123                         </plugin>
124
125                         <plugin>
126                                 <groupId>org.jacoco</groupId>
127                                 <artifactId>jacoco-maven-plugin</artifactId>
128                                 <version>0.7.8</version>
129                                 <executions>
130                                         <!-- Unit-Tests -->
131                                         <execution>
132                                                 <id>prepare-agent</id>
133                                                 <goals>
134                                                         <goal>prepare-agent</goal>
135                                                 </goals>
136                                                 <configuration>
137                                                         <destFile>${sonar.jacoco.reportPath}</destFile>
138                                                 </configuration>
139                                         </execution>
140                                 </executions>
141                         </plugin>
142
143                         <!-- Staging Plugin -->
144                         <plugin>
145                                 <groupId>org.sonatype.plugins</groupId>
146                                 <artifactId>nexus-staging-maven-plugin</artifactId>
147                                 <version>1.6.7</version>
148                                 <extensions>true</extensions>
149                                 <configuration>
150                                         <nexusUrl>${nexus.proxy}</nexusUrl>
151                                         <stagingProfileId>${staging.profile.id}</stagingProfileId>
152                                         <serverId>onap-staging</serverId>
153                                 </configuration>
154                         </plugin>
155
156                         <plugin>
157                                 <groupId>org.apache.maven.plugins</groupId>
158                                 <artifactId>maven-compiler-plugin</artifactId>
159                                 <version>2.5.1</version>
160                                 <inherited>true</inherited>
161                                 <configuration>
162                                         <source>1.8</source>
163                                         <target>1.8</target>
164                                 </configuration>
165                         </plugin>
166                         <plugin>
167                                 <groupId>org.apache.maven.plugins</groupId>
168                                 <artifactId>maven-javadoc-plugin</artifactId>
169                                 <version>2.10.3</version>
170                                 <configuration />
171                         </plugin>
172                         <!-- Test -->
173                         <plugin>
174                                 <groupId>org.apache.maven.plugins</groupId>
175                                 <artifactId>maven-surefire-plugin</artifactId>
176                                 <version>2.19.1</version>
177                                 <configuration>
178                                         <includes>
179                                                 <include>*/*</include>
180                                         </includes>
181                                 </configuration>
182                         </plugin>
183                         <plugin>
184                                 <groupId>org.sonarsource.scanner.maven</groupId>
185                                 <artifactId>sonar-maven-plugin</artifactId>
186                                 <version>3.0.2</version>
187                         </plugin>
188                 </plugins>
189         </build>
190
191         <repositories>
192                 <repository>
193                         <id>central</id>
194                         <name>Official Maven repository</name>
195                         <url>http://repo2.maven.org/maven2/</url>
196                 </repository>
197                 <repository>
198                         <id>onap-releases</id>
199                         <name>Release Repository</name>
200                         <url>${nexus.proxy}/content/repositories/releases/</url>
201                 </repository>
202                 <repository>
203                         <id>onap-snapshots</id>
204                         <name>Snapshots Repository</name>
205                         <url>${nexus.proxy}/content/repositories/snapshots/</url>
206                 </repository>
207         </repositories>
208
209         <distributionManagement>
210                 <repository>
211                         <id>onap-releases</id>
212                         <name>Release Repository</name>
213                         <url>${nexus.proxy}/content/repositories/${releases.path}/</url>
214                 </repository>
215                 <snapshotRepository>
216                         <id>onap-snapshots</id>
217                         <name>Snapshot Repository</name>
218                         <url>${nexus.proxy}/content/repositories/${snapshots.path}/</url>
219                 </snapshotRepository>
220                 <site>
221                         <id>onap-site</id>
222                         <url>dav:${nexus.proxy}${sitePath}</url>
223                 </site>
224         </distributionManagement>
225
226 </project>