Kajur, Harish (vk250x) | d64d789 | 2018-11-26 00:07:25 -0500 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!-- |
| 3 | |
| 4 | ============LICENSE_START======================================================= |
| 5 | org.onap.aai |
| 6 | ================================================================================ |
| 7 | Copyright © 2017-2018 AT&T Intellectual Property. All rights reserved. |
| 8 | ================================================================================ |
| 9 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 10 | you may not use this file except in compliance with the License. |
| 11 | You may obtain a copy of the License at |
| 12 | |
| 13 | http://www.apache.org/licenses/LICENSE-2.0 |
| 14 | |
| 15 | Unless required by applicable law or agreed to in writing, software |
| 16 | distributed under the License is distributed on an "AS IS" BASIS, |
| 17 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 18 | See the License for the specific language governing permissions and |
| 19 | limitations under the License. |
| 20 | ============LICENSE_END========================================================= |
| 21 | |
| 22 | --> |
| 23 | <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0" |
| 24 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 25 | <modelVersion>4.0.0</modelVersion> |
| 26 | <parent> |
Jimmy Forsyth | 1bdeba3 | 2019-12-12 10:46:50 -0500 | [diff] [blame] | 27 | <groupId>org.onap.aai.aai-common</groupId> |
| 28 | <artifactId>aai-parent</artifactId> |
wr148d | 2b462c8 | 2022-01-26 12:55:50 -0500 | [diff] [blame] | 29 | <version>1.9.2</version> |
Kajur, Harish (vk250x) | d64d789 | 2018-11-26 00:07:25 -0500 | [diff] [blame] | 30 | </parent> |
| 31 | <groupId>org.onap.aai.schema-service</groupId> |
| 32 | <artifactId>schema-service</artifactId> |
wr148d | 057f9a7 | 2022-01-27 10:12:20 -0500 | [diff] [blame] | 33 | <version>1.9.3-SNAPSHOT</version> |
Kajur, Harish (vk250x) | d64d789 | 2018-11-26 00:07:25 -0500 | [diff] [blame] | 34 | <name>aai-schema-service</name> |
| 35 | <packaging>pom</packaging> |
| 36 | <modules> |
Kajur, Harish (vk250x) | d8393a8 | 2018-12-13 08:37:13 -0500 | [diff] [blame] | 37 | <module>aai-annotations</module> |
| 38 | <module>aai-schema-gen</module> |
| 39 | <module>aai-schema</module> |
Kajur, Harish (vk250x) | 47fe584 | 2019-01-22 17:11:02 -0500 | [diff] [blame] | 40 | <module>aai-queries</module> |
Kajur, Harish (vk250x) | d64d789 | 2018-11-26 00:07:25 -0500 | [diff] [blame] | 41 | <module>aai-schema-service</module> |
| 42 | </modules> |
| 43 | <properties> |
| 44 | <!-- |
| 45 | Nexus Proxy Properties and Snapshot Locations |
| 46 | Ideally this can be overwritten at runtime per internal environment specific values at runtime |
| 47 | --> |
wr148d | 2b462c8 | 2022-01-26 12:55:50 -0500 | [diff] [blame] | 48 | <aai.common.version>1.9.2</aai.common.version> |
Kajur, Harish (vk250x) | d64d789 | 2018-11-26 00:07:25 -0500 | [diff] [blame] | 49 | <nexusproxy>https://nexus.onap.org</nexusproxy> |
| 50 | <site.path>/content/sites/site/org/onap/aai/resources/${project.artifactId}/${project.version}</site.path> |
| 51 | <release.path>/content/repositories/releases/</release.path> |
| 52 | <snapshot.path>/content/repositories/snapshots/</snapshot.path> |
| 53 | <!-- GMaven plugin uses this property to figure out the name of the docker tag --> |
| 54 | <aai.project.version>${project.version}</aai.project.version> |
| 55 | <checkstyle.skip>false</checkstyle.skip> |
Kajur, Harish (vk250x) | d64d789 | 2018-11-26 00:07:25 -0500 | [diff] [blame] | 56 | </properties> |
| 57 | <build> |
| 58 | <pluginManagement> |
| 59 | <plugins> |
Keong Lim | 2762c11 | 2019-02-28 15:35:40 +1100 | [diff] [blame] | 60 | <!-- |
| 61 | Using https://code.revelc.net/formatter-maven-plugin/ for Eclipse formatter |
| 62 | Using https://github.com/diffplug/spotless/tree/master/plugin-maven for import order |
| 63 | Use in combination to rewrite code and imports, then checkstyle |
Igor Dysko | 37a8cab | 2020-06-27 23:42:28 +0200 | [diff] [blame] | 64 | |
Keong Lim | 2762c11 | 2019-02-28 15:35:40 +1100 | [diff] [blame] | 65 | mvn formatter:format spotless:apply process-sources |
| 66 | --> |
| 67 | <plugin> |
| 68 | <groupId>net.revelc.code.formatter</groupId> |
| 69 | <artifactId>formatter-maven-plugin</artifactId> |
| 70 | <version>2.8.1</version> |
| 71 | <configuration> |
| 72 | <configFile>${project.parent.basedir}/onap-java-formatter.xml</configFile> |
| 73 | </configuration> |
| 74 | <!-- https://code.revelc.net/formatter-maven-plugin/ |
| 75 | use mvn formatter:format to rewrite source files |
| 76 | use mvn formatter:validate to validate source files --> |
| 77 | </plugin> |
| 78 | <plugin> |
| 79 | <groupId>com.diffplug.spotless</groupId> |
| 80 | <artifactId>spotless-maven-plugin</artifactId> |
| 81 | <version>1.18.0</version> |
| 82 | <configuration> |
| 83 | <java> |
| 84 | <importOrder> |
| 85 | <order>com,java,javax,org</order> |
| 86 | </importOrder> |
| 87 | </java> |
| 88 | </configuration> |
| 89 | <!-- https://github.com/diffplug/spotless/tree/master/plugin-maven |
| 90 | use mvn spotless:apply to rewrite source files |
| 91 | use mvn spotless:check to validate source files --> |
| 92 | </plugin> |
Kajur, Harish (vk250x) | d64d789 | 2018-11-26 00:07:25 -0500 | [diff] [blame] | 93 | <plugin> |
Kajur, Harish (vk250x) | d64d789 | 2018-11-26 00:07:25 -0500 | [diff] [blame] | 94 | <groupId>org.apache.maven.plugins</groupId> |
| 95 | <artifactId>maven-deploy-plugin</artifactId> |
Kajur, Harish (vk250x) | d64d789 | 2018-11-26 00:07:25 -0500 | [diff] [blame] | 96 | </plugin> |
| 97 | <plugin> |
| 98 | <groupId>com.mycila</groupId> |
| 99 | <artifactId>license-maven-plugin</artifactId> |
| 100 | <version>3.0</version> |
| 101 | <configuration> |
| 102 | <header>LICENSE.TXT</header> |
| 103 | <includes> |
| 104 | <include>src/main/java/**</include> |
| 105 | <include>src/test/java/**</include> |
| 106 | <include>pom.xml</include> |
| 107 | </includes> |
Kajur, Harish (vk250x) | 009a574 | 2019-04-14 21:32:42 -0400 | [diff] [blame] | 108 | <skipExistingHeaders>true</skipExistingHeaders> |
Kajur, Harish (vk250x) | d64d789 | 2018-11-26 00:07:25 -0500 | [diff] [blame] | 109 | <skip>false</skip> |
| 110 | <validHeaders> |
| 111 | <header>LICENSE_ALT1.txt</header> |
| 112 | </validHeaders> |
| 113 | </configuration> |
Kajur, Harish (vk250x) | d64d789 | 2018-11-26 00:07:25 -0500 | [diff] [blame] | 114 | </plugin> |
Kajur, Harish (vk250x) | 37ce971 | 2019-02-19 15:26:04 -0500 | [diff] [blame] | 115 | <plugin> |
| 116 | <groupId>org.apache.maven.plugins</groupId> |
| 117 | <artifactId>maven-source-plugin</artifactId> |
| 118 | <version>3.0.1</version> |
| 119 | <executions> |
| 120 | <execution> |
| 121 | <id>attach-sources</id> |
Kajur, Harish (vk250x) | 8762d34 | 2019-02-20 23:00:33 -0500 | [diff] [blame] | 122 | <phase>verify</phase> |
Kajur, Harish (vk250x) | 37ce971 | 2019-02-19 15:26:04 -0500 | [diff] [blame] | 123 | <goals> |
| 124 | <goal>jar-no-fork</goal> |
| 125 | </goals> |
| 126 | </execution> |
| 127 | </executions> |
| 128 | </plugin> |
Kajur, Harish (vk250x) | d64d789 | 2018-11-26 00:07:25 -0500 | [diff] [blame] | 129 | </plugins> |
| 130 | </pluginManagement> |
| 131 | <plugins> |
| 132 | <plugin> |
| 133 | <groupId>org.apache.maven.plugins</groupId> |
| 134 | <artifactId>maven-site-plugin</artifactId> |
| 135 | <version>3.6</version> |
| 136 | <configuration> |
| 137 | <reportPlugins> |
| 138 | <plugin> |
| 139 | <groupId>org.apache.maven.plugins</groupId> |
| 140 | <artifactId>maven-project-info-reports-plugin</artifactId> |
| 141 | <version>2.4</version> |
| 142 | <configuration> |
| 143 | <dependencyDetailsEnabled>false</dependencyDetailsEnabled> |
| 144 | <dependencyLocationsEnabled>false</dependencyLocationsEnabled> |
| 145 | </configuration> |
| 146 | <reports> |
| 147 | <report>dependencies</report> |
| 148 | </reports> |
| 149 | </plugin> |
| 150 | <plugin> |
| 151 | <groupId>org.apache.maven.plugins</groupId> |
| 152 | <artifactId>maven-javadoc-plugin</artifactId> |
| 153 | <version>2.8</version> |
| 154 | <configuration> |
| 155 | <additionalparam>-Xdoclint:none</additionalparam> |
| 156 | </configuration> |
| 157 | </plugin> |
| 158 | </reportPlugins> |
| 159 | </configuration> |
| 160 | <dependencies> |
| 161 | <dependency> |
| 162 | <groupId>org.apache.maven.wagon</groupId> |
| 163 | <artifactId>wagon-webdav-jackrabbit</artifactId> |
| 164 | <version>2.10</version> |
| 165 | </dependency> |
| 166 | </dependencies> |
| 167 | </plugin> |
| 168 | </plugins> |
| 169 | </build> |
| 170 | <reporting> |
| 171 | <plugins> |
| 172 | <plugin> |
| 173 | <groupId>org.apache.maven.plugins</groupId> |
| 174 | <artifactId>maven-javadoc-plugin</artifactId> |
| 175 | <version>2.10.4</version> |
| 176 | <configuration> |
| 177 | <failOnError>false</failOnError> |
| 178 | <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet> |
| 179 | <docletArtifact> |
| 180 | <groupId>org.umlgraph</groupId> |
| 181 | <artifactId>umlgraph</artifactId> |
| 182 | <version>5.6</version> |
| 183 | </docletArtifact> |
| 184 | <additionalparam>-views</additionalparam> |
| 185 | <useStandardDocletOptions>true</useStandardDocletOptions> |
| 186 | </configuration> |
| 187 | </plugin> |
| 188 | </plugins> |
| 189 | </reporting> |
| 190 | <pluginRepositories> |
| 191 | <pluginRepository> |
| 192 | <id>central</id> |
| 193 | <url>http://repo1.maven.org/maven2</url> |
| 194 | </pluginRepository> |
| 195 | <pluginRepository> |
| 196 | <id>EvoSuite</id> |
| 197 | <name>EvoSuite Repository</name> |
| 198 | <url>http://www.evosuite.org/m2</url> |
| 199 | </pluginRepository> |
| 200 | </pluginRepositories> |
| 201 | <distributionManagement> |
| 202 | <repository> |
| 203 | <id>ecomp-releases</id> |
| 204 | <name>ECOMP Release Repository</name> |
| 205 | <url>${nexusproxy}${release.path}</url> |
| 206 | </repository> |
| 207 | <snapshotRepository> |
| 208 | <id>ecomp-snapshots</id> |
| 209 | <name>ECOMP Snapshot Repository</name> |
| 210 | <url>${nexusproxy}${snapshot.path}</url> |
| 211 | </snapshotRepository> |
| 212 | <site> |
| 213 | <id>ecomp-site</id> |
| 214 | <url>dav:${nexusproxy}${site.path}</url> |
| 215 | </site> |
| 216 | </distributionManagement> |
| 217 | </project> |