|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<!-- |
| 3 | + Copyright (c) 2021, 2024, Oracle and/or its affiliates. |
| 4 | + Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. |
| 5 | +--> |
| 6 | +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 7 | + <modelVersion>4.0.0</modelVersion> |
| 8 | + <parent> |
| 9 | + <groupId>com.oracle.wls.exporter</groupId> |
| 10 | + <artifactId>wls-exporter-parent</artifactId> |
| 11 | + <version>2.1.9-SNAPSHOT</version> |
| 12 | + </parent> |
| 13 | + <artifactId>wls-exporter-sidecar</artifactId> |
| 14 | + <name>WebLogic Monitoring Exporter Sidecar</name> |
| 15 | + |
| 16 | + <properties> |
| 17 | + <helidon.version>3.2.5</helidon.version> |
| 18 | + <mainClass>com.oracle.wls.exporter.sidecar.Main</mainClass> |
| 19 | + |
| 20 | + <version.plugin.helidon>3.0.7</version.plugin.helidon> |
| 21 | + </properties> |
| 22 | + |
| 23 | + <dependencyManagement> |
| 24 | + <dependencies> |
| 25 | + <dependency> |
| 26 | + <groupId>io.helidon</groupId> |
| 27 | + <artifactId>helidon-dependencies</artifactId> |
| 28 | + <version>${helidon.version}</version> |
| 29 | + <type>pom</type> |
| 30 | + <scope>import</scope> |
| 31 | + </dependency> |
| 32 | + </dependencies> |
| 33 | + </dependencyManagement> |
| 34 | + |
| 35 | + <dependencies> |
| 36 | + <dependency> |
| 37 | + <groupId>io.netty</groupId> |
| 38 | + <artifactId>netty-codec-http</artifactId> |
| 39 | + <version>${netty-version}</version> |
| 40 | + </dependency> |
| 41 | + <dependency> |
| 42 | + <groupId>io.netty</groupId> |
| 43 | + <artifactId>netty-transport</artifactId> |
| 44 | + <version>${netty-version}</version> |
| 45 | + </dependency> |
| 46 | + <dependency> |
| 47 | + <groupId>io.netty</groupId> |
| 48 | + <artifactId>netty-transport-native-unix-common</artifactId> |
| 49 | + <version>${netty-version}</version> |
| 50 | + </dependency> |
| 51 | + <dependency> |
| 52 | + <groupId>io.netty</groupId> |
| 53 | + <artifactId>netty-common</artifactId> |
| 54 | + <version>${netty-version}</version> |
| 55 | + </dependency> |
| 56 | + <dependency> |
| 57 | + <groupId>io.netty</groupId> |
| 58 | + <artifactId>netty-buffer</artifactId> |
| 59 | + <version>${netty-version}</version> |
| 60 | + </dependency> |
| 61 | + <dependency> |
| 62 | + <groupId>io.netty</groupId> |
| 63 | + <artifactId>netty-codec</artifactId> |
| 64 | + <version>${netty-version}</version> |
| 65 | + </dependency> |
| 66 | + <dependency> |
| 67 | + <groupId>io.netty</groupId> |
| 68 | + <artifactId>netty-resolver</artifactId> |
| 69 | + <version>${netty-version}</version> |
| 70 | + </dependency> |
| 71 | + <dependency> |
| 72 | + <groupId>io.helidon.webserver</groupId> |
| 73 | + <artifactId>helidon-webserver</artifactId> |
| 74 | + </dependency> |
| 75 | + <dependency> |
| 76 | + <groupId>${project.groupId}</groupId> |
| 77 | + <artifactId>wls-exporter-core</artifactId> |
| 78 | + <version>${project.version}</version> |
| 79 | + </dependency> |
| 80 | + <dependency> |
| 81 | + <groupId>org.apache.httpcomponents</groupId> |
| 82 | + <artifactId>httpclient</artifactId> |
| 83 | + </dependency> |
| 84 | + <dependency> |
| 85 | + <groupId>org.junit.jupiter</groupId> |
| 86 | + <artifactId>junit-jupiter</artifactId> |
| 87 | + <scope>test</scope> |
| 88 | + </dependency> |
| 89 | + <dependency> |
| 90 | + <groupId>org.junit.jupiter</groupId> |
| 91 | + <artifactId>junit-jupiter-api</artifactId> |
| 92 | + <scope>test</scope> |
| 93 | + </dependency> |
| 94 | + <dependency> |
| 95 | + <groupId>com.meterware.simplestub</groupId> |
| 96 | + <artifactId>simplestub</artifactId> |
| 97 | + <scope>test</scope> |
| 98 | + </dependency> |
| 99 | + <dependency> |
| 100 | + <groupId>io.helidon.webserver</groupId> |
| 101 | + <artifactId>helidon-webserver-test-support</artifactId> |
| 102 | + <scope>test</scope> |
| 103 | + </dependency> |
| 104 | + <dependency> |
| 105 | + <groupId>com.google.guava</groupId> |
| 106 | + <artifactId>guava</artifactId> |
| 107 | + <scope>test</scope> |
| 108 | + </dependency> |
| 109 | + <dependency> |
| 110 | + <groupId>com.jayway.jsonpath</groupId> |
| 111 | + <artifactId>json-path</artifactId> |
| 112 | + <scope>test</scope> |
| 113 | + </dependency> |
| 114 | + </dependencies> |
| 115 | + |
| 116 | + <build> |
| 117 | + <finalName>${project.artifactId}</finalName> |
| 118 | + <pluginManagement> |
| 119 | + <plugins> |
| 120 | + <plugin> |
| 121 | + <groupId>io.helidon.build-tools</groupId> |
| 122 | + <artifactId>helidon-maven-plugin</artifactId> |
| 123 | + <version>${version.plugin.helidon}</version> |
| 124 | + </plugin> |
| 125 | + |
| 126 | + <plugin> |
| 127 | + <groupId>org.apache.maven.plugins</groupId> |
| 128 | + <artifactId>maven-compiler-plugin</artifactId> |
| 129 | + <version>${maven-compiler-plugin-version}</version> |
| 130 | + <configuration> |
| 131 | + <source>21</source> |
| 132 | + <target>21</target> |
| 133 | + <compilerArgs> |
| 134 | + <arg>-Xpkginfo:always</arg> |
| 135 | + <arg>-Xlint:all</arg> |
| 136 | + </compilerArgs> |
| 137 | + </configuration> |
| 138 | + </plugin> |
| 139 | + |
| 140 | + <plugin> |
| 141 | + <groupId>org.apache.maven.plugins</groupId> |
| 142 | + <artifactId>maven-jar-plugin</artifactId> |
| 143 | + <configuration> |
| 144 | + <archive> |
| 145 | + <manifest> |
| 146 | + <addClasspath>true</addClasspath> |
| 147 | + <classpathPrefix>libs</classpathPrefix> |
| 148 | + <mainClass>${mainClass}</mainClass> |
| 149 | + <useUniqueVersions>false</useUniqueVersions> |
| 150 | + </manifest> |
| 151 | + </archive> |
| 152 | + </configuration> |
| 153 | + </plugin> |
| 154 | + </plugins> |
| 155 | + </pluginManagement> |
| 156 | + <plugins> |
| 157 | + <plugin> |
| 158 | + <groupId>org.apache.maven.plugins</groupId> |
| 159 | + <artifactId>maven-dependency-plugin</artifactId> |
| 160 | + <version>${maven-dependency-plugin-version}</version> |
| 161 | + <executions> |
| 162 | + <execution> |
| 163 | + <id>copy-libs</id> |
| 164 | + <phase>prepare-package</phase> |
| 165 | + <goals> |
| 166 | + <goal>copy-dependencies</goal> |
| 167 | + </goals> |
| 168 | + <configuration> |
| 169 | + <outputDirectory>${project.build.directory}/libs</outputDirectory> |
| 170 | + <overWriteReleases>false</overWriteReleases> |
| 171 | + <overWriteSnapshots>false</overWriteSnapshots> |
| 172 | + <overWriteIfNewer>true</overWriteIfNewer> |
| 173 | + <overWriteIfNewer>true</overWriteIfNewer> |
| 174 | + <includeScope>runtime</includeScope> |
| 175 | + </configuration> |
| 176 | + </execution> |
| 177 | + </executions> |
| 178 | + </plugin> |
| 179 | + |
| 180 | + <plugin> |
| 181 | + <groupId>io.helidon.build-tools</groupId> |
| 182 | + <artifactId>helidon-maven-plugin</artifactId> |
| 183 | + <executions> |
| 184 | + <execution> |
| 185 | + <id>third-party-license-report</id> |
| 186 | + </execution> |
| 187 | + </executions> |
| 188 | + </plugin> |
| 189 | + |
| 190 | + <plugin> |
| 191 | + <groupId>org.jacoco</groupId> |
| 192 | + <artifactId>jacoco-maven-plugin</artifactId> |
| 193 | + </plugin> |
| 194 | + |
| 195 | + <plugin> |
| 196 | + <groupId>org.apache.maven.plugins</groupId> |
| 197 | + <artifactId>maven-clean-plugin</artifactId> |
| 198 | + <version>${maven-clean-plugin-version}</version> |
| 199 | + </plugin> |
| 200 | + |
| 201 | + <plugin> |
| 202 | + <groupId>org.apache.maven.plugins</groupId> |
| 203 | + <artifactId>maven-install-plugin</artifactId> |
| 204 | + <version>${maven-install-plugin-version}</version> |
| 205 | + </plugin> |
| 206 | + |
| 207 | + <plugin> |
| 208 | + <groupId>org.apache.maven.plugins</groupId> |
| 209 | + <artifactId>maven-site-plugin</artifactId> |
| 210 | + <version>${maven-site-plugin-version}</version> |
| 211 | + </plugin> |
| 212 | + |
| 213 | + <plugin> |
| 214 | + <groupId>org.apache.maven.plugins</groupId> |
| 215 | + <artifactId>maven-deploy-plugin</artifactId> |
| 216 | + <version>${maven-deploy-plugin-version}</version> |
| 217 | + </plugin> |
| 218 | + |
| 219 | + <plugin> |
| 220 | + <groupId>org.apache.maven.plugins</groupId> |
| 221 | + <artifactId>maven-resources-plugin</artifactId> |
| 222 | + <version>${maven-resources-plugin-version}</version> |
| 223 | + </plugin> |
| 224 | + |
| 225 | + <plugin> |
| 226 | + <groupId>org.apache.maven.plugins</groupId> |
| 227 | + <artifactId>maven-jar-plugin</artifactId> |
| 228 | + <version>${maven-jar-plugin-version}</version> |
| 229 | + </plugin> |
| 230 | + </plugins> |
| 231 | + </build> |
| 232 | +</project> |
0 commit comments