diff --git a/jetty-annotations/src/main/config/modules/annotations.mod b/jetty-annotations/src/main/config/modules/annotations.mod new file mode 100644 index 00000000000..3470bf75c79 --- /dev/null +++ b/jetty-annotations/src/main/config/modules/annotations.mod @@ -0,0 +1,14 @@ +# +# Jetty Annotation Scanning Module +# + +# Annotations needs plus, and jndi features +DEPEND=plus + +# Annotations needs jetty annotation jars +LIB=lib/jetty-annotations-${jetty.version}.jar +# Need annotation processing jars too +LIB=lib/annotations/*.jar + +# Enable annotation scanning webapp configurations +etc/jetty-annotations.xml diff --git a/jetty-client/pom.xml b/jetty-client/pom.xml index a7cd736f1ed..b2ccc2cf64a 100644 --- a/jetty-client/pom.xml +++ b/jetty-client/pom.xml @@ -1,144 +1,154 @@ - - - org.eclipse.jetty - jetty-project - 9.1.0-SNAPSHOT - + + + org.eclipse.jetty + jetty-project + 9.1.0-SNAPSHOT + - 4.0.0 - jetty-client - Jetty :: Asynchronous HTTP Client - http://www.eclipse.org/jetty - - ${project.groupId}.client - target/test-policy - - - - - org.apache.felix - maven-bundle-plugin - true - - - - manifest - - - - javax.net.*,* - - - - - - - - org.apache.maven.plugins - maven-jar-plugin - - - ${project.build.outputDirectory}/META-INF/MANIFEST.MF - - - - - org.codehaus.mojo - findbugs-maven-plugin - - org.eclipse.jetty.client.* - - - - org.apache.maven.plugins - maven-dependency-plugin - - - unpack - generate-test-resources - - unpack - - - - - org.eclipse.jetty.toolchain - jetty-test-policy - ${jetty-test-policy-version} - jar - true - **/*.keystore,**/*.pem - ${jetty.test.policy.loc} - - - - - - - - + 4.0.0 + jetty-client + Jetty :: Asynchronous HTTP Client + http://www.eclipse.org/jetty + + ${project.groupId}.client + target/test-policy + + + + + org.apache.maven.plugins + maven-assembly-plugin + + + package + + single + + + + config + + + + + + + org.apache.felix + maven-bundle-plugin + true + + + + manifest + + + + javax.net.*,* + + + + + + + + org.apache.maven.plugins + maven-jar-plugin + + + ${project.build.outputDirectory}/META-INF/MANIFEST.MF + + + + + org.codehaus.mojo + findbugs-maven-plugin + + org.eclipse.jetty.client.* + + + + org.apache.maven.plugins + maven-dependency-plugin + + + unpack + generate-test-resources + + unpack + + + + + org.eclipse.jetty.toolchain + jetty-test-policy + ${jetty-test-policy-version} + jar + true + **/*.keystore,**/*.pem + ${jetty.test.policy.loc} + + + + + + + + - - - org.eclipse.jetty - jetty-http - ${project.version} - - - org.eclipse.jetty - jetty-io - ${project.version} - - - org.eclipse.jetty.spdy - spdy-client - ${project.version} - + + + org.eclipse.jetty + jetty-http + ${project.version} + + + org.eclipse.jetty + jetty-io + ${project.version} + + + org.eclipse.jetty.spdy + spdy-client + ${project.version} + - - org.eclipse.jetty - jetty-server - ${project.version} - test - - - org.eclipse.jetty - jetty-security - ${project.version} - test - - - org.eclipse.jetty - jetty-servlet - ${project.version} - test - - - - org.eclipse.jetty.toolchain - jetty-test-helper - test - + + org.eclipse.jetty + jetty-server + ${project.version} + test + + + org.eclipse.jetty + jetty-security + ${project.version} + test + + + org.eclipse.jetty + jetty-servlet + ${project.version} + test + + + + org.eclipse.jetty.toolchain + jetty-test-helper + test + - - com.ning - async-http-client - 1.7.5 - test - - - org.apache.httpcomponents - httpclient - 4.2.1 - test - - + + com.ning + async-http-client + 1.7.5 + test + + + org.apache.httpcomponents + httpclient + 4.2.1 + test + + diff --git a/jetty-client/src/main/config/modules/client.mod b/jetty-client/src/main/config/modules/client.mod new file mode 100644 index 00000000000..f434cdc0870 --- /dev/null +++ b/jetty-client/src/main/config/modules/client.mod @@ -0,0 +1,6 @@ +# +# Client Feature +# + +# Client jars +LIB=lib/jetty-client-${jetty.version}.jar diff --git a/jetty-deploy/src/main/config/modules/deploy.mod b/jetty-deploy/src/main/config/modules/deploy.mod new file mode 100644 index 00000000000..5705ac61d91 --- /dev/null +++ b/jetty-deploy/src/main/config/modules/deploy.mod @@ -0,0 +1,9 @@ +# +# Deploy Feature +# + +# Deploy jars +LIB=lib/jetty-deploy-${jetty.version}.jar + +# Deploy configuration +etc/jetty-deploy.xml diff --git a/jetty-distribution/pom.xml b/jetty-distribution/pom.xml index e55ebe97928..bf9aac223e6 100644 --- a/jetty-distribution/pom.xml +++ b/jetty-distribution/pom.xml @@ -612,6 +612,11 @@ jetty-proxy ${project.version} + + org.eclipse.jetty + jetty-overlay-deployer + ${project.version} + org.eclipse.jetty jetty-jaas diff --git a/jetty-jaas/src/main/config/modules/jaas.mod b/jetty-jaas/src/main/config/modules/jaas.mod new file mode 100644 index 00000000000..d0d6f0fa463 --- /dev/null +++ b/jetty-jaas/src/main/config/modules/jaas.mod @@ -0,0 +1,9 @@ +# +# JAAS Feature +# + +# JAAS jars +LIB=lib/jetty-jaas-${jetty.version}.jar + +# JAAS configuration +etc/jetty-jaas.xml diff --git a/jetty-jmx/src/main/config/modules/jmx.mod b/jetty-jmx/src/main/config/modules/jmx.mod new file mode 100644 index 00000000000..2a7922690e9 --- /dev/null +++ b/jetty-jmx/src/main/config/modules/jmx.mod @@ -0,0 +1,9 @@ +# +# JMX Feature +# + +# JMX jars (as defined in start.config) +LIB=lib/jetty-jmx-${jetty.version}.jar + +# JMX configuration +etc/jetty-jmx.xml diff --git a/jetty-jndi/pom.xml b/jetty-jndi/pom.xml index dbd3fbcbdd4..0f088b669e3 100644 --- a/jetty-jndi/pom.xml +++ b/jetty-jndi/pom.xml @@ -14,6 +14,23 @@ + + org.apache.maven.plugins + maven-assembly-plugin + + + package + + single + + + + config + + + + + org.apache.felix maven-bundle-plugin diff --git a/jetty-jndi/src/main/config/modules/jndi.mod b/jetty-jndi/src/main/config/modules/jndi.mod new file mode 100644 index 00000000000..de3087bd26f --- /dev/null +++ b/jetty-jndi/src/main/config/modules/jndi.mod @@ -0,0 +1,12 @@ +# +# JNDI Support +# + +DEPEND=server +DEPEND=plus + +LIB=lib/jetty-jndi-${jetty.version}.jar +LIB=lib/jndi/*.jar + +# Annotations needs annotations configuration +etc/jetty-server.xml diff --git a/jetty-monitor/src/main/config/modules/monitor.mod b/jetty-monitor/src/main/config/modules/monitor.mod new file mode 100644 index 00000000000..249ccef15d1 --- /dev/null +++ b/jetty-monitor/src/main/config/modules/monitor.mod @@ -0,0 +1,10 @@ +# +# Jetty Monitor module +# + +DEPEND=server +DEPEND=client + +LIB=lib/jetty-monitor-${jetty.version}.jar + +etc/jetty-monitor.xml \ No newline at end of file diff --git a/jetty-nosql/pom.xml b/jetty-nosql/pom.xml index e06a15b9cbb..ebfa3c9d392 100644 --- a/jetty-nosql/pom.xml +++ b/jetty-nosql/pom.xml @@ -14,6 +14,23 @@ install + + org.apache.maven.plugins + maven-assembly-plugin + + + package + + single + + + + config + + + + + org.apache.felix maven-bundle-plugin diff --git a/jetty-nosql/src/main/config/modules/nosql.mod b/jetty-nosql/src/main/config/modules/nosql.mod new file mode 100644 index 00000000000..3d8b099ed0e --- /dev/null +++ b/jetty-nosql/src/main/config/modules/nosql.mod @@ -0,0 +1,7 @@ +# +# Jetty Nosql module +# + +DEPEND=webapp + +LIB=lib/jetty-nosql-${jetty.version}.jar \ No newline at end of file diff --git a/jetty-overlay-deployer/src/main/config/modules/overlay.mod b/jetty-overlay-deployer/src/main/config/modules/overlay.mod new file mode 100644 index 00000000000..a006476a60d --- /dev/null +++ b/jetty-overlay-deployer/src/main/config/modules/overlay.mod @@ -0,0 +1,10 @@ +# +# Jetty Overlay module +# + +DEPEND=deploy + +LIB=lib/jetty-overlay-deployer-${jetty.version}.jar + +# Plus requires configuration +etc/jetty-overlay.xml diff --git a/jetty-plus/src/main/config/modules/plus.mod b/jetty-plus/src/main/config/modules/plus.mod new file mode 100644 index 00000000000..31d8e76b95c --- /dev/null +++ b/jetty-plus/src/main/config/modules/plus.mod @@ -0,0 +1,10 @@ +# +# Jetty Proxy module +# + +DEPEND=server + +LIB=lib/jetty-plus-${jetty.version}.jar + +# Plus requires configuration +etc/jetty-plus.xml diff --git a/jetty-proxy/src/main/config/modules/proxy.mod b/jetty-proxy/src/main/config/modules/proxy.mod new file mode 100644 index 00000000000..9e2bc46db8c --- /dev/null +++ b/jetty-proxy/src/main/config/modules/proxy.mod @@ -0,0 +1,10 @@ +# +# Jetty Proxy module +# + +DEPEND=server + +LIB=lib/jetty-proxy-${jetty.version}.jar + +# Proxy requires configuration +etc/jetty-proxy.xml diff --git a/jetty-rewrite/src/main/config/modules/rewrite.mod b/jetty-rewrite/src/main/config/modules/rewrite.mod new file mode 100644 index 00000000000..d5ccf960410 --- /dev/null +++ b/jetty-rewrite/src/main/config/modules/rewrite.mod @@ -0,0 +1,10 @@ +# +# Jetty Rewrite module +# + +DEPEND=server + +LIB=lib/jetty-rewrite-${jetty.version}.jar + +# Annotations needs annotations configuration +etc/jetty-rewrite.xml diff --git a/jetty-server/src/main/config/modules/base.mod b/jetty-server/src/main/config/modules/base.mod new file mode 100644 index 00000000000..f85269aa64c --- /dev/null +++ b/jetty-server/src/main/config/modules/base.mod @@ -0,0 +1,6 @@ +# +# Base Module +# + +LIB=lib/jetty-util-${jetty.version}.jar +LIB=lib/jetty-io-${jetty.version}.jar diff --git a/jetty-server/src/main/config/modules/debug.mod b/jetty-server/src/main/config/modules/debug.mod new file mode 100644 index 00000000000..8cdf5b94ab6 --- /dev/null +++ b/jetty-server/src/main/config/modules/debug.mod @@ -0,0 +1,7 @@ +# +# Debug module +# + +DEPEND=server + +etc/jetty-debug.xml diff --git a/jetty-server/src/main/config/modules/http.mod b/jetty-server/src/main/config/modules/http.mod new file mode 100644 index 00000000000..94eed962e9b --- /dev/null +++ b/jetty-server/src/main/config/modules/http.mod @@ -0,0 +1,7 @@ +# +# Jetty HTTP Server +# + +DEPEND=server + +etc/jetty-http.xml diff --git a/jetty-server/src/main/config/modules/https.mod b/jetty-server/src/main/config/modules/https.mod new file mode 100644 index 00000000000..5e930e934f7 --- /dev/null +++ b/jetty-server/src/main/config/modules/https.mod @@ -0,0 +1,8 @@ +# +# Jetty HTTP Server +# + +DEPEND=server + +etc/jetty-ssl.xml +etc/jetty-https.xml diff --git a/jetty-server/src/main/config/modules/ipaccess.mod b/jetty-server/src/main/config/modules/ipaccess.mod new file mode 100644 index 00000000000..f99f26ec3e3 --- /dev/null +++ b/jetty-server/src/main/config/modules/ipaccess.mod @@ -0,0 +1,7 @@ +# +# IPAccess module +# + +DEPEND=server + +etc/jetty-ipaccess.xml diff --git a/jetty-server/src/main/config/modules/lowresources.mod b/jetty-server/src/main/config/modules/lowresources.mod new file mode 100644 index 00000000000..578d8165edd --- /dev/null +++ b/jetty-server/src/main/config/modules/lowresources.mod @@ -0,0 +1,7 @@ +# +# Low Resources module +# + +DEPEND=server + +etc/jetty-lowresources.xml diff --git a/jetty-server/src/main/config/modules/requestlog.mod b/jetty-server/src/main/config/modules/requestlog.mod new file mode 100644 index 00000000000..060ca9f0a22 --- /dev/null +++ b/jetty-server/src/main/config/modules/requestlog.mod @@ -0,0 +1,7 @@ +# +# Request Log module +# + +DEPEND=server + +etc/jetty-requestlog.xml diff --git a/jetty-server/src/main/config/modules/server.mod b/jetty-server/src/main/config/modules/server.mod new file mode 100644 index 00000000000..06bf6772f5b --- /dev/null +++ b/jetty-server/src/main/config/modules/server.mod @@ -0,0 +1,14 @@ +# +# Base server +# + +DEPEND=base + +LIB=lib/servlet-api-3.1.jar +LIB=lib/jetty-schemas-3.1.jar +LIB=lib/jetty-http-${jetty.version}.jar +LIB=lib/jetty-continuation-${jetty.version}.jar +LIB=lib/jetty-server-${jetty.version}.jar + +# Annotations needs annotations configuration +etc/jetty.xml diff --git a/jetty-server/src/main/config/modules/stats.mod b/jetty-server/src/main/config/modules/stats.mod new file mode 100644 index 00000000000..cd56d5b4d7b --- /dev/null +++ b/jetty-server/src/main/config/modules/stats.mod @@ -0,0 +1,7 @@ +# +# Stats module +# + +DEPEND=server + +etc/jetty-stats.xml diff --git a/jetty-server/src/main/config/modules/xinetd.mod b/jetty-server/src/main/config/modules/xinetd.mod new file mode 100644 index 00000000000..c93064ad767 --- /dev/null +++ b/jetty-server/src/main/config/modules/xinetd.mod @@ -0,0 +1,7 @@ +# +# Stats module +# + +DEPEND=server + +etc/jetty-xinetd.xml diff --git a/jetty-server/src/main/config/modules/xml.mod b/jetty-server/src/main/config/modules/xml.mod new file mode 100644 index 00000000000..949e2057117 --- /dev/null +++ b/jetty-server/src/main/config/modules/xml.mod @@ -0,0 +1,8 @@ +# +# Jetty XML Configuration +# + +DEPEND=base + +LIB=lib/jetty-xml-${jetty.version}.jar + diff --git a/jetty-webapp/pom.xml b/jetty-webapp/pom.xml index b5d5aeffa77..167f1392840 100644 --- a/jetty-webapp/pom.xml +++ b/jetty-webapp/pom.xml @@ -27,6 +27,23 @@ + + org.apache.maven.plugins + maven-assembly-plugin + + + package + + single + + + + config + + + + + org.apache.maven.plugins maven-assembly-plugin diff --git a/jetty-webapp/src/main/config/modules/webapp.mod b/jetty-webapp/src/main/config/modules/webapp.mod new file mode 100644 index 00000000000..187db774b69 --- /dev/null +++ b/jetty-webapp/src/main/config/modules/webapp.mod @@ -0,0 +1,7 @@ +# +# Base server +# + +DEPEND=deploy + +LIB=lib/jetty-webapp-${jetty.version}.jar