Commit Graph

205 Commits

Author SHA1 Message Date
olivier lamy 2c60f59325 some cleanup per Jan review
Signed-off-by: olivier lamy <olamy@webtide.com>
2017-08-08 09:15:04 -07:00
olivier lamy 0fac9c390a simplify code, add more details in junit failure #1623
Signed-off-by: olivier lamy <olamy@webtide.com>
2017-08-08 09:14:56 -07:00
Joakim Erdfelt b8759bc2c7 Renaming to fit Eclipse Jetty naming guidelines 2017-08-08 09:14:23 -07:00
olivier lamy 6ac625e226 add it test for run war exploded mojo
Signed-off-by: olivier lamy <olamy@webtide.com>
2017-08-08 09:13:55 -07:00
olivier lamy 4b513c61e8 add it test for run war mojo
Signed-off-by: olivier lamy <olamy@webtide.com>
2017-08-08 09:13:55 -07:00
olivier lamy dfb4e85c0a fix fragment from dependent projects #1623
Signed-off-by: olivier lamy <olamy@webtide.com>
2017-08-08 09:13:54 -07:00
olivier lamy aae7b38b82 version in only one place
Signed-off-by: olivier lamy <olamy@webtide.com>
2017-08-08 09:13:53 -07:00
olivier lamy 8095da3848 try to fix web fragment for directory classes #1623
Signed-off-by: olivier lamy <olamy@webtide.com>
2017-08-08 09:13:52 -07:00
olivier lamy 7dcab0e5a2 add test with fragment for #1623
Signed-off-by: olivier lamy <olamy@webtide.com>
2017-08-08 09:13:52 -07:00
olivier lamy 4024273fa6 Add it test for Maven Plugin #1638
Signed-off-by: olivier lamy <olamy@webtide.com>
2017-08-08 09:13:51 -07:00
olivier lamy 2f9dc58699 fix run forked support of reactor projects
Signed-off-by: olivier lamy <olamy@webtide.com>
2017-08-08 09:13:50 -07:00
olivier lamy 1cdc94f0a5 add test for run forked mojo
Signed-off-by: olivier lamy <olamy@webtide.com>
2017-08-08 09:13:49 -07:00
olivier lamy b0e5681451 add it for run mojo #1638
Signed-off-by: olivier lamy <olamy@webtide.com>
2017-08-08 09:13:47 -07:00
Greg Wilkins a105be95e4 Issue #1637 Thread per HTTP/2 Connection
This fix simplifies the EWYK scheduler by factoring out the preallocated producer into a
ReservedThreadExecutor class.   A shared ReservedThreadExecutor can then be used by multiple
EWYK instances to avoid over allocation of threads.

Squashed commit of the following:

commit c435dc20e25bd274d69423be1be7b0565925f249
Merge: 58a5a9a 90e5b56
Author: Greg Wilkins <gregw@webtide.com>
Date:   Wed Jun 21 10:48:22 2017 +0200

    Merge branch 'jetty-9.4.x' into jetty-9.4.x-ewyk3

commit 58a5a9a655ee1a72a66f54ac8c95d7c9d73afe85
Author: Simone Bordet <simone.bordet@gmail.com>
Date:   Wed Jun 14 15:56:43 2017 +0200

    Code cleanups.

commit 4e5296216b52948523572352cba391438ff6b494
Author: Greg Wilkins <gregw@webtide.com>
Date:   Wed Jun 14 07:34:58 2017 +0200

    refixed Producing to Reproducing

commit a1f8682f86d1f0803121162e3f14d7768286d3ed
Author: Greg Wilkins <gregw@webtide.com>
Date:   Wed Jun 14 07:26:29 2017 +0200

    fixed Producing to Reproducing

commit 9468932e062d2271d8dc1d43a78544757732fff5
Author: Greg Wilkins <gregw@webtide.com>
Date:   Tue Jun 13 16:33:44 2017 +0200

    fixed javadoc

commit 9d4941eb97638fec09b3fe34d423538d17943b6f
Author: Greg Wilkins <gregw@webtide.com>
Date:   Tue Jun 13 16:05:27 2017 +0200

    Renamed Preallocated to ReservedThread

