Pavel Aharoni | 8c51a2f | 2017-06-07 17:24:33 +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> |
Pavel Aharoni | 38de9e0 | 2017-06-26 17:16:37 +0300 | [diff] [blame] | 7 | <version>1.1.1-SNAPSHOT</version>
|
Pavel Aharoni | 8c51a2f | 2017-06-07 17:24:33 +0300 | [diff] [blame] | 8 |
|
| 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 | </dependencies>
|
| 57 |
|
| 58 | <reporting>
|
| 59 | <plugins>
|
| 60 | <plugin>
|
| 61 | <groupId>org.apache.maven.plugins</groupId>
|
| 62 | <artifactId>maven-javadoc-plugin</artifactId>
|
| 63 | <version>2.10.4</version>
|
| 64 | <configuration>
|
| 65 | <failOnError>false</failOnError>
|
| 66 | <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
|
| 67 | <docletArtifact>
|
| 68 | <groupId>org.umlgraph</groupId>
|
| 69 | <artifactId>umlgraph</artifactId>
|
| 70 | <version>5.6</version>
|
| 71 | </docletArtifact>
|
| 72 | <additionalparam>-views</additionalparam>
|
| 73 | <useStandardDocletOptions>true</useStandardDocletOptions>
|
| 74 | </configuration>
|
| 75 | </plugin>
|
| 76 | </plugins>
|
| 77 | </reporting>
|
| 78 |
|
| 79 | <build>
|
| 80 | <plugins>
|
| 81 | <plugin>
|
| 82 | <groupId>org.apache.maven.plugins</groupId>
|
| 83 | <artifactId>maven-site-plugin</artifactId>
|
| 84 | <version>3.4</version>
|
| 85 | <dependencies>
|
| 86 | <dependency>
|
| 87 | <groupId>org.apache.maven.wagon</groupId>
|
| 88 | <artifactId>wagon-webdav-jackrabbit</artifactId>
|
| 89 | <version>2.10</version>
|
| 90 | </dependency>
|
| 91 | </dependencies>
|
| 92 | </plugin>
|
| 93 |
|
| 94 | <plugin>
|
| 95 | <groupId>org.jacoco</groupId>
|
| 96 | <artifactId>jacoco-maven-plugin</artifactId>
|
| 97 | <version>0.7.8</version>
|
| 98 | <executions>
|
| 99 | <!-- Unit-Tests -->
|
| 100 | <execution>
|
| 101 | <id>prepare-agent</id>
|
| 102 | <goals>
|
| 103 | <goal>prepare-agent</goal>
|
| 104 | </goals>
|
| 105 | <configuration>
|
| 106 | <destFile>${sonar.jacoco.reportPath}</destFile>
|
| 107 | </configuration>
|
| 108 | </execution>
|
| 109 | </executions>
|
| 110 | </plugin>
|
| 111 |
|
| 112 | <!-- Staging Plugin -->
|
| 113 | <plugin>
|
| 114 | <groupId>org.sonatype.plugins</groupId>
|
| 115 | <artifactId>nexus-staging-maven-plugin</artifactId>
|
| 116 | <version>1.6.7</version>
|
| 117 | <extensions>true</extensions>
|
| 118 | <configuration>
|
| 119 | <nexusUrl>${nexus.proxy}</nexusUrl>
|
| 120 | <stagingProfileId>${staging.profile.id}</stagingProfileId>
|
| 121 | <serverId>ecomp-staging</serverId>
|
| 122 | </configuration>
|
| 123 | </plugin>
|
| 124 |
|
| 125 | <plugin>
|
| 126 | <groupId>org.apache.maven.plugins</groupId>
|
| 127 | <artifactId>maven-compiler-plugin</artifactId>
|
| 128 | <version>2.5.1</version>
|
| 129 | <inherited>true</inherited>
|
| 130 | <configuration>
|
| 131 | <source>1.8</source>
|
| 132 | <target>1.8</target>
|
| 133 | </configuration>
|
| 134 | </plugin>
|
| 135 | <plugin>
|
| 136 | <groupId>org.apache.maven.plugins</groupId>
|
| 137 | <artifactId>maven-javadoc-plugin</artifactId>
|
| 138 | <version>2.10.3</version>
|
| 139 | <configuration />
|
| 140 | </plugin>
|
| 141 | <plugin>
|
| 142 | <groupId>org.codehaus.mojo</groupId>
|
| 143 | <artifactId>license-maven-plugin</artifactId>
|
| 144 | <version>1.10</version>
|
| 145 | <configuration>
|
| 146 | <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
|
| 147 | <processStartTag>============LICENSE_START=======================================================</processStartTag>
|
| 148 | <processEndTag>============LICENSE_END=========================================================</processEndTag>
|
| 149 | <sectionDelimiter>================================================================================</sectionDelimiter>
|
| 150 | <licenseName>apache_v2</licenseName>
|
| 151 | <inceptionYear>2017</inceptionYear>
|
| 152 | <organizationName>AT&T Intellectual Property. All rights
|
| 153 | reserved.</organizationName>
|
| 154 | <projectName>jtosca</projectName>
|
| 155 | <canUpdateCopyright>true</canUpdateCopyright>
|
| 156 | <canUpdateDescription>true</canUpdateDescription>
|
| 157 | <canUpdateLicense>true</canUpdateLicense>
|
| 158 | <emptyLineAfterHeader>true</emptyLineAfterHeader>
|
| 159 | <verbose>false</verbose>
|
| 160 | <includes>
|
| 161 | <include>**/*.java</include>
|
| 162 | </includes>
|
| 163 | </configuration>
|
| 164 | <executions>
|
| 165 | <execution>
|
| 166 | <id>first</id>
|
| 167 | <goals>
|
| 168 | <goal>update-file-header</goal>
|
| 169 | </goals>
|
| 170 | <!--phase>process-sources</phase -->
|
| 171 | </execution>
|
| 172 | </executions>
|
| 173 | </plugin>
|
| 174 | </plugins>
|
| 175 | </build>
|
| 176 |
|
| 177 | <repositories>
|
| 178 | <repository>
|
| 179 | <id>central</id>
|
| 180 | <name>Official Maven repository</name>
|
| 181 | <url>http://repo2.maven.org/maven2/</url>
|
| 182 | </repository>
|
| 183 | <repository>
|
| 184 | <id>ecomp-releases</id>
|
| 185 | <name>Release Repository</name>
|
| 186 | <url>${nexus.proxy}/content/repositories/releases/</url>
|
| 187 | </repository>
|
| 188 | <repository>
|
| 189 | <id>ecomp-staging</id>
|
| 190 | <name>Staging Repository</name>
|
| 191 | <url>${nexus.proxy}/content/repositories/staging/</url>
|
| 192 | </repository>
|
| 193 | </repositories>
|
| 194 |
|
| 195 | <distributionManagement>
|
| 196 | <repository>
|
| 197 | <id>ecomp-releases</id>
|
| 198 | <name>Release Repository</name>
|
| 199 | <url>${nexus.proxy}/content/repositories/${releases.path}/</url>
|
| 200 | </repository>
|
| 201 | <snapshotRepository>
|
| 202 | <id>ecomp-snapshots</id>
|
| 203 | <name>Snapshot Repository</name>
|
| 204 | <url>${nexus.proxy}/content/repositories/${snapshots.path}/</url>
|
| 205 | </snapshotRepository>
|
| 206 | <site>
|
| 207 | <id>ecomp-site</id>
|
| 208 | <url>dav:${nexus.proxy}${sitePath}</url>
|
| 209 | </site>
|
| 210 | </distributionManagement> |
| 211 | |
| 212 | </project> |