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> |
Michael Lando | 0fbd261 | 2017-12-06 21:29:41 +0200 | [diff] [blame] | 7 | <version>1.2.0-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> |
| 70 | </dependency> |
| 71 | |
| 72 | <!-- https://mvnrepository.com/artifact/org.apache.commons/commons-io --> |
| 73 | <dependency> |
| 74 | <groupId>org.apache.commons</groupId> |
| 75 | <artifactId>commons-io</artifactId> |
| 76 | <version>1.3.2</version> |
| 77 | </dependency> |
priyanshu | dba9f5e | 2017-12-06 21:29:41 +0200 | [diff] [blame] | 78 | |
| 79 | <dependency> |
| 80 | <groupId>org.reflections</groupId> |
| 81 | <artifactId>reflections</artifactId> |
| 82 | <version>0.9.11</version> |
| 83 | </dependency> |
Pavel Aharoni | b0686a9 | 2017-09-24 16:35:27 +0300 | [diff] [blame] | 84 | |
Pavel Aharoni | 47cd117 | 2017-08-21 21:28:48 +0300 | [diff] [blame] | 85 | </dependencies> |
| 86 | |
| 87 | <reporting> |
| 88 | <plugins> |
| 89 | <plugin> |
| 90 | <groupId>org.apache.maven.plugins</groupId> |
| 91 | <artifactId>maven-javadoc-plugin</artifactId> |
| 92 | <version>2.10.4</version> |
| 93 | <configuration> |
| 94 | <failOnError>false</failOnError> |
| 95 | <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet> |
| 96 | <docletArtifact> |
| 97 | <groupId>org.umlgraph</groupId> |
| 98 | <artifactId>umlgraph</artifactId> |
| 99 | <version>5.6</version> |
| 100 | </docletArtifact> |
| 101 | <additionalparam>-views</additionalparam> |
| 102 | <useStandardDocletOptions>true</useStandardDocletOptions> |
| 103 | </configuration> |
| 104 | </plugin> |
| 105 | </plugins> |
| 106 | </reporting> |
| 107 | |
| 108 | <build> |
| 109 | <plugins> |
| 110 | <plugin> |
| 111 | <groupId>org.apache.maven.plugins</groupId> |
| 112 | <artifactId>maven-site-plugin</artifactId> |
| 113 | <version>3.4</version> |
| 114 | <dependencies> |
| 115 | <dependency> |
| 116 | <groupId>org.apache.maven.wagon</groupId> |
| 117 | <artifactId>wagon-webdav-jackrabbit</artifactId> |
| 118 | <version>2.10</version> |
| 119 | </dependency> |
| 120 | </dependencies> |
| 121 | </plugin> |
| 122 | |
| 123 | <plugin> |
| 124 | <groupId>org.jacoco</groupId> |
| 125 | <artifactId>jacoco-maven-plugin</artifactId> |
| 126 | <version>0.7.8</version> |
| 127 | <executions> |
| 128 | <!-- Unit-Tests --> |
| 129 | <execution> |
| 130 | <id>prepare-agent</id> |
| 131 | <goals> |
| 132 | <goal>prepare-agent</goal> |
| 133 | </goals> |
| 134 | <configuration> |
| 135 | <destFile>${sonar.jacoco.reportPath}</destFile> |
| 136 | </configuration> |
| 137 | </execution> |
| 138 | </executions> |
| 139 | </plugin> |
| 140 | |
| 141 | <!-- Staging Plugin --> |
| 142 | <plugin> |
| 143 | <groupId>org.sonatype.plugins</groupId> |
| 144 | <artifactId>nexus-staging-maven-plugin</artifactId> |
| 145 | <version>1.6.7</version> |
| 146 | <extensions>true</extensions> |
| 147 | <configuration> |
| 148 | <nexusUrl>${nexus.proxy}</nexusUrl> |
| 149 | <stagingProfileId>${staging.profile.id}</stagingProfileId> |
Jessica Wagantall | fb2c889 | 2018-01-02 11:10:57 -0800 | [diff] [blame] | 150 | <serverId>onap-staging</serverId> |
Pavel Aharoni | 47cd117 | 2017-08-21 21:28:48 +0300 | [diff] [blame] | 151 | </configuration> |
| 152 | </plugin> |
| 153 | |
| 154 | <plugin> |
| 155 | <groupId>org.apache.maven.plugins</groupId> |
| 156 | <artifactId>maven-compiler-plugin</artifactId> |
| 157 | <version>2.5.1</version> |
| 158 | <inherited>true</inherited> |
| 159 | <configuration> |
| 160 | <source>1.8</source> |
| 161 | <target>1.8</target> |
| 162 | </configuration> |
| 163 | </plugin> |
| 164 | <plugin> |
| 165 | <groupId>org.apache.maven.plugins</groupId> |
| 166 | <artifactId>maven-javadoc-plugin</artifactId> |
| 167 | <version>2.10.3</version> |
| 168 | <configuration /> |
Yuli Shlosberg | d5e341b | 2017-11-28 15:55:44 +0200 | [diff] [blame] | 169 | </plugin> |
| 170 | <!-- Test --> |
| 171 | <plugin> |
| 172 | <groupId>org.apache.maven.plugins</groupId> |
| 173 | <artifactId>maven-surefire-plugin</artifactId> |
| 174 | <version>2.19.1</version> |
| 175 | <configuration> |
| 176 | <includes> |
| 177 | <include>*/*</include> |
| 178 | </includes> |
| 179 | </configuration> |
| 180 | </plugin> |
Yuli Shlosberg | 8279429 | 2017-11-07 17:01:14 +0200 | [diff] [blame] | 181 | <plugin> |
| 182 | <groupId>org.sonarsource.scanner.maven</groupId> |
| 183 | <artifactId>sonar-maven-plugin</artifactId> |
| 184 | <version>3.0.2</version> |
| 185 | </plugin> |
Pavel Aharoni | 47cd117 | 2017-08-21 21:28:48 +0300 | [diff] [blame] | 186 | </plugins> |
| 187 | </build> |
| 188 | |
| 189 | <repositories> |
| 190 | <repository> |
| 191 | <id>central</id> |
| 192 | <name>Official Maven repository</name> |
| 193 | <url>http://repo2.maven.org/maven2/</url> |
| 194 | </repository> |
| 195 | <repository> |
Yuli Shlosberg | e303f8c | 2017-12-31 16:30:45 +0200 | [diff] [blame] | 196 | <id>onap-releases</id> |
Pavel Aharoni | 47cd117 | 2017-08-21 21:28:48 +0300 | [diff] [blame] | 197 | <name>Release Repository</name> |
| 198 | <url>${nexus.proxy}/content/repositories/releases/</url> |
| 199 | </repository> |
| 200 | <repository> |
Yuli Shlosberg | e303f8c | 2017-12-31 16:30:45 +0200 | [diff] [blame] | 201 | <id>onap-snapshots</id> |
Pavel Aharoni | ea45979 | 2017-11-21 17:26:49 +0200 | [diff] [blame] | 202 | <name>Snapshots Repository</name> |
| 203 | <url>${nexus.proxy}/content/repositories/snapshots/</url> |
| 204 | </repository> |
Pavel Aharoni | 47cd117 | 2017-08-21 21:28:48 +0300 | [diff] [blame] | 205 | </repositories> |
| 206 | |
| 207 | <distributionManagement> |
| 208 | <repository> |
Yuli Shlosberg | e303f8c | 2017-12-31 16:30:45 +0200 | [diff] [blame] | 209 | <id>onap-releases</id> |
Pavel Aharoni | 47cd117 | 2017-08-21 21:28:48 +0300 | [diff] [blame] | 210 | <name>Release Repository</name> |
| 211 | <url>${nexus.proxy}/content/repositories/${releases.path}/</url> |
| 212 | </repository> |
| 213 | <snapshotRepository> |
Yuli Shlosberg | e303f8c | 2017-12-31 16:30:45 +0200 | [diff] [blame] | 214 | <id>onap-snapshots</id> |
Pavel Aharoni | 47cd117 | 2017-08-21 21:28:48 +0300 | [diff] [blame] | 215 | <name>Snapshot Repository</name> |
| 216 | <url>${nexus.proxy}/content/repositories/${snapshots.path}/</url> |
| 217 | </snapshotRepository> |
| 218 | <site> |
Yuli Shlosberg | e303f8c | 2017-12-31 16:30:45 +0200 | [diff] [blame] | 219 | <id>onap-site</id> |
Pavel Aharoni | 47cd117 | 2017-08-21 21:28:48 +0300 | [diff] [blame] | 220 | <url>dav:${nexus.proxy}${sitePath}</url> |
| 221 | </site> |
| 222 | </distributionManagement> |
| 223 | |
Jessica Wagantall | bb51c30 | 2017-09-08 13:05:56 -0700 | [diff] [blame] | 224 | </project> |