commit 6d3379ab64c6dcc2a7aa8ec7088afd77863816c2
Author: Greg Wilkins <gregw@webtide.com>
Date:   Tue Jun 13 12:28:52 2017 +0200

    Added configuration in modules

commit 1bd1adea4682538e1546c2ae53f4c9340dafb3bb
Merge: 83418a9 6702248
Author: Greg Wilkins <gregw@webtide.com>
Date:   Tue Jun 13 10:09:29 2017 +0200

    Merge branch 'jetty-9.4.x' into jetty-9.4.x-ewyk3

commit 83418a91320c8bfc54465ca02efdce0d2c874a0e
Author: Greg Wilkins <gregw@webtide.com>
Date:   Tue Jun 13 10:08:35 2017 +0200

    javadoc

commit 62918fd39189fed3414fec4a7c8380c21e90a4b8
Author: Greg Wilkins <gregw@webtide.com>
Date:   Sat Jun 10 00:04:06 2017 +0200

    Improved EatWhatYouKill implementation

    Simplified by abstracting out PreallocatedExecutor
    Removed invocation execution
    HTTP2 now uses a shared PreallocationExcecutor between connection
2017-08-08 09:13:44 -07:00
olivier lamy 20ca6277a8 use outputDirectory from reactor projects rather than having to install dependencies first #1623
Signed-off-by: olivier lamy <olamy@webtide.com>
2017-08-08 09:13:38 -07:00
Jan Bartel 976ffb7ecd Issue #877
And also #1117
2017-03-23 11:24:22 +11:00
Simone Bordet 0c8273f2ca Happy New Year 2017. 2017-01-19 19:26:41 +01:00
Simone Bordet 07838b057f Happy New Year 2017. 2017-01-19 18:54:03 +01:00
Simone Bordet 347c48d657 Revert "resolve merge and update license headers"
This reverts commit 53b31b03dd, reversing
changes made to 4565c186d7.
2017-01-19 18:26:43 +01:00
Jesse McConnell 53b31b03dd resolve merge and update license headers 2017-01-19 09:33:16 -06:00
Jesse McConnell ce3e6dafec update license headers to 2017 2017-01-19 09:30:00 -06:00
Jan Bartel 40d9e56d92 Issue #1117 2016-11-24 14:04:37 +11:00
Jan Bartel 6a17019235 Issue #785 2016-07-28 15:36:02 +10:00
Jan Bartel c913bc7150 Issue #690 2016-07-06 13:41:59 +10:00
Joakim Erdfelt cd39fd84fe Happy New Year 2016 2016-01-04 14:31:22 -07:00
Joakim Erdfelt b5db18378d Happy New Year 2016 2016-01-04 14:21:26 -07:00
Greg Wilkins 3527c6a71b StringUtil.csvSplit(String)
Conflicts:
	jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/AbstractJettyMojo.java
	jetty-security/src/main/java/org/eclipse/jetty/security/PropertyUserStore.java
	jetty-server/src/main/java/org/eclipse/jetty/server/handler/ContextHandler.java
	jetty-servlets/src/main/java/org/eclipse/jetty/servlets/PushCacheFilter.java
	jetty-util/src/main/java/org/eclipse/jetty/util/StringUtil.java
	jetty-xml/src/main/java/org/eclipse/jetty/xml/XmlConfiguration.java
