blob: 5d062d740a8ba61c6c49c34c6da39680466ee5ba [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
5 <groupId>org.openecomp.sdc.jtosca</groupId>
6 <artifactId>jtosca</artifactId>
Michael Lando0fbd2612017-12-06 21:29:41 +02007 <version>1.2.0-SNAPSHOT</version>
Jessica Wagantallbb51c302017-09-08 13:05:56 -07008 <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>
26 <sitePath>/content/sites/site/org/openecomp/sdc/jtosca/${project.version}</sitePath>
27 <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>
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>
Pavel Aharonib0686a92017-09-24 16:35:27 +030065
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>
priyanshudba9f5e2017-12-06 21:29:41 +020078
79 <dependency>
80 <groupId>org.reflections</groupId>
81 <artifactId>reflections</artifactId>
82 <version>0.9.11</version>
83 </dependency>
Pavel Aharonib0686a92017-09-24 16:35:27 +030084
Pavel Aharoni47cd1172017-08-21 21:28:48 +030085 </dependencies>
86
87 <reporting>
88 <plugins>
89 <plugin>
90 <groupId>org.apache.maven.plugins</groupId>
91 <artifactId>maven-javadoc-plugin</artifactId>
92 <version>2.10.4</version>
93 <configuration>
94 <failOnError>false</failOnError>
95 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
96 <docletArtifact>
97 <groupId>org.umlgraph</groupId>
98 <artifactId>umlgraph</artifactId>
99 <version>5.6</version>
100 </docletArtifact>
101 <additionalparam>-views</additionalparam>
102 <useStandardDocletOptions>true</useStandardDocletOptions>
103 </configuration>
104 </plugin>
105 </plugins>
106 </reporting>
107
108 <build>
109 <plugins>
110 <plugin>
111 <groupId>org.apache.maven.plugins</groupId>
112 <artifactId>maven-site-plugin</artifactId>
113 <version>3.4</version>
114 <dependencies>
115 <dependency>
116 <groupId>org.apache.maven.wagon</groupId>
117 <artifactId>wagon-webdav-jackrabbit</artifactId>
118 <version>2.10</version>
119 </dependency>
120 </dependencies>
121 </plugin>
122
123 <plugin>
124 <groupId>org.jacoco</groupId>
125 <artifactId>jacoco-maven-plugin</artifactId>
126 <version>0.7.8</version>
127 <executions>
128 <!-- Unit-Tests -->
129 <execution>
130 <id>prepare-agent</id>
131 <goals>
132 <goal>prepare-agent</goal>
133 </goals>
134 <configuration>
135 <destFile>${sonar.jacoco.reportPath}</destFile>
136 </configuration>
137 </execution>
138 </executions>
139 </plugin>
140
141 <!-- Staging Plugin -->
142 <plugin>
143 <groupId>org.sonatype.plugins</groupId>
144 <artifactId>nexus-staging-maven-plugin</artifactId>
145 <version>1.6.7</version>
146 <extensions>true</extensions>
147 <configuration>
148 <nexusUrl>${nexus.proxy}</nexusUrl>
149 <stagingProfileId>${staging.profile.id}</stagingProfileId>
Jessica Wagantallfb2c8892018-01-02 11:10:57 -0800150 <serverId>onap-staging</serverId>
Pavel Aharoni47cd1172017-08-21 21:28:48 +0300151 </configuration>
152 </plugin>
153
154 <plugin>
155 <groupId>org.apache.maven.plugins</groupId>
156 <artifactId>maven-compiler-plugin</artifactId>
157 <version>2.5.1</version>
158 <inherited>true</inherited>
159 <configuration>
160 <source>1.8</source>
161 <target>1.8</target>
162 </configuration>
163 </plugin>
164 <plugin>
165 <groupId>org.apache.maven.plugins</groupId>
166 <artifactId>maven-javadoc-plugin</artifactId>
167 <version>2.10.3</version>
168 <configuration />
Yuli Shlosbergd5e341b2017-11-28 15:55:44 +0200169 </plugin>
170 <!-- Test -->
171 <plugin>
172 <groupId>org.apache.maven.plugins</groupId>
173 <artifactId>maven-surefire-plugin</artifactId>
174 <version>2.19.1</version>
175 <configuration>
176 <includes>
177 <include>*/*</include>
178 </includes>
179 </configuration>
180 </plugin>
Yuli Shlosberg82794292017-11-07 17:01:14 +0200181 <plugin>
182 <groupId>org.sonarsource.scanner.maven</groupId>
183 <artifactId>sonar-maven-plugin</artifactId>
184 <version>3.0.2</version>
185 </plugin>
Pavel Aharoni47cd1172017-08-21 21:28:48 +0300186 </plugins>
187 </build>
188
189 <repositories>
190 <repository>
191 <id>central</id>
192 <name>Official Maven repository</name>
193 <url>http://repo2.maven.org/maven2/</url>
194 </repository>
195 <repository>
Yuli Shlosberge303f8c2017-12-31 16:30:45 +0200196 <id>onap-releases</id>
Pavel Aharoni47cd1172017-08-21 21:28:48 +0300197 <name>Release Repository</name>
198 <url>${nexus.proxy}/content/repositories/releases/</url>
199 </repository>
200 <repository>
Yuli Shlosberge303f8c2017-12-31 16:30:45 +0200201 <id>onap-snapshots</id>
Pavel Aharoniea459792017-11-21 17:26:49 +0200202 <name>Snapshots Repository</name>
203 <url>${nexus.proxy}/content/repositories/snapshots/</url>
204 </repository>
Pavel Aharoni47cd1172017-08-21 21:28:48 +0300205 </repositories>
206
207 <distributionManagement>
208 <repository>
Yuli Shlosberge303f8c2017-12-31 16:30:45 +0200209 <id>onap-releases</id>
Pavel Aharoni47cd1172017-08-21 21:28:48 +0300210 <name>Release Repository</name>
211 <url>${nexus.proxy}/content/repositories/${releases.path}/</url>
212 </repository>
213 <snapshotRepository>
Yuli Shlosberge303f8c2017-12-31 16:30:45 +0200214 <id>onap-snapshots</id>
Pavel Aharoni47cd1172017-08-21 21:28:48 +0300215 <name>Snapshot Repository</name>
216 <url>${nexus.proxy}/content/repositories/${snapshots.path}/</url>
217 </snapshotRepository>
218 <site>
Yuli Shlosberge303f8c2017-12-31 16:30:45 +0200219 <id>onap-site</id>
Pavel Aharoni47cd1172017-08-21 21:28:48 +0300220 <url>dav:${nexus.proxy}${sitePath}</url>
221 </site>
222 </distributionManagement>
223
Jessica Wagantallbb51c302017-09-08 13:05:56 -0700224</project>