servlet-utils
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>pl.morgwai.base</groupId> <artifactId>servlet-utils</artifactId> <version>6.3-javax</version> </dependency>
<?xml version="1.0" encoding="UTF-8"?> <!-- Copyright 2021 Piotr Morgwai Kotarbinski, Licensed under the Apache License, Version 2.0 --> <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/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>pl.morgwai.base</groupId> <artifactId>servlet-utils</artifactId> <version>6.3-javax</version><!--jakarta--> <name>Servlet utils</name> <description>Some helpful classes when developing servlets</description> <url>https://github.com/morgwai/servlet-utils</url> <licenses> <license> <name>Apache License, Version 2.0</name> <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> <distribution>repo</distribution> </license> </licenses> <scm> <url>https://github.com/morgwai/servlet-utils.git</url> <connection>scm:git:https://github.com/morgwai/servlet-utils.git</connection> <developerConnection>scm:git:ssh://git@github.com/morgwai/servlet-utils.git</developerConnection> </scm> <developers> <developer> <id>morgwai</id> <name>Piotr Morgwai Kotarbinski</name> <email>foss@morgwai.pl</email> <url>http://morgwai.pl/</url> </developer> </developers> <properties> <maven.compiler.release>11</maven.compiler.release> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> </properties> <dependencies> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>[4.13.2,4.999.0]</version> <scope>test</scope> </dependency> <dependency> <groupId>pl.morgwai.base</groupId> <artifactId>jul-utils</artifactId> <version>[4.0,)</version> <scope>test</scope> </dependency> </dependencies> <profiles> <profile> <id>javax</id> <activation> <activeByDefault>true</activeByDefault><!--jakarta:<activeByDefault>false</activeByDefault>--> </activation> <dependencies> <dependency> <groupId>javax.websocket</groupId> <artifactId>javax.websocket-api</artifactId> <version>1.1</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.eclipse.jetty</groupId> <artifactId>jetty-servlet</artifactId> <version>[10.0.7,10.999.0]</version> <scope>test</scope> </dependency> <dependency> <groupId>org.eclipse.jetty.websocket</groupId> <artifactId>websocket-javax-server</artifactId> <version>[10.0.7,10.999.0]</version> <scope>test</scope> </dependency> <dependency> <groupId>org.glassfish.tyrus</groupId> <artifactId>tyrus-server</artifactId> <version>[1.21,1.999]</version> <scope>test</scope> </dependency> <dependency> <groupId>org.glassfish.tyrus</groupId> <artifactId>tyrus-container-grizzly-server</artifactId> <version>[1.21,1.999]</version> <scope>test</scope> </dependency> </dependencies> </profile> <profile> <id>jakarta</id> <activation> <activeByDefault>false</activeByDefault><!--jakarta:<activeByDefault>true</activeByDefault>--> </activation> <dependencies> <dependency> <groupId>jakarta.websocket</groupId> <artifactId>jakarta.websocket-api</artifactId> <version>2.0.0</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.eclipse.jetty</groupId> <artifactId>jetty-servlet</artifactId> <version>[11.0.7,11.999.0]</version> <scope>test</scope> </dependency> <dependency> <groupId>org.eclipse.jetty.websocket</groupId> <artifactId>websocket-jakarta-server</artifactId> <version>[11.0.7,11.999.0]</version> <scope>test</scope> </dependency> <dependency> <groupId>org.glassfish.tyrus</groupId> <artifactId>tyrus-server</artifactId> <version>[2.0.5,2.0.999]</version> <scope>test</scope> </dependency> <dependency> <groupId>org.glassfish.tyrus</groupId> <artifactId>tyrus-container-grizzly-server</artifactId> <version>[2.0.5,2.0.999]</version> <scope>test</scope> </dependency> </dependencies> </profile> </profiles> <distributionManagement> <snapshotRepository> <id>ossrh</id> <url>https://s01.oss.sonatype.org/content/repositories/snapshots</url> </snapshotRepository> <repository> <id>ossrh</id> <url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url> </repository> </distributionManagement> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <executions> <execution> <id>attach-sources</id> <goals> <goal>jar-no-fork</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <configuration> <javadocExecutable>${java.home}/bin/javadoc</javadocExecutable> <links> <link>https://javadoc.io/doc/javax.websocket/javax.websocket-api/1.1</link> <link>https://javadoc.io/doc/jakarta.websocket/jakarta.websocket-api/2.0.0</link> </links> <offlineLinks> <!-- to setup offline javadoc generation run ./setup-offline-javadocs.sh --> <offlineLink> <url>https://javadoc.io/doc/javax.websocket/javax.websocket-api/1.1</url> <location>${settings.localRepository}/javax/websocket/javax.websocket-api/1.1</location> </offlineLink> <offlineLink> <url>https://javadoc.io/doc/jakarta.websocket/jakarta.websocket-api/2.0.0</url> <location>${settings.localRepository}/jakarta/websocket/jakarta.websocket-api/2.0.0</location> </offlineLink> </offlineLinks> </configuration> <executions> <execution> <id>attach-javadocs</id> <goals> <goal>jar</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.sonatype.plugins</groupId> <artifactId>nexus-staging-maven-plugin</artifactId> <extensions>true</extensions> <configuration> <serverId>ossrh</serverId> <nexusUrl>https://s01.oss.sonatype.org/</nexusUrl> <autoReleaseAfterClose>true</autoReleaseAfterClose> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-gpg-plugin</artifactId> <executions> <execution> <id>sign-artifacts</id> <phase>verify</phase> <goals> <goal>sign</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId> <executions> <execution> <id>default-prepare-agent</id> <goals> <goal>prepare-agent</goal> </goals> </execution> <execution> <id>default-report</id> <goals> <goal>report</goal> </goals> </execution> </executions> </plugin> </plugins> </build> </project>