2015-12-08 14:54:33 -07:00
Jan Bartel ac416d21e8 481203 Add ability to set configurations to apply to WebAppContext for jetty-maven-plugin 2015-11-02 12:36:39 +11:00
Joakim Erdfelt 80675ce1d2 Javadoc fixes 2015-10-06 08:03:51 -07:00
Jan Bartel 77bdf84f5c 470505 jetty-maven-plugin JettyWebAppContext#setQuickStartWebDescriptor should accept a Maven-friendly type 2015-07-08 17:10:31 +10:00
Jan Bartel 2349f20edf 470963 Update jetty-maven-plugin mojo annotations for maven 3 2015-06-26 16:35:55 +10:00
Jan Bartel 3ac6a727cf 470803 If a webapp is not fully started do not fully stop it 2015-06-25 18:29:51 +10:00
Greg Wilkins 3e401a62e9 StringUtil.csvSplit(String) 2015-06-19 16:48:53 +10:00
Jan Bartel 1b635ff2f6 462346 Change classesPattern to scanClassesPattern and testClassesPattern to scanTestClassesPattern to clarify purpose 2015-06-17 13:59:54 +10:00
Jan Bartel 1f3be625e6 462346 Add pattern to jetty:run default classes and test classes scan paths 2015-06-17 13:18:56 +10:00
Jan Bartel e30c05cc2b Merge remote-tracking branch 'origin/jetty-9.2.x'
Conflicts:
	tests/test-integration/src/test/java/org/eclipse/jetty/test/support/TestableJettyServer.java
	tests/test-integration/src/test/resources/BIOHttp.xml
	tests/test-integration/src/test/resources/BIOHttps.xml
	tests/test-integration/src/test/resources/NIOHttp.xml
	tests/test-integration/src/test/resources/NIOHttps.xml
2015-04-30 10:44:44 +10:00
Jan Bartel d7de34af76 465202 Forked Mojo does not extract war overlays/dependencies 2015-04-29 18:01:41 +10:00
Joakim Erdfelt 4db2784354 464727 - Update Javadoc for Java 8 DocLint 2015-04-22 16:54:50 -07:00
Simone Bordet 599ab9bb1b 460671 - Rationalize property names.
Property format is now "jetty.<module|component>.<propertyName>".

Updated all references with new properties.
2015-04-13 16:21:48 +02:00
Jan Bartel 247a94c8e5 Integrate cdi with jetty-maven-plugin 2015-03-27 16:18:58 +11:00
Jan Bartel 576892d739 461415 Maven Jetty Plugin ignores ZIP overlays 2015-03-20 16:42:30 +11:00
Joakim Erdfelt a3201a3c81 Happy New Year 2015 2015-01-07 17:06:59 -07:00
Joakim Erdfelt 6a0668b7a1 Happy New Year 2015 2015-01-07 17:03:30 -07:00
Jan Bartel 947a872203 Merge remote-tracking branch 'origin/jetty-9.2.x' 2014-10-31 13:31:12 +11:00
Jan Bartel 30081946d7 449372 Make jvmArgs of jetty:run-forked configurable from command line 2014-10-31 13:29:45 +11:00
Jan Bartel d0a6a34fcc 448675 Impossible to set own Threadpool when using jetty-maven-plugin 2014-10-30 17:19:22 +11:00
Jan Bartel 3eb42e7183 445830 Support setting environment variables on forked jetty with jetty:run-forked 2014-10-03 14:27:35 +10:00
Jan Bartel 607797b005 444676 Goal jetty:deploy-war produces errors with version 9.2.3 2014-09-24 14:33:32 +10:00
Jan Bartel 75c92bf76a 438500 Odd NoClassDef errors when shutting down the jetty-maven-plugin via the stop goal 2014-08-01 12:44:30 +10:00
Greg Wilkins 3a6879d3e8 expanded tabs in indents 2014-07-23 16:49:05 +10:00
Jan Bartel 1dcb7dd986 439194 Do not configure fake server for jetty:run-forked 2014-07-17 08:28:38 +10:00
Jan Bartel 28998e4913 439399 Scan tlds for apache jasper standard taglib with jetty-maven-plugin 2014-07-11 17:38:31 +10:00
Jan Bartel c674c41003 438895 Add mvn jetty:effective-web-xml goal 2014-07-10 17:29:03 +10:00
Jan Bartel b13859c641 Fix javadoc for jetty:run mojo to point to correct documentation. 2014-07-10 17:29:03 +10:00
Greg Wilkins 55ca09a00e 438190 findbug improvements 2014-07-10 14:41:32 +10:00
Jan Bartel 10da0e1015 439194 Refactor mvn jetty:run-forked so that it is configurable the same as the other jetty:run-X goals 2014-07-09 15:07:39 +10:00
Jan Bartel 723640edbd 437430 jettyXml not consistent between jetty:run and jetty:run-forked 2014-06-16 18:31:14 +02:00
Jan Bartel 1386f20cf5 435217 Remove deprecated TagLibConfiguration 2014-05-19 18:20:52 +02:00
Greg Wilkins 0bbec3826c 430341 use apache jsp/jstl for maven plugins 2014-04-03 14:27:27 +11:00
Jan Bartel 8384b0febe 428418 JettyStopMojo prints some messages on System.err 2014-02-19 12:06:10 +11:00
Joakim Erdfelt a12fd9ea03 Happy New Year - 2014! 2014-01-02 14:50:14 -07:00
Jan Bartel 7ecbd97588 418769 Allow resourceBases in run-forked Mojo 2013-11-21 16:55:45 +11:00
Greg Wilkins f567bddad9 global clean up imports 2013-11-04 13:48:03 +11:00
Jan Bartel 9d756dc018 294531 Unpacking webapp twice to the same directory name causes problems with updated jars in WEB-INF/lib 2013-10-28 15:25:21 +11:00
Jan Bartel c5fe3bcfd3 Merge remote-tracking branch 'origin/master' into jetty-9.1
Conflicts:
	jetty-annotations/src/main/java/org/eclipse/jetty/annotations/AnnotationParser.java
	jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/JettyWebAppContext.java
	jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/MavenAnnotationConfiguration.java
