blob: d5453678e5592f9caaa73ff6d1a84f1e4d76d2b7 [file] [log] [blame]
Pavel Aharoni47cd1172017-08-21 21:28:48 +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 <modelVersion>4.0.0</modelVersion>
4
Yuli Shlosberg76bdc492018-03-06 17:51:15 +02005 <groupId>org.onap.sdc.jtosca</groupId>
Pavel Aharoni47cd1172017-08-21 21:28:48 +03006 <artifactId>jtosca</artifactId>
Michael Lando7c611562018-08-03 00:57:08 +03007 <version>1.4.2-SNAPSHOT</version>
PriyanshuAgarwal5455ebc2018-04-10 17:56:18 +03008 <name>sdc-jtosca</name>
Pavel Aharoni47cd1172017-08-21 21:28:48 +03009 <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 -->
Yuli Shlosberg82794292017-11-07 17:01:14 +020022 <!--<sonar.skipDesign>true</sonar.skipDesign>-->
23 <!--<sonar.projectBaseDir>${project.basedir}</sonar.projectBaseDir>-->
Pavel Aharoni47cd1172017-08-21 21:28:48 +030024 <sonar.jacoco.reportPath>${project.basedir}/target/jacoco.exec</sonar.jacoco.reportPath>
25 <nexus.proxy>https://nexus.onap.org</nexus.proxy>
Yuli Shlosberg76bdc492018-03-06 17:51:15 +020026 <sitePath>/content/sites/site/org/onap/sdc/jtosca/${project.version}</sitePath>
Pavel Aharoni47cd1172017-08-21 21:28:48 +030027 <snapshots.path>snapshots</snapshots.path>
28 <releases.path>releases</releases.path>
maopengzhang3d50c492017-09-07 23:29:07 +080029 <staging.profile.id>176c31dfe190a</staging.profile.id>
Yuli Shlosberg82794292017-11-07 17:01:14 +020030 <!-- 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>
Pavel Aharoni47cd1172017-08-21 21:28:48 +030039
40 </properties>
41
42 <dependencies>
43 <!-- YAML parser -->
44 <dependency>
45 <groupId>org.yaml</groupId>
46 <artifactId>snakeyaml</artifactId>
Gitelman, Tal (tg851x)05d9b882018-03-20 15:49:10 +020047 <version>1.14</version>
Pavel Aharoni47cd1172017-08-21 21:28:48 +030048 <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>
Gitelman, Tal (tg851x)d25b0092018-03-12 18:49:55 +020064 <scope>test</scope>
Pavel Aharoni47cd1172017-08-21 21:28:48 +030065 </dependency>
Pavel Aharonib0686a92017-09-24 16:35:27 +030066
67 <dependency>
68 <groupId>com.opencsv</groupId>
69 <artifactId>opencsv</artifactId>
70 <version>3.10</version>
Tal Gitelman92937442018-01-16 17:57:49 +020071 <scope>test</scope>
Pavel Aharonib0686a92017-09-24 16:35:27 +030072 </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>
priyanshudba9f5e2017-12-06 21:29:41 +020080
81 <dependency>
82 <groupId>org.reflections</groupId>
83 <artifactId>reflections</artifactId>
84 <version>0.9.11</version>
85 </dependency>
Pavel Aharonib0686a92017-09-24 16:35:27 +030086
Pavel Aharoni47cd1172017-08-21 21:28:48 +030087 </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>
Jessica Wagantallfb2c8892018-01-02 11:10:57 -0800152 <serverId>onap-staging</serverId>
Pavel Aharoni47cd1172017-08-21 21:28:48 +0300153 </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 />
Yuli Shlosbergd5e341b2017-11-28 15:55:44 +0200171 </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>
Yuli Shlosberg82794292017-11-07 17:01:14 +0200183 <plugin>
184 <groupId>org.sonarsource.scanner.maven</groupId>
185 <artifactId>sonar-maven-plugin</artifactId>
186 <version>3.0.2</version>
187 </plugin>
Pavel Aharoni47cd1172017-08-21 21:28:48 +0300188 </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>
Yuli Shlosberge303f8c2017-12-31 16:30:45 +0200198 <id>onap-releases</id>
Pavel Aharoni47cd1172017-08-21 21:28:48 +0300199 <name>Release Repository</name>
200 <url>${nexus.proxy}/content/repositories/releases/</url>
201 </repository>
202 <repository>
Yuli Shlosberge303f8c2017-12-31 16:30:45 +0200203 <id>onap-snapshots</id>
Pavel Aharoniea459792017-11-21 17:26:49 +0200204 <name>Snapshots Repository</name>
205 <url>${nexus.proxy}/content/repositories/snapshots/</url>
206 </repository>
Pavel Aharoni47cd1172017-08-21 21:28:48 +0300207 </repositories>
208
209 <distributionManagement>
210 <repository>
Yuli Shlosberge303f8c2017-12-31 16:30:45 +0200211 <id>onap-releases</id>
Pavel Aharoni47cd1172017-08-21 21:28:48 +0300212 <name>Release Repository</name>
213 <url>${nexus.proxy}/content/repositories/${releases.path}/</url>
214 </repository>
215 <snapshotRepository>
Yuli Shlosberge303f8c2017-12-31 16:30:45 +0200216 <id>onap-snapshots</id>
Pavel Aharoni47cd1172017-08-21 21:28:48 +0300217 <name>Snapshot Repository</name>
218 <url>${nexus.proxy}/content/repositories/${snapshots.path}/</url>
219 </snapshotRepository>
220 <site>
Yuli Shlosberge303f8c2017-12-31 16:30:45 +0200221 <id>onap-site</id>
Pavel Aharoni47cd1172017-08-21 21:28:48 +0300222 <url>dav:${nexus.proxy}${sitePath}</url>
223 </site>
224 </distributionManagement>
225
Jessica Wagantallbb51c302017-09-08 13:05:56 -0700226</project>