[SDC-402] TDP 335705 test fix
[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.1.12-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
31         </properties>
32
33         <dependencies>
34                 <!-- YAML parser -->
35                 <dependency>
36                         <groupId>org.yaml</groupId>
37                         <artifactId>snakeyaml</artifactId>
38                         <version>1.14</version>
39                         <scope>compile</scope>
40                 </dependency>
41
42                 <dependency>
43                         <groupId>org.slf4j</groupId>
44                         <artifactId>slf4j-api</artifactId>
45                         <version>1.7.25</version>
46                 </dependency>
47
48                 <!-- <dependency> <groupId>ch.qos.logback</groupId> <artifactId>logback-classic</artifactId> 
49                         <version>1.1.2</version> <scope>test</scope> </dependency> -->
50
51                 <dependency>
52                         <groupId>junit</groupId>
53                         <artifactId>junit</artifactId>
54                         <version>4.12</version>
55                 </dependency>
56                 
57                 <dependency>
58                   <groupId>com.opencsv</groupId>
59                   <artifactId>opencsv</artifactId>
60                   <version>3.10</version>
61                 </dependency>
62                 
63                 <!-- https://mvnrepository.com/artifact/org.apache.commons/commons-io -->
64 <dependency>
65     <groupId>org.apache.commons</groupId>
66     <artifactId>commons-io</artifactId>
67     <version>1.3.2</version>
68 </dependency>
69                 
70         </dependencies>
71
72         <reporting>
73                 <plugins>
74                         <plugin>
75                                 <groupId>org.apache.maven.plugins</groupId>
76                                 <artifactId>maven-javadoc-plugin</artifactId>
77                                 <version>2.10.4</version>
78                                 <configuration>
79                                         <failOnError>false</failOnError>
80                                         <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
81                                         <docletArtifact>
82                                                 <groupId>org.umlgraph</groupId>
83                                                 <artifactId>umlgraph</artifactId>
84                                                 <version>5.6</version>
85                                         </docletArtifact>
86                                         <additionalparam>-views</additionalparam>
87                                         <useStandardDocletOptions>true</useStandardDocletOptions>
88                                 </configuration>
89                         </plugin>
90                 </plugins>
91         </reporting>
92
93         <build>
94                 <plugins>
95                         <plugin>
96                                 <groupId>org.apache.maven.plugins</groupId>
97                                 <artifactId>maven-site-plugin</artifactId>
98                                 <version>3.4</version>
99                                 <dependencies>
100                                         <dependency>
101                                                 <groupId>org.apache.maven.wagon</groupId>
102                                                 <artifactId>wagon-webdav-jackrabbit</artifactId>
103                                                 <version>2.10</version>
104                                         </dependency>
105                                 </dependencies>
106                         </plugin>
107
108                         <plugin>
109                                 <groupId>org.jacoco</groupId>
110                                 <artifactId>jacoco-maven-plugin</artifactId>
111                                 <version>0.7.8</version>
112                                 <executions>
113                                         <!-- Unit-Tests -->
114                                         <execution>
115                                                 <id>prepare-agent</id>
116                                                 <goals>
117                                                         <goal>prepare-agent</goal>
118                                                 </goals>
119                                                 <configuration>
120                                                         <destFile>${sonar.jacoco.reportPath}</destFile>
121                                                 </configuration>
122                                         </execution>
123                                 </executions>
124                         </plugin>
125
126                         <!-- Staging Plugin -->
127                         <plugin>
128                                 <groupId>org.sonatype.plugins</groupId>
129                                 <artifactId>nexus-staging-maven-plugin</artifactId>
130                                 <version>1.6.7</version>
131                                 <extensions>true</extensions>
132                                 <configuration>
133                                         <nexusUrl>${nexus.proxy}</nexusUrl>
134                                         <stagingProfileId>${staging.profile.id}</stagingProfileId>
135                                         <serverId>ecomp-staging</serverId>
136                                 </configuration>
137                         </plugin>
138
139                         <plugin>
140                                 <groupId>org.apache.maven.plugins</groupId>
141                                 <artifactId>maven-compiler-plugin</artifactId>
142                                 <version>2.5.1</version>
143                                 <inherited>true</inherited>
144                                 <configuration>
145                                         <source>1.8</source>
146                                         <target>1.8</target>
147                                 </configuration>
148                         </plugin>
149                         <plugin>
150                                 <groupId>org.apache.maven.plugins</groupId>
151                                 <artifactId>maven-javadoc-plugin</artifactId>
152                                 <version>2.10.3</version>
153                                 <configuration />
154                         </plugin>
155                         <plugin>
156                                 <groupId>org.codehaus.mojo</groupId>
157                                 <artifactId>license-maven-plugin</artifactId>
158                                 <version>1.10</version>
159                                 <configuration>
160                                         <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
161                                         <processStartTag>============LICENSE_START=======================================================</processStartTag>
162                                         <processEndTag>============LICENSE_END=========================================================</processEndTag>
163                                         <sectionDelimiter>================================================================================</sectionDelimiter>
164                                         <licenseName>apache_v2</licenseName>
165                                         <inceptionYear>2017</inceptionYear>
166                                         <organizationName>AT&amp;T Intellectual Property. All rights
167                                                 reserved.</organizationName>
168                                         <projectName>jtosca</projectName>
169                                         <canUpdateCopyright>true</canUpdateCopyright>
170                                         <canUpdateDescription>true</canUpdateDescription>
171                                         <canUpdateLicense>true</canUpdateLicense>
172                                         <emptyLineAfterHeader>true</emptyLineAfterHeader>
173                                         <verbose>false</verbose>
174                                         <includes>
175                                                 <include>**/*.java</include>
176                                         </includes>
177                                 </configuration>
178                                 <executions>
179                                         <execution>
180                                                 <id>first</id>
181                                                 <goals>
182                                                         <goal>update-file-header</goal>
183                                                 </goals>
184                                                 <!--phase>process-sources</phase -->
185                                         </execution>
186                                 </executions>
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>ecomp-releases</id>
199                         <name>Release Repository</name>
200                         <url>${nexus.proxy}/content/repositories/releases/</url>
201                 </repository>
202                 <repository>
203                         <id>ecomp-staging</id>
204                         <name>Staging Repository</name>
205                         <url>${nexus.proxy}/content/repositories/staging/</url>
206                 </repository>
207         </repositories>
208
209         <distributionManagement>
210                 <repository>
211                         <id>ecomp-releases</id>
212                         <name>Release Repository</name>
213                         <url>${nexus.proxy}/content/repositories/${releases.path}/</url>
214                 </repository>
215                 <snapshotRepository>
216                         <id>ecomp-snapshots</id>
217                         <name>Snapshot Repository</name>
218                         <url>${nexus.proxy}/content/repositories/${snapshots.path}/</url>
219                 </snapshotRepository>
220                 <site>
221                         <id>ecomp-site</id>
222                         <url>dav:${nexus.proxy}${sitePath}</url>
223                 </site>
224         </distributionManagement>
225
226 </project>