2013-10-21 17:27:45 +11:00
Jan Bartel 3f852cf3db 416597 Allow classes and jars on the webappcontext extraclasspath to be scanned for annotations by jetty-maven-plugin 2013-10-21 16:44:33 +11:00
Jan Bartel 278dab08b8 Merge remote-tracking branch 'origin/master' into jetty-9.1
Conflicts:
	jetty-start/src/main/resources/org/eclipse/jetty/start/usage.txt
2013-10-14 17:03:02 +11:00
Jan Bartel 9a330dad1b 418767 run-forked goal ingores test scope dependencies with useTestScope=true 2013-10-14 16:51:59 +11:00
Jan Bartel d505350a9f 418596 Faults in JARs during class scanning should report the jar that caused the problem 2013-10-04 11:02:06 +10:00
Jan Bartel 0400289826 417561 Refactor annotation related code - make annotation phase able to be multithreaded 2013-09-30 13:27:05 +10:00
Greg Wilkins 5f02620603 Merge remote-tracking branch 'origin/master' into jetty-9.1
Conflicts:
	jetty-server/src/main/java/org/eclipse/jetty/server/HttpChannel.java
	jetty-server/src/main/java/org/eclipse/jetty/server/HttpInput.java
2013-09-30 13:20:13 +10:00
Jan Bartel cb554948a2 417574 Setting options with _JAVA_OPTIONS breaks run-forked with <waitForChild>true</waitForChild> 2013-09-30 12:23:14 +10:00
Joakim Erdfelt 1fcede8b8b Merge branch 'master' into jetty-9.1
Conflicts:
	jetty-util/src/test/java/org/eclipse/jetty/util/MultiMapTest.java
2013-09-26 06:07:06 -07:00
Joakim Erdfelt ac40e7ab6a Fixing various javadoc errors 2013-09-25 08:11:32 -07:00
Joakim Erdfelt a20b39e9ab Fixing build error 2013-09-23 14:11:04 -07:00
Jan Bartel d4c035a06f 417561 Refactor annotation related code to remove some deadwood 2013-09-19 15:43:38 +10:00
Jan Bartel f44787075a 417382 - Upgrade to asm 4.1 and refactor annotation parsing 2013-09-17 13:12:54 +10:00
Simone Bordet a23e899aff Enabled JSR WebSocket out of the box. 2013-09-13 11:20:17 +02:00
Simone Bordet c86ecc50fa Fixed logger name and reduced logging level. 2013-09-13 11:20:17 +02:00
Mikhail Mazursky 767faece5c [Bug 415999] Fix some of FindBugs warnings
Mostly not closed streams/DB resources are fixed. But also less
important things.

