first pass for mod files for distribution

This commit is contained in:
Jesse McConnell 2013-08-22 11:53:58 -05:00
parent 5600d411ed
commit 725e405dac
29 changed files with 413 additions and 139 deletions

View File

@ -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

View File

@ -1,4 +1,5 @@
<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">
<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>
@ -15,6 +16,23 @@
</properties>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
<configuration>
<descriptorRefs>
<descriptorRef>config</descriptorRef>
</descriptorRefs>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
@ -32,9 +50,7 @@
</execution>
</executions>
</plugin>
<!--
Required for OSGI
-->
<!-- Required for OSGI -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
@ -115,13 +131,7 @@
<version>${project.version}</version>
<scope>test</scope>
</dependency>
<!--
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-websocket</artifactId>
<version>${project.version}</version>
<scope>test</scope>
</dependency>-->
<dependency>
<groupId>org.eclipse.jetty.toolchain</groupId>
<artifactId>jetty-test-helper</artifactId>

View File

@ -0,0 +1,6 @@
#
# Client Feature
#
# Client jars
LIB=lib/jetty-client-${jetty.version}.jar

View File

@ -0,0 +1,9 @@
#
# Deploy Feature
#
# Deploy jars
LIB=lib/jetty-deploy-${jetty.version}.jar
# Deploy configuration
etc/jetty-deploy.xml

View File

@ -612,6 +612,11 @@
<artifactId>jetty-proxy</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-overlay-deployer</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-jaas</artifactId>

View File

@ -0,0 +1,9 @@
#
# JAAS Feature
#
# JAAS jars
LIB=lib/jetty-jaas-${jetty.version}.jar
# JAAS configuration
etc/jetty-jaas.xml

View File

@ -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

View File

@ -14,6 +14,23 @@
</properties>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
<configuration>
<descriptorRefs>
<descriptorRef>config</descriptorRef>
</descriptorRefs>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>

View File

@ -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

View File

@ -0,0 +1,10 @@
#
# Jetty Monitor module
#
DEPEND=server
DEPEND=client
LIB=lib/jetty-monitor-${jetty.version}.jar
etc/jetty-monitor.xml

View File

@ -14,6 +14,23 @@
<build>
<defaultGoal>install</defaultGoal>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
<configuration>
<descriptorRefs>
<descriptorRef>config</descriptorRef>
</descriptorRefs>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>

View File

@ -0,0 +1,7 @@
#
# Jetty Nosql module
#
DEPEND=webapp
LIB=lib/jetty-nosql-${jetty.version}.jar

View File

@ -0,0 +1,10 @@
#
# Jetty Overlay module
#
DEPEND=deploy
LIB=lib/jetty-overlay-deployer-${jetty.version}.jar
# Plus requires configuration
etc/jetty-overlay.xml

View File

@ -0,0 +1,10 @@
#
# Jetty Proxy module
#
DEPEND=server
LIB=lib/jetty-plus-${jetty.version}.jar
# Plus requires configuration
etc/jetty-plus.xml

View File

@ -0,0 +1,10 @@
#
# Jetty Proxy module
#
DEPEND=server
LIB=lib/jetty-proxy-${jetty.version}.jar
# Proxy requires configuration
etc/jetty-proxy.xml

View File

@ -0,0 +1,10 @@
#
# Jetty Rewrite module
#
DEPEND=server
LIB=lib/jetty-rewrite-${jetty.version}.jar
# Annotations needs annotations configuration
etc/jetty-rewrite.xml

View File

@ -0,0 +1,6 @@
#
# Base Module
#
LIB=lib/jetty-util-${jetty.version}.jar
LIB=lib/jetty-io-${jetty.version}.jar

View File

@ -0,0 +1,7 @@
#
# Debug module
#
DEPEND=server
etc/jetty-debug.xml

View File

@ -0,0 +1,7 @@
#
# Jetty HTTP Server
#
DEPEND=server
etc/jetty-http.xml

View File

@ -0,0 +1,8 @@
#
# Jetty HTTP Server
#
DEPEND=server
etc/jetty-ssl.xml
etc/jetty-https.xml

View File

@ -0,0 +1,7 @@
#
# IPAccess module
#
DEPEND=server
etc/jetty-ipaccess.xml

View File

@ -0,0 +1,7 @@
#
# Low Resources module
#
DEPEND=server
etc/jetty-lowresources.xml

View File

@ -0,0 +1,7 @@
#
# Request Log module
#
DEPEND=server
etc/jetty-requestlog.xml

View File

@ -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

View File

@ -0,0 +1,7 @@
#
# Stats module
#
DEPEND=server
etc/jetty-stats.xml

View File

@ -0,0 +1,7 @@
#
# Stats module
#
DEPEND=server
etc/jetty-xinetd.xml

View File

@ -0,0 +1,8 @@
#
# Jetty XML Configuration
#
DEPEND=base
LIB=lib/jetty-xml-${jetty.version}.jar

View File

@ -27,6 +27,23 @@
</resource>
</resources>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
<configuration>
<descriptorRefs>
<descriptorRef>config</descriptorRef>
</descriptorRefs>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>

View File

@ -0,0 +1,7 @@
#
# Base server
#
DEPEND=deploy
LIB=lib/jetty-webapp-${jetty.version}.jar