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 | --> |
Fiete Ostkamp | ade63a2 | 2022-11-12 18:30:35 +0000 | [diff] [blame^] | 23 | <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 24 | xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
Kajur, Harish (vk250x) | d64d789 | 2018-11-26 00:07:25 -0500 | [diff] [blame] | 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 | 90c86d5 | 2022-10-18 13:14:37 -0400 | [diff] [blame] | 29 | <version>1.9.4</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 | 90c86d5 | 2022-10-18 13:14:37 -0400 | [diff] [blame] | 33 | <version>1.11.0-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 | 90c86d5 | 2022-10-18 13:14:37 -0400 | [diff] [blame] | 48 | <aai.common.version>1.9.4</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> |
Fiete Ostkamp | ade63a2 | 2022-11-12 18:30:35 +0000 | [diff] [blame^] | 68 | <groupId>net.revelc.code.formatter</groupId> |
| 69 | <artifactId>formatter-maven-plugin</artifactId> |
| 70 | <version>2.16.0</version> |
| 71 | <configuration> |
Keong Lim | 2762c11 | 2019-02-28 15:35:40 +1100 | [diff] [blame] | 72 | <configFile>${project.parent.basedir}/onap-java-formatter.xml</configFile> |
Fiete Ostkamp | ade63a2 | 2022-11-12 18:30:35 +0000 | [diff] [blame^] | 73 | </configuration> |
| 74 | <!-- https://code.revelc.net/formatter-maven-plugin/ |
Keong Lim | 2762c11 | 2019-02-28 15:35:40 +1100 | [diff] [blame] | 75 | use mvn formatter:format to rewrite source files |
| 76 | use mvn formatter:validate to validate source files --> |
Fiete Ostkamp | ade63a2 | 2022-11-12 18:30:35 +0000 | [diff] [blame^] | 77 | </plugin> |
Keong Lim | 2762c11 | 2019-02-28 15:35:40 +1100 | [diff] [blame] | 78 | <plugin> |
Fiete Ostkamp | ade63a2 | 2022-11-12 18:30:35 +0000 | [diff] [blame^] | 79 | <groupId>com.diffplug.spotless</groupId> |
| 80 | <artifactId>spotless-maven-plugin</artifactId> |
| 81 | <version>2.27.0</version> |
| 82 | <configuration> |
| 83 | <java> |
| 84 | <importOrder> |
| 85 | <order>com,java,javax,org</order> |
| 86 | </importOrder> |
| 87 | <removeUnusedImports /> |
| 88 | </java> |
| 89 | </configuration> |
| 90 | <!-- https://github.com/diffplug/spotless/tree/master/plugin-maven |
Keong Lim | 2762c11 | 2019-02-28 15:35:40 +1100 | [diff] [blame] | 91 | use mvn spotless:apply to rewrite source files |
| 92 | use mvn spotless:check to validate source files --> |
| 93 | </plugin> |
Kajur, Harish (vk250x) | d64d789 | 2018-11-26 00:07:25 -0500 | [diff] [blame] | 94 | <plugin> |
Kajur, Harish (vk250x) | d64d789 | 2018-11-26 00:07:25 -0500 | [diff] [blame] | 95 | <groupId>org.apache.maven.plugins</groupId> |
| 96 | <artifactId>maven-deploy-plugin</artifactId> |
Kajur, Harish (vk250x) | d64d789 | 2018-11-26 00:07:25 -0500 | [diff] [blame] | 97 | </plugin> |
| 98 | <plugin> |
| 99 | <groupId>com.mycila</groupId> |
| 100 | <artifactId>license-maven-plugin</artifactId> |
Fiete Ostkamp | e4fd0ae | 2022-09-23 14:03:41 +0200 | [diff] [blame] | 101 | <version>4.1</version> |
Kajur, Harish (vk250x) | d64d789 | 2018-11-26 00:07:25 -0500 | [diff] [blame] | 102 | <configuration> |
| 103 | <header>LICENSE.TXT</header> |
| 104 | <includes> |
| 105 | <include>src/main/java/**</include> |
| 106 | <include>src/test/java/**</include> |
| 107 | <include>pom.xml</include> |
| 108 | </includes> |
Kajur, Harish (vk250x) | 009a574 | 2019-04-14 21:32:42 -0400 | [diff] [blame] | 109 | <skipExistingHeaders>true</skipExistingHeaders> |
Kajur, Harish (vk250x) | d64d789 | 2018-11-26 00:07:25 -0500 | [diff] [blame] | 110 | <skip>false</skip> |
| 111 | <validHeaders> |
| 112 | <header>LICENSE_ALT1.txt</header> |
| 113 | </validHeaders> |
| 114 | </configuration> |
Kajur, Harish (vk250x) | d64d789 | 2018-11-26 00:07:25 -0500 | [diff] [blame] | 115 | </plugin> |
Kajur, Harish (vk250x) | 37ce971 | 2019-02-19 15:26:04 -0500 | [diff] [blame] | 116 | <plugin> |
| 117 | <groupId>org.apache.maven.plugins</groupId> |
| 118 | <artifactId>maven-source-plugin</artifactId> |
Fiete Ostkamp | e4fd0ae | 2022-09-23 14:03:41 +0200 | [diff] [blame] | 119 | <version>3.2.1</version> |
Kajur, Harish (vk250x) | 37ce971 | 2019-02-19 15:26:04 -0500 | [diff] [blame] | 120 | <executions> |
| 121 | <execution> |
| 122 | <id>attach-sources</id> |
Kajur, Harish (vk250x) | 8762d34 | 2019-02-20 23:00:33 -0500 | [diff] [blame] | 123 | <phase>verify</phase> |
Kajur, Harish (vk250x) | 37ce971 | 2019-02-19 15:26:04 -0500 | [diff] [blame] | 124 | <goals> |
| 125 | <goal>jar-no-fork</goal> |
| 126 | </goals> |
| 127 | </execution> |
| 128 | </executions> |
| 129 | </plugin> |
Kajur, Harish (vk250x) | d64d789 | 2018-11-26 00:07:25 -0500 | [diff] [blame] | 130 | </plugins> |
| 131 | </pluginManagement> |
| 132 | <plugins> |
| 133 | <plugin> |
| 134 | <groupId>org.apache.maven.plugins</groupId> |
| 135 | <artifactId>maven-site-plugin</artifactId> |
Fiete Ostkamp | e4fd0ae | 2022-09-23 14:03:41 +0200 | [diff] [blame] | 136 | <version>3.12.1</version> |
Kajur, Harish (vk250x) | d64d789 | 2018-11-26 00:07:25 -0500 | [diff] [blame] | 137 | <dependencies> |
| 138 | <dependency> |
| 139 | <groupId>org.apache.maven.wagon</groupId> |
| 140 | <artifactId>wagon-webdav-jackrabbit</artifactId> |
Fiete Ostkamp | e4fd0ae | 2022-09-23 14:03:41 +0200 | [diff] [blame] | 141 | <version>3.5.2</version> |
Kajur, Harish (vk250x) | d64d789 | 2018-11-26 00:07:25 -0500 | [diff] [blame] | 142 | </dependency> |
| 143 | </dependencies> |
| 144 | </plugin> |
| 145 | </plugins> |
| 146 | </build> |
| 147 | <reporting> |
| 148 | <plugins> |
| 149 | <plugin> |
| 150 | <groupId>org.apache.maven.plugins</groupId> |
| 151 | <artifactId>maven-javadoc-plugin</artifactId> |
Fiete Ostkamp | af19b9c | 2022-09-22 09:52:26 +0200 | [diff] [blame] | 152 | <version>3.4.1</version> |
Kajur, Harish (vk250x) | d64d789 | 2018-11-26 00:07:25 -0500 | [diff] [blame] | 153 | <configuration> |
| 154 | <failOnError>false</failOnError> |
| 155 | <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet> |
| 156 | <docletArtifact> |
| 157 | <groupId>org.umlgraph</groupId> |
| 158 | <artifactId>umlgraph</artifactId> |
| 159 | <version>5.6</version> |
| 160 | </docletArtifact> |
| 161 | <additionalparam>-views</additionalparam> |
| 162 | <useStandardDocletOptions>true</useStandardDocletOptions> |
| 163 | </configuration> |
| 164 | </plugin> |
Fiete Ostkamp | ade63a2 | 2022-11-12 18:30:35 +0000 | [diff] [blame^] | 165 | <plugin> |
| 166 | <groupId>org.apache.maven.plugins</groupId> |
| 167 | <artifactId>maven-project-info-reports-plugin</artifactId> |
| 168 | <version>3.4.1</version> |
| 169 | <configuration> |
| 170 | <dependencyDetailsEnabled>false</dependencyDetailsEnabled> |
| 171 | <dependencyLocationsEnabled>false</dependencyLocationsEnabled> |
| 172 | </configuration> |
| 173 | </plugin> |
| 174 | <plugin> |
| 175 | <groupId>org.apache.maven.plugins</groupId> |
| 176 | <artifactId>maven-javadoc-plugin</artifactId> |
| 177 | <version>3.4.1</version> |
| 178 | <configuration> |
| 179 | <additionalparam>-Xdoclint:none</additionalparam> |
| 180 | </configuration> |
| 181 | </plugin> |
Kajur, Harish (vk250x) | d64d789 | 2018-11-26 00:07:25 -0500 | [diff] [blame] | 182 | </plugins> |
| 183 | </reporting> |
| 184 | <pluginRepositories> |
| 185 | <pluginRepository> |
| 186 | <id>central</id> |
Fiete Ostkamp | e4fd0ae | 2022-09-23 14:03:41 +0200 | [diff] [blame] | 187 | <url>https://repo1.maven.org/maven2</url> |
Kajur, Harish (vk250x) | d64d789 | 2018-11-26 00:07:25 -0500 | [diff] [blame] | 188 | </pluginRepository> |
| 189 | <pluginRepository> |
| 190 | <id>EvoSuite</id> |
| 191 | <name>EvoSuite Repository</name> |
Fiete Ostkamp | e4fd0ae | 2022-09-23 14:03:41 +0200 | [diff] [blame] | 192 | <url>https://www.evosuite.org/m2</url> |
Kajur, Harish (vk250x) | d64d789 | 2018-11-26 00:07:25 -0500 | [diff] [blame] | 193 | </pluginRepository> |
| 194 | </pluginRepositories> |
| 195 | <distributionManagement> |
| 196 | <repository> |
| 197 | <id>ecomp-releases</id> |
| 198 | <name>ECOMP Release Repository</name> |
| 199 | <url>${nexusproxy}${release.path}</url> |
| 200 | </repository> |
| 201 | <snapshotRepository> |
| 202 | <id>ecomp-snapshots</id> |
| 203 | <name>ECOMP Snapshot Repository</name> |
| 204 | <url>${nexusproxy}${snapshot.path}</url> |
| 205 | </snapshotRepository> |
| 206 | <site> |
| 207 | <id>ecomp-site</id> |
| 208 | <url>dav:${nexusproxy}${site.path}</url> |
| 209 | </site> |
| 210 | </distributionManagement> |
Fiete Ostkamp | ade63a2 | 2022-11-12 18:30:35 +0000 | [diff] [blame^] | 211 | </project> |