Signed-off-by: Mikhail Mazursky <mikhail.mazursky@gmail.com>
2013-09-09 00:24:31 -04:00
Jan Bartel 1ad9d6cff6 411934 War overlay configuration assumes src/main/webapp exists 2013-08-22 20:03:46 +10:00
Jesse McConnell ae3286f9fc [Bug 412713] add dumpOnStart configuration to jetty-maven-plugin 2013-07-10 15:54:48 -05:00
Jan Bartel fde47b1083 412637 ShutdownMonitorThread already started 2013-07-10 17:21:43 +10:00
Jan Bartel 232eb4491a Merge remote-tracking branch 'origin/jetty-8'
Conflicts:
	jetty-server/src/main/java/org/eclipse/jetty/server/handler/ContextHandler.java
	jetty-servlet/src/main/java/org/eclipse/jetty/servlet/ServletContextHandler.java
	jetty-servlet/src/main/java/org/eclipse/jetty/servlet/ServletHandler.java
	jetty-webapp/src/main/java/org/eclipse/jetty/webapp/WebAppContext.java
2013-06-17 13:13:59 +10:00
Greg Wilkins 7bb3a7be28 409556 Resource files not closed
Made Resource a closeable so that it is easier to close in a try(){} block. Deprecated release() and made it close() instead.

FileResource no longer extends URLResource as it can more efficiently implement all the methods with pure File operations and have no
connections or streams that need to be release/closed
2013-06-03 18:21:11 +10:00
Jan Bartel d581dac287 409684 Ids and properties not set for execution of jetty xml config files with mvn plugin 2013-06-03 12:34:37 +10:00
Jesse McConnell 74a4077dad Add package-info.java files to all jetty packages. 2013-05-21 15:09:49 -05:00
Jan Bartel 79f6121894 407812 - jetty-maven-plugin can not handle whitespaces in equivalent of WEB-INF/classes paths 2013-05-13 17:51:12 +10:00
Jan Bartel 28d4f41572 405631 Plugin gives error when its started twice 2013-04-26 16:31:10 +10:00
Jan Bartel 4951b1ccc4 404176 Jetty's AnnotationConfiguration class does not scan non-jar resources on the container classpath 2013-03-28 19:33:52 +11:00
Jan Bartel 9be9910cde 227244 Remove import of backport-util-concurrent Arrays class 2013-02-20 09:34:30 +11:00
Jesse McConnell e1c516c7d1 merge from jetty-8 and update license blocks. 2013-01-11 17:04:53 -06:00
Greg Wilkins 27c31fb403 jetty-9 organised imports. Cleaned up some TODOs 2013-01-11 16:37:32 +11:00
Jan Bartel d087a88caf 397114 run-forked with waitForChild=false can lock up 2013-01-10 17:52:07 +11:00
Jan Bartel 346918577f Merge remote-tracking branch 'origin/jetty-8'
Conflicts:
	jetty-client/src/main/java/org/eclipse/jetty/client/AsyncHttpConnection.java
	jetty-server/src/main/java/org/eclipse/jetty/server/AbstractHttpConnection.java
	jetty-server/src/main/java/org/eclipse/jetty/server/Server.java
	jetty-servlet/src/main/java/org/eclipse/jetty/servlet/ServletHandler.java
	jetty-servlets/src/main/java/org/eclipse/jetty/servlets/MultiPartFilter.java
	jetty-servlets/src/test/java/org/eclipse/jetty/servlets/MultipartFilterTest.java
	jetty-util/src/main/java/org/eclipse/jetty/util/MultiPartInputStream.java
	jetty-util/src/test/java/org/eclipse/jetty/util/MultiPartInputStreamTest.java
	jetty-webapp/src/test/java/org/eclipse/jetty/webapp/WebAppContextTest.java
	test-jetty-servlet/src/main/java/org/eclipse/jetty/testing/ServletTester.java
	test-jetty-webapp/src/main/java/com/acme/CookieDump.java
	test-jetty-webapp/src/main/java/com/acme/HelloWorld.java
