update JTOSCA package names
[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.onap.sdc.jtosca</groupId>
6         <artifactId>jtosca</artifactId>
7         <version>1.3.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/onap/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                   <scope>test</scope>
71                 </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>
79
80                 <dependency>
81                         <groupId>org.reflections</groupId>
82                         <artifactId>reflections</artifactId>
83                         <version>0.9.11</version>
84                 </dependency>
85                 
86         </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>
151                                         <serverId>onap-staging</serverId>
152                                 </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 />
170                         </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>
182                         <plugin>
183                                 <groupId>org.sonarsource.scanner.maven</groupId>
184                                 <artifactId>sonar-maven-plugin</artifactId>
185                                 <version>3.0.2</version>
186                         </plugin>
187                 </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>
197                         <id>onap-releases</id>
198                         <name>Release Repository</name>
199                         <url>${nexus.proxy}/content/repositories/releases/</url>
200                 </repository>
201                 <repository>
202                         <id>onap-snapshots</id>
203                         <name>Snapshots Repository</name>
204                         <url>${nexus.proxy}/content/repositories/snapshots/</url>
205                 </repository>
206         </repositories>
207
208         <distributionManagement>
209                 <repository>
210                         <id>onap-releases</id>
211                         <name>Release Repository</name>
212                         <url>${nexus.proxy}/content/repositories/${releases.path}/</url>
213                 </repository>
214                 <snapshotRepository>
215                         <id>onap-snapshots</id>
216                         <name>Snapshot Repository</name>
217                         <url>${nexus.proxy}/content/repositories/${snapshots.path}/</url>
218                 </snapshotRepository>
219                 <site>
220                         <id>onap-site</id>
221                         <url>dav:${nexus.proxy}${sitePath}</url>
222                 </site>
223         </distributionManagement>
224
225 </project>