jetty.project/jetty-util/pom.xml

162 lines
5.5 KiB
XML
Raw Normal View History

2017-06-06 11:55:12 -04:00
<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">
<parent>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-project</artifactId>
2018-05-03 12:48:05 -04:00
<version>9.4.11-SNAPSHOT</version>
2017-06-06 11:55:12 -04:00
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>jetty-util</artifactId>
<name>Jetty :: Utilities</name>
<description>Utility classes for Jetty</description>
<url>http://www.eclipse.org/jetty</url>
<properties>
<bundle-symbolic-name>${project.groupId}.util</bundle-symbolic-name>
</properties>
<build>
<resources>
<resource>
<directory>src/main/resources</directory>
<filtering>true</filtering>
</resource>
</resources>
2017-06-06 11:55:12 -04:00
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>findbugs-maven-plugin</artifactId>
<configuration>
<onlyAnalyze>org.eclipse.jetty.util.*</onlyAnalyze>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>buildnumber-maven-plugin</artifactId>
<executions>
<execution>
<id>create-buildnumber</id>
<goals>
<goal>create</goal>
</goals>
<configuration>
<doCheck>false</doCheck>
<doUpdate>false</doUpdate>
<revisionOnScmFailure>${nonCanonicalRevision}</revisionOnScmFailure>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<extensions>true</extensions>
Jetty 9.4.x 1803 proposal 0+2 (#2199) Merging this PR for #2199 as we currently think it is not worse than previous and the code base is definitely simpler. While JMH has shown significant benefits for this approach, we have yet been able to demonstrate them in full scale integration tests - however that is likely due to GC and thread pool issues dominating. A `org.eclipse.jetty.http2.PEC_MODE` System property has been added to allow the EWYK scheduling to be disabled for HTTP/2 if need be. * Implementation of #1803 proposal 2 - EITHER dispatch type for EWYK * made code more readable * increase small threadpools in tests for extra reserved thread * clean up * minor code simplifications * Work in progress to simplify reserved thread pool * use a single ReservedThreadPool built into the QueuedThreadPool * fixed javadoc * removed more old reserved thread references * disable EWYK for h2 * fixes from review * use EWYK for HTTP2 * Fixed javadocs, imports and QueuedThreadPool constructors. * fix javadoc * EWYK avoid unnecessary pendings * after review * fixed merge with jetty-threadpool.xml * alternate EWYK implementations * added jetty copyright headers * Simplified EWYK code after review * fixed bad merge * Code cleanups. * Improved Javadocs for deprecated property "reservedThreads". * Improved Javadocs for deprecated property "reservedThreads". * added a system property to enable only PEC for HTTP/2 Signed-off-by: Greg Wilkins <gregw@webtide.com> Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-02-26 22:29:59 -05:00
<configuration>
<instructions>
<Require-Capability>osgi.serviceloader; filter:="(osgi.serviceloader=org.eclipse.jetty.util.security.CredentialProvider)";resolution:=optional;cardinality:=multiple, osgi.extender; filter:="(osgi.extender=osgi.serviceloader.processor)";resolution:=optional</Require-Capability>
Jetty 9.4.x 1803 proposal 0+2 (#2199) Merging this PR for #2199 as we currently think it is not worse than previous and the code base is definitely simpler. While JMH has shown significant benefits for this approach, we have yet been able to demonstrate them in full scale integration tests - however that is likely due to GC and thread pool issues dominating. A `org.eclipse.jetty.http2.PEC_MODE` System property has been added to allow the EWYK scheduling to be disabled for HTTP/2 if need be. * Implementation of #1803 proposal 2 - EITHER dispatch type for EWYK * made code more readable * increase small threadpools in tests for extra reserved thread * clean up * minor code simplifications * Work in progress to simplify reserved thread pool * use a single ReservedThreadPool built into the QueuedThreadPool * fixed javadoc * removed more old reserved thread references * disable EWYK for h2 * fixes from review * use EWYK for HTTP2 * Fixed javadocs, imports and QueuedThreadPool constructors. * fix javadoc * EWYK avoid unnecessary pendings * after review * fixed merge with jetty-threadpool.xml * alternate EWYK implementations * added jetty copyright headers * Simplified EWYK code after review * fixed bad merge * Code cleanups. * Improved Javadocs for deprecated property "reservedThreads". * Improved Javadocs for deprecated property "reservedThreads". * added a system property to enable only PEC for HTTP/2 Signed-off-by: Greg Wilkins <gregw@webtide.com> Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-02-26 22:29:59 -05:00
</instructions>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
Jetty 9.4.x 1803 proposal 0+2 (#2199) Merging this PR for #2199 as we currently think it is not worse than previous and the code base is definitely simpler. While JMH has shown significant benefits for this approach, we have yet been able to demonstrate them in full scale integration tests - however that is likely due to GC and thread pool issues dominating. A `org.eclipse.jetty.http2.PEC_MODE` System property has been added to allow the EWYK scheduling to be disabled for HTTP/2 if need be. * Implementation of #1803 proposal 2 - EITHER dispatch type for EWYK * made code more readable * increase small threadpools in tests for extra reserved thread * clean up * minor code simplifications * Work in progress to simplify reserved thread pool * use a single ReservedThreadPool built into the QueuedThreadPool * fixed javadoc * removed more old reserved thread references * disable EWYK for h2 * fixes from review * use EWYK for HTTP2 * Fixed javadocs, imports and QueuedThreadPool constructors. * fix javadoc * EWYK avoid unnecessary pendings * after review * fixed merge with jetty-threadpool.xml * alternate EWYK implementations * added jetty copyright headers * Simplified EWYK code after review * fixed bad merge * Code cleanups. * Improved Javadocs for deprecated property "reservedThreads". * Improved Javadocs for deprecated property "reservedThreads". * added a system property to enable only PEC for HTTP/2 Signed-off-by: Greg Wilkins <gregw@webtide.com> Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-02-26 22:29:59 -05:00
<finalName>${jmhjar.name}</finalName>
<shadeTestJar>true</shadeTestJar>
<artifactSet>
<includes>
<include>org.openjdk.jmh:jmh-core</include>
</includes>
</artifactSet>
<transformers>
<transformer
implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
<mainClass>org.openjdk.jmh.Main</mainClass>
</transformer>
</transformers>
<filters>
<filter>
<artifact>org.openjdk.jmh:jmh-core</artifact>
<includes>
<include>**</include>
</includes>
</filter>
<filter>
<artifact>*:*</artifact>
<excludes>
<exclude>META-INF/*.SF</exclude>
<exclude>META-INF/*.DSA</exclude>
<exclude>META-INF/*.RSA</exclude>
</excludes>
</filter>
</filters>
</configuration>
Jetty 9.4.x 1803 proposal 0+2 (#2199) Merging this PR for #2199 as we currently think it is not worse than previous and the code base is definitely simpler. While JMH has shown significant benefits for this approach, we have yet been able to demonstrate them in full scale integration tests - however that is likely due to GC and thread pool issues dominating. A `org.eclipse.jetty.http2.PEC_MODE` System property has been added to allow the EWYK scheduling to be disabled for HTTP/2 if need be. * Implementation of #1803 proposal 2 - EITHER dispatch type for EWYK * made code more readable * increase small threadpools in tests for extra reserved thread * clean up * minor code simplifications * Work in progress to simplify reserved thread pool * use a single ReservedThreadPool built into the QueuedThreadPool * fixed javadoc * removed more old reserved thread references * disable EWYK for h2 * fixes from review * use EWYK for HTTP2 * Fixed javadocs, imports and QueuedThreadPool constructors. * fix javadoc * EWYK avoid unnecessary pendings * after review * fixed merge with jetty-threadpool.xml * alternate EWYK implementations * added jetty copyright headers * Simplified EWYK code after review * fixed bad merge * Code cleanups. * Improved Javadocs for deprecated property "reservedThreads". * Improved Javadocs for deprecated property "reservedThreads". * added a system property to enable only PEC for HTTP/2 Signed-off-by: Greg Wilkins <gregw@webtide.com> Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-02-26 22:29:59 -05:00
</execution>
</executions>
</plugin>
2017-06-06 11:55:12 -04:00
</plugins>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<systemPropertyVariables>
<mavenRepoPath>${settings.localRepository}</mavenRepoPath>
</systemPropertyVariables>
</configuration>
</plugin>
</plugins>
</pluginManagement>
2017-06-06 11:55:12 -04:00
</build>
<dependencies>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.eclipse.jetty.toolchain</groupId>
<artifactId>jetty-perf-helper</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.eclipse.jetty.toolchain</groupId>
<artifactId>jetty-test-helper</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<scope>provided</scope>
<optional>true</optional>
</dependency>
<!--
This dependency is used to test Slf4jLog.
Due to the introduction of src/test/resource/jetty-logging.properties (and the Log.static{} block)
the default Log implementation is still StdErrLog during testing.
-->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-jdk14</artifactId>
<version>${slf4j.version}</version>
2017-06-06 11:55:12 -04:00
<scope>test</scope>
</dependency>
Jetty 9.4.x 1803 proposal 0+2 (#2199) Merging this PR for #2199 as we currently think it is not worse than previous and the code base is definitely simpler. While JMH has shown significant benefits for this approach, we have yet been able to demonstrate them in full scale integration tests - however that is likely due to GC and thread pool issues dominating. A `org.eclipse.jetty.http2.PEC_MODE` System property has been added to allow the EWYK scheduling to be disabled for HTTP/2 if need be. * Implementation of #1803 proposal 2 - EITHER dispatch type for EWYK * made code more readable * increase small threadpools in tests for extra reserved thread * clean up * minor code simplifications * Work in progress to simplify reserved thread pool * use a single ReservedThreadPool built into the QueuedThreadPool * fixed javadoc * removed more old reserved thread references * disable EWYK for h2 * fixes from review * use EWYK for HTTP2 * Fixed javadocs, imports and QueuedThreadPool constructors. * fix javadoc * EWYK avoid unnecessary pendings * after review * fixed merge with jetty-threadpool.xml * alternate EWYK implementations * added jetty copyright headers * Simplified EWYK code after review * fixed bad merge * Code cleanups. * Improved Javadocs for deprecated property "reservedThreads". * Improved Javadocs for deprecated property "reservedThreads". * added a system property to enable only PEC for HTTP/2 Signed-off-by: Greg Wilkins <gregw@webtide.com> Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-02-26 22:29:59 -05:00
<dependency>
<groupId>org.openjdk.jmh</groupId>
<artifactId>jmh-core</artifactId>
<version>${jmh.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.openjdk.jmh</groupId>
<artifactId>jmh-generator-annprocess</artifactId>
<version>${jmh.version}</version>
<scope>test</scope>
</dependency>
2017-06-06 11:55:12 -04:00
</dependencies>
</project>