update version
[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.openecomp.sdc.jtosca</groupId>
6         <artifactId>jtosca</artifactId>
7         <version>1.2.0-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/openecomp/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.14</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                 </dependency>
65                 
66                 <dependency>
67                   <groupId>com.opencsv</groupId>
68                   <artifactId>opencsv</artifactId>
69                   <version>3.10</version>
70                 </dependency>
71                 
72                 <!-- https://mvnrepository.com/artifact/org.apache.commons/commons-io -->
73 <dependency>
74     <groupId>org.apache.commons</groupId>
75     <artifactId>commons-io</artifactId>
76     <version>1.3.2</version>
77 </dependency>
78                 
79         </dependencies>
80
81         <reporting>
82                 <plugins>
83                         <plugin>
84                                 <groupId>org.apache.maven.plugins</groupId>
85                                 <artifactId>maven-javadoc-plugin</artifactId>
86                                 <version>2.10.4</version>
87                                 <configuration>
88                                         <failOnError>false</failOnError>
89                                         <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
90                                         <docletArtifact>
91                                                 <groupId>org.umlgraph</groupId>
92                                                 <artifactId>umlgraph</artifactId>
93                                                 <version>5.6</version>
94                                         </docletArtifact>
95                                         <additionalparam>-views</additionalparam>
96                                         <useStandardDocletOptions>true</useStandardDocletOptions>
97                                 </configuration>
98                         </plugin>
99                 </plugins>
100         </reporting>
101
102         <build>
103                 <plugins>
104                         <plugin>
105                                 <groupId>org.apache.maven.plugins</groupId>
106                                 <artifactId>maven-site-plugin</artifactId>
107                                 <version>3.4</version>
108                                 <dependencies>
109                                         <dependency>
110                                                 <groupId>org.apache.maven.wagon</groupId>
111                                                 <artifactId>wagon-webdav-jackrabbit</artifactId>
112                                                 <version>2.10</version>
113                                         </dependency>
114                                 </dependencies>
115                         </plugin>
116
117                         <plugin>
118                                 <groupId>org.jacoco</groupId>
119                                 <artifactId>jacoco-maven-plugin</artifactId>
120                                 <version>0.7.8</version>
121                                 <executions>
122                                         <!-- Unit-Tests -->
123                                         <execution>
124                                                 <id>prepare-agent</id>
125                                                 <goals>
126                                                         <goal>prepare-agent</goal>
127                                                 </goals>
128                                                 <configuration>
129                                                         <destFile>${sonar.jacoco.reportPath}</destFile>
130                                                 </configuration>
131                                         </execution>
132                                 </executions>
133                         </plugin>
134
135                         <!-- Staging Plugin -->
136                         <plugin>
137                                 <groupId>org.sonatype.plugins</groupId>
138                                 <artifactId>nexus-staging-maven-plugin</artifactId>
139                                 <version>1.6.7</version>
140                                 <extensions>true</extensions>
141                                 <configuration>
142                                         <nexusUrl>${nexus.proxy}</nexusUrl>
143                                         <stagingProfileId>${staging.profile.id}</stagingProfileId>
144                                         <serverId>ecomp-staging</serverId>
145                                 </configuration>
146                         </plugin>
147
148                         <plugin>
149                                 <groupId>org.apache.maven.plugins</groupId>
150                                 <artifactId>maven-compiler-plugin</artifactId>
151                                 <version>2.5.1</version>
152                                 <inherited>true</inherited>
153                                 <configuration>
154                                         <source>1.8</source>
155                                         <target>1.8</target>
156                                 </configuration>
157                         </plugin>
158                         <plugin>
159                                 <groupId>org.apache.maven.plugins</groupId>
160                                 <artifactId>maven-javadoc-plugin</artifactId>
161                                 <version>2.10.3</version>
162                                 <configuration />
163                         </plugin>
164                         <!-- Test -->
165                         <plugin>
166                                 <groupId>org.apache.maven.plugins</groupId>
167                                 <artifactId>maven-surefire-plugin</artifactId>
168                                 <version>2.19.1</version>
169                                 <configuration>
170                                         <includes>
171                                                 <include>*/*</include>
172                                         </includes>
173                                 </configuration>
174                         </plugin>
175                         <plugin>
176                                 <groupId>org.sonarsource.scanner.maven</groupId>
177                                 <artifactId>sonar-maven-plugin</artifactId>
178                                 <version>3.0.2</version>
179                         </plugin>
180                 </plugins>
181         </build>
182
183         <repositories>
184                 <repository>
185                         <id>central</id>
186                         <name>Official Maven repository</name>
187                         <url>http://repo2.maven.org/maven2/</url>
188                 </repository>
189                 <repository>
190                         <id>ecomp-releases</id>
191                         <name>Release Repository</name>
192                         <url>${nexus.proxy}/content/repositories/releases/</url>
193                 </repository>
194                 <repository>
195                         <id>ecomp-staging</id>
196                         <name>Staging Repository</name>
197                         <url>${nexus.proxy}/content/repositories/staging/</url>
198                 </repository>
199                 <repository>
200                         <id>ecomp-snapshots</id>
201                         <name>Snapshots Repository</name>
202                         <url>${nexus.proxy}/content/repositories/snapshots/</url>
203                 </repository>
204         </repositories>
205
206         <distributionManagement>
207                 <repository>
208                         <id>ecomp-releases</id>
209                         <name>Release Repository</name>
210                         <url>${nexus.proxy}/content/repositories/${releases.path}/</url>
211                 </repository>
212                 <snapshotRepository>
213                         <id>ecomp-snapshots</id>
214                         <name>Snapshot Repository</name>
215                         <url>${nexus.proxy}/content/repositories/${snapshots.path}/</url>
216                 </snapshotRepository>
217                 <site>
218                         <id>ecomp-site</id>
219                         <url>dav:${nexus.proxy}${sitePath}</url>
220                 </site>
221         </distributionManagement>
222
223 </project>