|
| 1 | +<project xmlns="http://maven.apache.org/POM/4.0.0" |
| 2 | + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 3 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 4 | + <modelVersion>4.0.0</modelVersion> |
| 5 | + |
| 6 | + <groupId>org.htmlunit</groupId> |
| 7 | + <artifactId>htmlunit-websocket-client</artifactId> |
| 8 | + <version>3.12.0-SNAPSHOT</version> |
| 9 | + |
| 10 | + <name>HtmlUnit WebSocket Client</name> |
| 11 | + <organization> |
| 12 | + <name>Gargoyle Software Inc.</name> |
| 13 | + <url>http://www.GargoyleSoftware.com/</url> |
| 14 | + </organization> |
| 15 | + <packaging>jar</packaging> |
| 16 | + <description> |
| 17 | + The default WebSocket client used by HtmlUnit. |
| 18 | + The implementation is based on Jetty 9. |
| 19 | + </description> |
| 20 | + <url>https://www.htmlunit.org</url> |
| 21 | + |
| 22 | + <properties> |
| 23 | + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 24 | + <maven.build.timestamp.format>yyyy-MM-dd HH:mm</maven.build.timestamp.format> |
| 25 | + <additionalparam>-Xdoclint:none</additionalparam> |
| 26 | + |
| 27 | + <maven.compiler.source>8</maven.compiler.source> |
| 28 | + <maven.compiler.target>8</maven.compiler.target> |
| 29 | + |
| 30 | + <jetty.version>9.4.53.v20231009</jetty.version> |
| 31 | + </properties> |
| 32 | + |
| 33 | + <dependencies> |
| 34 | + <dependency> |
| 35 | + <groupId>org.eclipse.jetty.websocket</groupId> |
| 36 | + <artifactId>websocket-client</artifactId> |
| 37 | + <version>${jetty.version}</version> |
| 38 | + </dependency> |
| 39 | + </dependencies> |
| 40 | + |
| 41 | + <build> |
| 42 | + <plugins> |
| 43 | + <plugin> |
| 44 | + <groupId>org.apache.maven.plugins</groupId> |
| 45 | + <artifactId>maven-jar-plugin</artifactId> |
| 46 | + <version>3.3.0</version> |
| 47 | + <configuration> |
| 48 | + <archive> |
| 49 | + <manifest> |
| 50 | + <addClasspath>true</addClasspath> |
| 51 | + <mainClass>org.htmlunit.websocket.client.Main</mainClass> |
| 52 | + </manifest> |
| 53 | + </archive> |
| 54 | + </configuration> |
| 55 | + </plugin> |
| 56 | + <plugin> |
| 57 | + <groupId>org.apache.maven.plugins</groupId> |
| 58 | + <artifactId>maven-shade-plugin</artifactId> |
| 59 | + <version>3.5.1</version> |
| 60 | + <executions> |
| 61 | + <execution> |
| 62 | + <phase>package</phase> |
| 63 | + <goals> |
| 64 | + <goal>shade</goal> |
| 65 | + </goals> |
| 66 | + <configuration> |
| 67 | + <artifactSet> |
| 68 | + <excludes> |
| 69 | + </excludes> |
| 70 | + </artifactSet> |
| 71 | + <filters> |
| 72 | + <filter> |
| 73 | + <artifact>*:*</artifact> |
| 74 | + <excludes> |
| 75 | + <exclude>about.html</exclude> |
| 76 | + |
| 77 | + <exclude>META-INF/*.SF</exclude> |
| 78 | + <exclude>META-INF/*.DSA</exclude> |
| 79 | + <exclude>META-INF/*.RSA</exclude> |
| 80 | + <exclude>META-INF/DEPENDENCIES</exclude> |
| 81 | + <exclude>META-INF/NOTICE</exclude> |
| 82 | + </excludes> |
| 83 | + </filter> |
| 84 | + </filters> |
| 85 | + |
| 86 | + <relocations> |
| 87 | + <relocation> |
| 88 | + <pattern>org.eclipse.jetty</pattern> |
| 89 | + <shadedPattern>org.htmlunit.jetty</shadedPattern> |
| 90 | + </relocation> |
| 91 | + </relocations> |
| 92 | + |
| 93 | + <transformers> |
| 94 | + <transformer implementation="org.apache.maven.plugins.shade.resource.ApacheLicenseResourceTransformer"></transformer> |
| 95 | + <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/> |
| 96 | + </transformers> |
| 97 | + </configuration> |
| 98 | + </execution> |
| 99 | + </executions> |
| 100 | + </plugin> |
| 101 | + |
| 102 | + <plugin> |
| 103 | + <groupId>org.apache.maven.plugins</groupId> |
| 104 | + <artifactId>maven-source-plugin</artifactId> |
| 105 | + <version>3.3.0</version> |
| 106 | + <executions> |
| 107 | + <execution> |
| 108 | + <goals> |
| 109 | + <goal>jar</goal> |
| 110 | + </goals> |
| 111 | + </execution> |
| 112 | + </executions> |
| 113 | + </plugin> |
| 114 | + <plugin> |
| 115 | + <groupId>org.apache.maven.plugins</groupId> |
| 116 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 117 | + <version>3.6.0</version> |
| 118 | + <configuration> |
| 119 | + <quiet>true</quiet> |
| 120 | + <!-- see https://stackoverflow.com/questions/69320220/maven-javadoc-listed-classes-twice --> |
| 121 | + <sourcepath>${basedir}/src/main/java</sourcepath> |
| 122 | + <additionalparam>--allow-script-in-comments</additionalparam> |
| 123 | + <links> |
| 124 | + <link>https://docs.oracle.com/javase/8/docs/api/</link> |
| 125 | + <link>https://commons.apache.org/logging/apidocs/</link> |
| 126 | + <link>https://commons.apache.org/codec/apidocs/</link> |
| 127 | + <link>https://hc.apache.org/httpcomponents-client-4.5.x/current/httpclient/apidocs/</link> |
| 128 | + </links> |
| 129 | + </configuration> |
| 130 | + <executions> |
| 131 | + <execution> |
| 132 | + <goals> |
| 133 | + <goal>jar</goal> |
| 134 | + </goals> |
| 135 | + </execution> |
| 136 | + </executions> |
| 137 | + </plugin> |
| 138 | + <plugin> |
| 139 | + <groupId>org.apache.maven.plugins</groupId> |
| 140 | + <artifactId>maven-gpg-plugin</artifactId> |
| 141 | + <version>3.1.0</version> |
| 142 | + <executions> |
| 143 | + <execution> |
| 144 | + <phase>verify</phase> |
| 145 | + <goals> |
| 146 | + <goal>sign</goal> |
| 147 | + </goals> |
| 148 | + </execution> |
| 149 | + </executions> |
| 150 | + </plugin> |
| 151 | + </plugins> |
| 152 | + </build> |
| 153 | + |
| 154 | + |
| 155 | + <issueManagement> |
| 156 | + <system>GitHub</system> |
| 157 | + <url>https://github.com/HtmlUnit/htmlunit/issues/</url> |
| 158 | + </issueManagement> |
| 159 | + <inceptionYear>2021</inceptionYear> |
| 160 | + <licenses> |
| 161 | + <license> |
| 162 | + <name>Apache License, Version 2.0</name> |
| 163 | + <url>https://www.apache.org/licenses/LICENSE-2.0.txt</url> |
| 164 | + <distribution>repo</distribution> |
| 165 | + </license> |
| 166 | + </licenses> |
| 167 | + |
| 168 | + <scm> |
| 169 | + <connection>scm:git:https://github.com/HtmlUnit/htmlunit</connection> |
| 170 | + <developerConnection>scm:git:https://github.com/HtmlUnit/htmlunit</developerConnection> |
| 171 | + <url>https://github.com/HtmlUnit/htmlunit</url> |
| 172 | + </scm> |
| 173 | + |
| 174 | + <ciManagement> |
| 175 | + <system>Jenkins</system> |
| 176 | + <url>https://jenkins.wetator.org/view/HtmlUnit/</url> |
| 177 | + </ciManagement> |
| 178 | + |
| 179 | + <developers> |
| 180 | + <developer> |
| 181 | + <name>Ronald Brill</name> |
| 182 | + <id>rbri</id> |
| 183 | + |
| 184 | + <url>http://www.wetator.org/</url> |
| 185 | + <timezone>+1</timezone> |
| 186 | + </developer> |
| 187 | + </developers> |
| 188 | + <contributors> |
| 189 | + </contributors> |
| 190 | + <distributionManagement> |
| 191 | + <snapshotRepository> |
| 192 | + <id>sonatype-nexus-snapshots</id> |
| 193 | + <url>https://s01.oss.sonatype.org/content/repositories/snapshots</url> |
| 194 | + </snapshotRepository> |
| 195 | + <repository> |
| 196 | + <id>sonatype-nexus-staging</id> |
| 197 | + <url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2</url> |
| 198 | + </repository> |
| 199 | + </distributionManagement> |
| 200 | + |
| 201 | + <repositories> |
| 202 | + <repository> |
| 203 | + <snapshots> |
| 204 | + <enabled>true</enabled> |
| 205 | + <updatePolicy>always</updatePolicy> |
| 206 | + </snapshots> |
| 207 | + <releases> |
| 208 | + <enabled>false</enabled> |
| 209 | + </releases> |
| 210 | + <id>OSS Sonatype snapshots</id> |
| 211 | + <url>https://oss.sonatype.org/content/repositories/snapshots/</url> |
| 212 | + </repository> |
| 213 | + </repositories> |
| 214 | + |
| 215 | +</project> |
0 commit comments