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 | |
| 5 | <groupId>org.openecomp.sdc.jtosca</groupId> |
| 6 | <artifactId>jtosca</artifactId> |
Tal Gitelman | e614317 | 2018-01-18 14:08:29 +0200 | [diff] [blame] | 7 | <version>1.2.1-SNAPSHOT</version> |
Jessica Wagantall | bb51c30 | 2017-09-08 13:05:56 -0700 | [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> |
| 26 | <sitePath>/content/sites/site/org/openecomp/sdc/jtosca/${project.version}</sitePath> |
| 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> |
| 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 Aharoni | b0686a9 | 2017-09-24 16:35:27 +0300 | [diff] [blame] | 65 | |
| 66 | <dependency> |
| 67 | <groupId>com.opencsv</groupId> |
| 68 | <artifactId>opencsv</artifactId> |
| 69 | <version>3.10</version> |
Tal Gitelman | 9293744 | 2018-01-16 17:57:49 +0200 | [diff] [blame] | 70 | <scope>test</scope> |
Pavel Aharoni | b0686a9 | 2017-09-24 16:35:27 +0300 | [diff] [blame] | 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> |
priyanshu | dba9f5e | 2017-12-06 21:29:41 +0200 | [diff] [blame] | 79 | |
| 80 | <dependency> |
| 81 | <groupId>org.reflections</groupId> |
| 82 | <artifactId>reflections</artifactId> |
| 83 | <version>0.9.11</version> |
| 84 | </dependency> |
Pavel Aharoni | b0686a9 | 2017-09-24 16:35:27 +0300 | [diff] [blame] | 85 | |
Pavel Aharoni | 47cd117 | 2017-08-21 21:28:48 +0300 | [diff] [blame] | 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> |
Jessica Wagantall | fb2c889 | 2018-01-02 11:10:57 -0800 | [diff] [blame] | 151 | <serverId>onap-staging</serverId> |
Pavel Aharoni | 47cd117 | 2017-08-21 21:28:48 +0300 | [diff] [blame] | 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 /> |
Yuli Shlosberg | d5e341b | 2017-11-28 15:55:44 +0200 | [diff] [blame] | 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> |
Yuli Shlosberg | 8279429 | 2017-11-07 17:01:14 +0200 | [diff] [blame] | 182 | <plugin> |
| 183 | <groupId>org.sonarsource.scanner.maven</groupId> |
| 184 | <artifactId>sonar-maven-plugin</artifactId> |
| 185 | <version>3.0.2</version> |
| 186 | </plugin> |
Pavel Aharoni | 47cd117 | 2017-08-21 21:28:48 +0300 | [diff] [blame] | 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> |
Yuli Shlosberg | e303f8c | 2017-12-31 16:30:45 +0200 | [diff] [blame] | 197 | <id>onap-releases</id> |
Pavel Aharoni | 47cd117 | 2017-08-21 21:28:48 +0300 | [diff] [blame] | 198 | <name>Release Repository</name> |
| 199 | <url>${nexus.proxy}/content/repositories/releases/</url> |
| 200 | </repository> |
| 201 | <repository> |
Yuli Shlosberg | e303f8c | 2017-12-31 16:30:45 +0200 | [diff] [blame] | 202 | <id>onap-snapshots</id> |
Pavel Aharoni | ea45979 | 2017-11-21 17:26:49 +0200 | [diff] [blame] | 203 | <name>Snapshots Repository</name> |
| 204 | <url>${nexus.proxy}/content/repositories/snapshots/</url> |
| 205 | </repository> |
Pavel Aharoni | 47cd117 | 2017-08-21 21:28:48 +0300 | [diff] [blame] | 206 | </repositories> |
| 207 | |
| 208 | <distributionManagement> |
| 209 | <repository> |
Yuli Shlosberg | e303f8c | 2017-12-31 16:30:45 +0200 | [diff] [blame] | 210 | <id>onap-releases</id> |
Pavel Aharoni | 47cd117 | 2017-08-21 21:28:48 +0300 | [diff] [blame] | 211 | <name>Release Repository</name> |
| 212 | <url>${nexus.proxy}/content/repositories/${releases.path}/</url> |
| 213 | </repository> |
| 214 | <snapshotRepository> |
Yuli Shlosberg | e303f8c | 2017-12-31 16:30:45 +0200 | [diff] [blame] | 215 | <id>onap-snapshots</id> |
Pavel Aharoni | 47cd117 | 2017-08-21 21:28:48 +0300 | [diff] [blame] | 216 | <name>Snapshot Repository</name> |
| 217 | <url>${nexus.proxy}/content/repositories/${snapshots.path}/</url> |
| 218 | </snapshotRepository> |
| 219 | <site> |
Yuli Shlosberg | e303f8c | 2017-12-31 16:30:45 +0200 | [diff] [blame] | 220 | <id>onap-site</id> |
Pavel Aharoni | 47cd117 | 2017-08-21 21:28:48 +0300 | [diff] [blame] | 221 | <url>dav:${nexus.proxy}${sitePath}</url> |
| 222 | </site> |
| 223 | </distributionManagement> |
| 224 | |
Jessica Wagantall | bb51c30 | 2017-09-08 13:05:56 -0700 | [diff] [blame] | 225 | </project> |