Pavel Aharoni | 47cd117 | 2017-08-21 21:28:48 +0300 | [diff] [blame] | 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 | |
Yuli Shlosberg | 76bdc49 | 2018-03-06 17:51:15 +0200 | [diff] [blame] | 5 | <groupId>org.onap.sdc.jtosca</groupId> |
Pavel Aharoni | 47cd117 | 2017-08-21 21:28:48 +0300 | [diff] [blame] | 6 | <artifactId>jtosca</artifactId> |
Michael Lando | 7c61156 | 2018-08-03 00:57:08 +0300 | [diff] [blame^] | 7 | <version>1.4.2-SNAPSHOT</version> |
PriyanshuAgarwal | 5455ebc | 2018-04-10 17:56:18 +0300 | [diff] [blame] | 8 | <name>sdc-jtosca</name> |
Pavel Aharoni | 47cd117 | 2017-08-21 21:28:48 +0300 | [diff] [blame] | 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 --> |
Yuli Shlosberg | 8279429 | 2017-11-07 17:01:14 +0200 | [diff] [blame] | 22 | <!--<sonar.skipDesign>true</sonar.skipDesign>--> |
| 23 | <!--<sonar.projectBaseDir>${project.basedir}</sonar.projectBaseDir>--> |
Pavel Aharoni | 47cd117 | 2017-08-21 21:28:48 +0300 | [diff] [blame] | 24 | <sonar.jacoco.reportPath>${project.basedir}/target/jacoco.exec</sonar.jacoco.reportPath> |
| 25 | <nexus.proxy>https://nexus.onap.org</nexus.proxy> |
Yuli Shlosberg | 76bdc49 | 2018-03-06 17:51:15 +0200 | [diff] [blame] | 26 | <sitePath>/content/sites/site/org/onap/sdc/jtosca/${project.version}</sitePath> |
Pavel Aharoni | 47cd117 | 2017-08-21 21:28:48 +0300 | [diff] [blame] | 27 | <snapshots.path>snapshots</snapshots.path> |
| 28 | <releases.path>releases</releases.path> |
maopengzhang | 3d50c49 | 2017-09-07 23:29:07 +0800 | [diff] [blame] | 29 | <staging.profile.id>176c31dfe190a</staging.profile.id> |
Yuli Shlosberg | 8279429 | 2017-11-07 17:01:14 +0200 | [diff] [blame] | 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> |
Pavel Aharoni | 47cd117 | 2017-08-21 21:28:48 +0300 | [diff] [blame] | 39 | |
| 40 | </properties> |
| 41 | |
| 42 | <dependencies> |
| 43 | <!-- YAML parser --> |
| 44 | <dependency> |
| 45 | <groupId>org.yaml</groupId> |
| 46 | <artifactId>snakeyaml</artifactId> |
Gitelman, Tal (tg851x) | 05d9b88 | 2018-03-20 15:49:10 +0200 | [diff] [blame] | 47 | <version>1.14</version> |
Pavel Aharoni | 47cd117 | 2017-08-21 21:28:48 +0300 | [diff] [blame] | 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> |
Gitelman, Tal (tg851x) | d25b009 | 2018-03-12 18:49:55 +0200 | [diff] [blame] | 64 | <scope>test</scope> |
Pavel Aharoni | 47cd117 | 2017-08-21 21:28:48 +0300 | [diff] [blame] | 65 | </dependency> |
Pavel Aharoni | b0686a9 | 2017-09-24 16:35:27 +0300 | [diff] [blame] | 66 | |
| 67 | <dependency> |
| 68 | <groupId>com.opencsv</groupId> |
| 69 | <artifactId>opencsv</artifactId> |
| 70 | <version>3.10</version> |
Tal Gitelman | 9293744 | 2018-01-16 17:57:49 +0200 | [diff] [blame] | 71 | <scope>test</scope> |
Pavel Aharoni | b0686a9 | 2017-09-24 16:35:27 +0300 | [diff] [blame] | 72 | </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> |
priyanshu | dba9f5e | 2017-12-06 21:29:41 +0200 | [diff] [blame] | 80 | |
| 81 | <dependency> |
| 82 | <groupId>org.reflections</groupId> |
| 83 | <artifactId>reflections</artifactId> |
| 84 | <version>0.9.11</version> |
| 85 | </dependency> |
Pavel Aharoni | b0686a9 | 2017-09-24 16:35:27 +0300 | [diff] [blame] | 86 | |
Pavel Aharoni | 47cd117 | 2017-08-21 21:28:48 +0300 | [diff] [blame] | 87 | </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 Wagantall | fb2c889 | 2018-01-02 11:10:57 -0800 | [diff] [blame] | 152 | <serverId>onap-staging</serverId> |
Pavel Aharoni | 47cd117 | 2017-08-21 21:28:48 +0300 | [diff] [blame] | 153 | </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 Shlosberg | d5e341b | 2017-11-28 15:55:44 +0200 | [diff] [blame] | 171 | </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 Shlosberg | 8279429 | 2017-11-07 17:01:14 +0200 | [diff] [blame] | 183 | <plugin> |
| 184 | <groupId>org.sonarsource.scanner.maven</groupId> |
| 185 | <artifactId>sonar-maven-plugin</artifactId> |
| 186 | <version>3.0.2</version> |
| 187 | </plugin> |
Pavel Aharoni | 47cd117 | 2017-08-21 21:28:48 +0300 | [diff] [blame] | 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> |
Yuli Shlosberg | e303f8c | 2017-12-31 16:30:45 +0200 | [diff] [blame] | 198 | <id>onap-releases</id> |
Pavel Aharoni | 47cd117 | 2017-08-21 21:28:48 +0300 | [diff] [blame] | 199 | <name>Release Repository</name> |
| 200 | <url>${nexus.proxy}/content/repositories/releases/</url> |
| 201 | </repository> |
| 202 | <repository> |
Yuli Shlosberg | e303f8c | 2017-12-31 16:30:45 +0200 | [diff] [blame] | 203 | <id>onap-snapshots</id> |
Pavel Aharoni | ea45979 | 2017-11-21 17:26:49 +0200 | [diff] [blame] | 204 | <name>Snapshots Repository</name> |
| 205 | <url>${nexus.proxy}/content/repositories/snapshots/</url> |
| 206 | </repository> |
Pavel Aharoni | 47cd117 | 2017-08-21 21:28:48 +0300 | [diff] [blame] | 207 | </repositories> |
| 208 | |
| 209 | <distributionManagement> |
| 210 | <repository> |
Yuli Shlosberg | e303f8c | 2017-12-31 16:30:45 +0200 | [diff] [blame] | 211 | <id>onap-releases</id> |
Pavel Aharoni | 47cd117 | 2017-08-21 21:28:48 +0300 | [diff] [blame] | 212 | <name>Release Repository</name> |
| 213 | <url>${nexus.proxy}/content/repositories/${releases.path}/</url> |
| 214 | </repository> |
| 215 | <snapshotRepository> |
Yuli Shlosberg | e303f8c | 2017-12-31 16:30:45 +0200 | [diff] [blame] | 216 | <id>onap-snapshots</id> |
Pavel Aharoni | 47cd117 | 2017-08-21 21:28:48 +0300 | [diff] [blame] | 217 | <name>Snapshot Repository</name> |
| 218 | <url>${nexus.proxy}/content/repositories/${snapshots.path}/</url> |
| 219 | </snapshotRepository> |
| 220 | <site> |
Yuli Shlosberg | e303f8c | 2017-12-31 16:30:45 +0200 | [diff] [blame] | 221 | <id>onap-site</id> |
Pavel Aharoni | 47cd117 | 2017-08-21 21:28:48 +0300 | [diff] [blame] | 222 | <url>dav:${nexus.proxy}${sitePath}</url> |
| 223 | </site> |
| 224 | </distributionManagement> |
| 225 | |
Jessica Wagantall | bb51c30 | 2017-09-08 13:05:56 -0700 | [diff] [blame] | 226 | </project> |