blob: a6afeeef7baabe5b903a64e6396022d8e85cd476 [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>
Tal Gitelmane6143172018-01-18 14:08:29 +02007 <version>1.2.1-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>
Tal Gitelman92937442018-01-16 17:57:49 +020070 <scope>test</scope>
Pavel Aharonib0686a92017-09-24 16:35:27 +030071 </dependency>
72
73 <!-- https://mvnrepository.com/artifact/org.apache.commons/commons-io -->
74<dependency>
75 <groupId>org.apache.commons</groupId>
76 <artifactId>commons-io</artifactId>
77 <version>1.3.2</version>
78</dependency>
priyanshudba9f5e2017-12-06 21:29:41 +020079
80 <dependency>
81 <groupId>org.reflections</groupId>
82 <artifactId>reflections</artifactId>
83 <version>0.9.11</version>
84 </dependency>
Pavel Aharonib0686a92017-09-24 16:35:27 +030085
Pavel Aharoni47cd1172017-08-21 21:28:48 +030086 </dependencies>
87
88 <reporting>
89 <plugins>
90 <plugin>
91 <groupId>org.apache.maven.plugins</groupId>
92 <artifactId>maven-javadoc-plugin</artifactId>
93 <version>2.10.4</version>
94 <configuration>
95 <failOnError>false</failOnError>
96 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
97 <docletArtifact>
98 <groupId>org.umlgraph</groupId>
99 <artifactId>umlgraph</artifactId>
100 <version>5.6</version>
101 </docletArtifact>
102 <additionalparam>-views</additionalparam>
103 <useStandardDocletOptions>true</useStandardDocletOptions>
104 </configuration>
105 </plugin>
106 </plugins>
107 </reporting>
108
109 <build>
110 <plugins>
111 <plugin>
112 <groupId>org.apache.maven.plugins</groupId>
113 <artifactId>maven-site-plugin</artifactId>
114 <version>3.4</version>
115 <dependencies>
116 <dependency>
117 <groupId>org.apache.maven.wagon</groupId>
118 <artifactId>wagon-webdav-jackrabbit</artifactId>
119 <version>2.10</version>
120 </dependency>
121 </dependencies>
122 </plugin>
123
124 <plugin>
125 <groupId>org.jacoco</groupId>
126 <artifactId>jacoco-maven-plugin</artifactId>
127 <version>0.7.8</version>
128 <executions>
129 <!-- Unit-Tests -->
130 <execution>
131 <id>prepare-agent</id>
132 <goals>
133 <goal>prepare-agent</goal>
134 </goals>
135 <configuration>
136 <destFile>${sonar.jacoco.reportPath}</destFile>
137 </configuration>
138 </execution>
139 </executions>
140 </plugin>
141
142 <!-- Staging Plugin -->
143 <plugin>
144 <groupId>org.sonatype.plugins</groupId>
145 <artifactId>nexus-staging-maven-plugin</artifactId>
146 <version>1.6.7</version>
147 <extensions>true</extensions>
148 <configuration>
149 <nexusUrl>${nexus.proxy}</nexusUrl>
150 <stagingProfileId>${staging.profile.id}</stagingProfileId>
Jessica Wagantallfb2c8892018-01-02 11:10:57 -0800151 <serverId>onap-staging</serverId>
Pavel Aharoni47cd1172017-08-21 21:28:48 +0300152 </configuration>
153 </plugin>
154
155 <plugin>
156 <groupId>org.apache.maven.plugins</groupId>
157 <artifactId>maven-compiler-plugin</artifactId>
158 <version>2.5.1</version>
159 <inherited>true</inherited>
160 <configuration>
161 <source>1.8</source>
162 <target>1.8</target>
163 </configuration>
164 </plugin>
165 <plugin>
166 <groupId>org.apache.maven.plugins</groupId>
167 <artifactId>maven-javadoc-plugin</artifactId>
168 <version>2.10.3</version>
169 <configuration />
Yuli Shlosbergd5e341b2017-11-28 15:55:44 +0200170 </plugin>
171 <!-- Test -->
172 <plugin>
173 <groupId>org.apache.maven.plugins</groupId>
174 <artifactId>maven-surefire-plugin</artifactId>
175 <version>2.19.1</version>
176 <configuration>
177 <includes>
178 <include>*/*</include>
179 </includes>
180 </configuration>
181 </plugin>
Yuli Shlosberg82794292017-11-07 17:01:14 +0200182 <plugin>
183 <groupId>org.sonarsource.scanner.maven</groupId>
184 <artifactId>sonar-maven-plugin</artifactId>
185 <version>3.0.2</version>
186 </plugin>
Pavel Aharoni47cd1172017-08-21 21:28:48 +0300187 </plugins>
188 </build>
189
190 <repositories>
191 <repository>
192 <id>central</id>
193 <name>Official Maven repository</name>
194 <url>http://repo2.maven.org/maven2/</url>
195 </repository>
196 <repository>
Yuli Shlosberge303f8c2017-12-31 16:30:45 +0200197 <id>onap-releases</id>
Pavel Aharoni47cd1172017-08-21 21:28:48 +0300198 <name>Release Repository</name>
199 <url>${nexus.proxy}/content/repositories/releases/</url>
200 </repository>
201 <repository>
Yuli Shlosberge303f8c2017-12-31 16:30:45 +0200202 <id>onap-snapshots</id>
Pavel Aharoniea459792017-11-21 17:26:49 +0200203 <name>Snapshots Repository</name>
204 <url>${nexus.proxy}/content/repositories/snapshots/</url>
205 </repository>
Pavel Aharoni47cd1172017-08-21 21:28:48 +0300206 </repositories>
207
208 <distributionManagement>
209 <repository>
Yuli Shlosberge303f8c2017-12-31 16:30:45 +0200210 <id>onap-releases</id>
Pavel Aharoni47cd1172017-08-21 21:28:48 +0300211 <name>Release Repository</name>
212 <url>${nexus.proxy}/content/repositories/${releases.path}/</url>
213 </repository>
214 <snapshotRepository>
Yuli Shlosberge303f8c2017-12-31 16:30:45 +0200215 <id>onap-snapshots</id>
Pavel Aharoni47cd1172017-08-21 21:28:48 +0300216 <name>Snapshot Repository</name>
217 <url>${nexus.proxy}/content/repositories/${snapshots.path}/</url>
218 </snapshotRepository>
219 <site>
Yuli Shlosberge303f8c2017-12-31 16:30:45 +0200220 <id>onap-site</id>
Pavel Aharoni47cd1172017-08-21 21:28:48 +0300221 <url>dav:${nexus.proxy}${sitePath}</url>
222 </site>
223 </distributionManagement>
224
Jessica Wagantallbb51c302017-09-08 13:05:56 -0700225</project>