2012-12-22 15:12:17 +11:00
Jan Bartel d9b34930d5 396460 Make ServerConnector configurable with jetty-maven-plugin 2012-12-13 19:58:50 +11:00
Jan Bartel 2a5a8e0998 JETTY-846 Support maven-war-plugin configuration for jetty-maven-plugin; fix NPE 2012-11-19 13:52:34 +11:00
Jan Bartel fe773d22e1 JETTY-846 Support maven-war-plugin overlay configuration with jetty:run 2012-11-19 12:06:26 +11:00
Greg Wilkins 52464a5ba6 Merge remote-tracking branch 'origin/jetty-8'
Conflicts:
	jetty-annotations/src/main/java/org/eclipse/jetty/annotations/AnnotationParser.java
	jetty-annotations/src/main/java/org/eclipse/jetty/annotations/ResourceAnnotationHandler.java
	jetty-client/src/test/java/org/eclipse/jetty/client/SslHttpExchangeTest.java
	jetty-client/src/test/java/org/eclipse/jetty/client/SslSecurityListenerTest.java
	jetty-deploy/src/main/java/org/eclipse/jetty/deploy/WebAppDeployer.java
	jetty-deploy/src/main/java/org/eclipse/jetty/deploy/providers/ContextProvider.java
	jetty-http/src/main/resources/org/eclipse/jetty/http/mime.properties
	jetty-http/src/test/java/org/eclipse/jetty/http/HttpFieldsTest.java
	jetty-io/src/main/java/org/eclipse/jetty/io/nio/SelectChannelEndPoint.java
	jetty-jmx/src/main/java/org/eclipse/jetty/jmx/MBeanContainer.java
	jetty-jmx/src/main/java/org/eclipse/jetty/jmx/ObjectMBean.java
	jetty-overlay-deployer/src/main/java/org/eclipse/jetty/overlays/OverlayedAppProvider.java
	jetty-plus/src/main/java/org/eclipse/jetty/plus/annotation/Injection.java
	jetty-plus/src/main/java/org/eclipse/jetty/plus/security/DataSourceLoginService.java
	jetty-proxy/src/main/java/org/eclipse/jetty/proxy/ProxyServlet.java
	jetty-rewrite/src/main/java/org/eclipse/jetty/rewrite/handler/ProxyRule.java
	jetty-security/src/main/java/org/eclipse/jetty/security/authentication/FormAuthenticator.java
	jetty-server/src/main/java/org/eclipse/jetty/server/session/JDBCSessionIdManager.java
	jetty-spdy/spdy-http-server/src/main/java/org/eclipse/jetty/spdy/server/proxy/ProxyHTTPSPDYConnection.java
	jetty-spdy/spdy-jetty-http/src/main/java/org/eclipse/jetty/spdy/http/ServerHTTPSPDYAsyncConnection.java
	jetty-start/src/main/java/org/eclipse/jetty/start/Main.java
	jetty-util/src/main/java/org/eclipse/jetty/util/Fields.java
	jetty-websocket/src/main/java/org/eclipse/jetty/websocket/WebSocketClientFactory.java
	jetty-websocket/src/main/java/org/eclipse/jetty/websocket/WebSocketConnectionRFC6455.java
	jetty-websocket/src/test/java/org/eclipse/jetty/websocket/WebSocketClientTest.java
	jetty-websocket/src/test/java/org/eclipse/jetty/websocket/WebSocketMessageRFC6455Test.java
	test-jetty-nested/src/main/java/org/eclipse/jetty/nested/Dump.java
	test-jetty-webapp/src/main/java/com/acme/Dump.java
2012-11-02 14:08:05 +11:00
Jesse McConnell 2ab0ef25bd resolve issues between jetty 8 and jetty 9 maven plugin that jan noticed 2012-11-01 12:08:07 -05:00
Jan Bartel 8186794775 JETTY-1550 virtual WEB-INF not created if project has overlays 2012-11-01 15:37:17 +11:00
Jan Bartel e466fa06b9 393291 Confusing log entry about (non) existing webAppSourceDirectory 2012-11-01 11:44:40 +11:00
Greg Wilkins 129583679a jetty-9 javadoc improvements and renamed SelectChannelConnector to ServerConnector 2012-09-17 17:37:56 +10:00
Simone Bordet 4de5b0ad63 Merged branch 'jetty-9' into jetty-9-client. 2012-08-30 17:24:49 +02:00
Jesse McConnell 79861eaa05 adding in jetty-maven-plugin 2012-08-28 09:35:45 -05:00