jetty.project/linux-packaging.xml

243 lines
8.5 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<linux-packaging>
<mapping>
<dependency>
<groupId>org.mortbay.jetty</groupId>
<artifactId>jsp-api-2.1-glassfish</artifactId>
<debian available="false"/>
<redhat available="false"/>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<required-classes>
<class>ch.qos.logback.classic.LoggerContext</class>
</required-classes>
<debian criteria="&gt;= 0.9.18">liblogback-java</debian>
<redhat available="false"/>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>servlet-api</artifactId>
<version>2.5</version>
<required-classes>
<class>javax.servlet.http.HttpServlet</class>
</required-classes>
<debian available="false"/>
<redhat avaialble="false">tomcat6-servlet-2.5-api</redhat>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<!-- In order to assure proper packaging setup, a few classes
should be specified to check for on the classpath.
If these classes are not present on the classpath, then
the jar is downloaded from the maven repo and used in
an embedded fashion. -->
<required-classes>
<class>junit.framework.Assert</class>
<class>junit.framework.TestCase</class>
</required-classes>
<!-- The debian packaging refers to the version-less package name.
An optional criteria can be specified that would indicate
a minimum version to be present on the system.
This information will (eventually) be verified against
the debian/control file to ensure that the packaging
is still valid.
If the information is determined to not be present
in the debian/control file than a build error is
(hopefully) produced to let the maintainers know
that this information is now out of date. -->
<debian criteria="&gt;= 3.8">junit</debian>
<redhat>junit</redhat>
</dependency>
<dependency>
<groupId>org.eclipse.jdt.core.compiler</groupId>
<artifactId>ecj</artifactId>
<debian available="false"/>
<redhat>ecj</redhat>
</dependency>
<dependency>
<groupId>org.mortbay.jetty</groupId>
<artifactId>jsp-2.1-glassfish</artifactId>
<debian available="false"/>
<redhat available="false"/>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-core</artifactId>
<required-classes>
<class>ch.qos.logback.core.joran.JoranConfiguratorBase</class>
</required-classes>
<debian criteria="&gt;= 0.9.18">liblogback-java</debian>
<redhat available="false"/>
</dependency>
<dependency>
<groupId>org.apache.geronimo.specs</groupId>
<artifactId>geronimo-jaspic_1.0_spec</artifactId>
<debian available="false"/>
<redhat available="false"/>
</dependency>
<dependency>
<groupId>org.eclipse.equinox.http</groupId>
<artifactId>servlet</artifactId>
<debian criteria="&gt;= 3.5">eclipse-platform</debian>
</dependency>
<dependency>
<groupId>org.eclipse.osgi</groupId>
<artifactId>services</artifactId>
<debian available="false"/>
<redhat available="false"/>
</dependency>
<dependency>
<groupId>org.apache.geronimo.specs</groupId>
<artifactId>geronimo-jta_1.1_spec</artifactId>
<debian available="false">libgeronimo-jta-1.1-spec-1.1.1-java</debian>
<redhat available="false"/>
</dependency>
<dependency>
<groupId>org.eclipse</groupId>
<artifactId>osgi</artifactId>
<required-classes>
<class>org.osgi.framework.BundleContext</class>
</required-classes>
<debian available="false"/>
<redhat available="false"/>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>jcl-over-slf4j</artifactId>
<debian criteria="&gt;= 1.5.10">libslf4j-java</debian>
<redhat available="false"/>
</dependency>
<dependency>
<groupId>asm</groupId>
<artifactId>asm-commons</artifactId>
<debian criteria="&gt;= 3.1">libasm3-java</debian>
<redhat available="false"/>
</dependency>
<dependency>
<groupId>ant</groupId>
<artifactId>ant</artifactId>
<debian criteria="&gt;= 1.6">ant</debian>
<redhat>ant</redhat>
</dependency>
<dependency>
<groupId>asm</groupId>
<artifactId>asm</artifactId>
<debian criteria="&gt;= 3.1">libasm3-java</debian>
<redhat available="false"/>
</dependency>
<dependency>
<groupId>asm</groupId>
<artifactId>asm-tree</artifactId>
<debian criteria="&gt;= 3.1">libasm3-java</debian>
<redhat available="false"/>
</dependency>
<dependency>
<groupId>javax.mail</groupId>
<artifactId>mail</artifactId>
<required-classes>
<class>javax.mail.Authenticator</class>
<class>javax.mail.PasswordAuthentication</class>
<class>javax.mail.Session</class>
</required-classes>
<debian>libgnumail-java</debian>
<redhat>sun-mail</redhat>
</dependency>
<dependency>
<groupId>org.apache.geronimo.specs</groupId>
<artifactId>geronimo-annotation_1.0_spec</artifactId>
<debian available="false"/>
<redhat available="false"/>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>log4j-over-slf4j</artifactId>
<debian criteria="&gt;= 1.5.10">libslf4j-java</debian>
<redhat available="false"/>
</dependency>
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
<debian criteria="&gt;= 5.8">testng</debian>
<redhat available="false"/>
</dependency>
<dependency>
<groupId>org.mortbay.jetty</groupId>
<artifactId>servlet-api</artifactId>
<version>3.0.20100224</version>
<required-classes>
<class>javax.servlet.AsyncContext</class>
<class>javax.servlet.AsyncEvent</class>
<class>javax.servlet.AsyncListener</class>
</required-classes>
<debian available="false"/>
<redhat available="false"/>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<required-classes>
<class>org.slf4j.Logger</class>
</required-classes>
<debian criteria="&gt;= 1.5.10">libslf4j-java</debian>
<redhat available="false"/>
</dependency>
<dependency>
<groupId>org.mortbay.jetty</groupId>
<artifactId>jetty-util</artifactId>
<debian available="false"/>
<redhat available="false"/>
</dependency>
<dependency>
<groupId>javax.activation</groupId>
<artifactId>activation</artifactId>
<debian>libgnujav-java</debian>
<redhat>sun-jaf</redhat>
</dependency>
</mapping>
<!-- Excluding due to Geronimo Dependency Requirements -->
<project groupId="org.eclipse.jetty">
<exclude>jetty-annotations</exclude>
<exclude>jetty-jaspi</exclude>
<exclude>jetty-plus</exclude>
<exclude>example-jetty-embedded</exclude>
<exclude>test-continuation</exclude>
<exclude>test-continuation-jetty6</exclude>
<exclude>test-jetty-servlet</exclude>
</project>
<!-- Dependencies for OSGI are too complicated to deal with right now -->
<project groupId="org.eclipse.jetty.osgi">
<exclude>jetty-osgi</exclude>
<exclude>jetty-osgi-boot</exclude>
<exclude>jetty-osgi-boot-jsp</exclude>
<exclude>jetty-osgi-boot-logback</exclude>
<exclude>jetty-osgi-boot-warurl</exclude>
<exclude>jetty-httpservice</exclude>
</project>
<!-- Aggregate Projects need not be built by linux-packaging -->
<project groupId="org.eclipse.jetty.aggregate">
<exclude>jetty-server</exclude>
<exclude>jetty-client</exclude>
<exclude>jetty-servlet</exclude>
<exclude>jetty-webapp</exclude>
<exclude>jetty-plus</exclude>
<exclude>jetty-all-server</exclude>
<exclude>jetty-all</exclude>
</project>
<project groupId="org.eclipse.jetty.tests">
<exclude>test-sessions-common</exclude>
<exclude>test-jdbc-sessions</exclude>
<exclude>test-hash-sessions</exclude>
<exclude>test-integration</exclude>
<exclude>test-webapp-rfc2616</exclude>
</project>
<daemon>
<script>jetty-distribution/src/main/resources/bin/jetty.sh</script>
<debian>debian/jetty.init</debian>
<redhat>rpm/jetty.init</redhat>
</daemon>
</linux-packaging>