jruby-rack
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>org.jruby.rack</groupId>
<artifactId>jruby-rack</artifactId>
<version>2.0.0</version>
</dependency><?xml version='1.0'?>
<!--
Copyright (c) 2010-2012 Engine Yard, Inc.
Copyright (c) 2007-2009 Sun Microsystems, Inc.
This source code is available under the MIT license.
See the file LICENSE.txt for details.
-->
<project xsi:schemaLocation='http://maven.apache.org/POM/4.0.0 https://maven.apache.org/maven-v4_0_0.xsd' xmlns='http://maven.apache.org/POM/4.0.0' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'>
<modelVersion>4.0.0</modelVersion>
<groupId>org.jruby.rack</groupId>
<artifactId>jruby-rack</artifactId>
<version>2.0.0</version>
<name>JRuby-Rack</name>
<url>https://github.com/jruby/jruby-rack/</url>
<description>
A servlet bridge for (Ruby-based) Rack applications that allow them
to run in Java Application servers using JRuby.
</description>
<properties>
<!-- Build related settings -->
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<jruby.maven.plugins.version>3.0.6</jruby.maven.plugins.version>
<gem.home>${project.build.directory}/rubygems</gem.home>
<!-- Version to target at compile time -->
<jruby.compat.version>10.0.6.0</jruby.compat.version>
<jruby.compat.artifact>jruby</jruby.compat.artifact>
<!-- Version to execute tests with -->
<jruby.test.version>${jruby.compat.version}</jruby.test.version>
<!-- Minimum servlet API compatibility to target (Jakarta EE 9) -->
<servlet-api.compat.version>5.0.0</servlet-api.compat.version>
<servlet-jsp-api.compat.version>3.0.0</servlet-jsp-api.compat.version>
<!-- Test Dependencies -->
<servlet-api.test.version>6.1.0</servlet-api.test.version>
<el-api.test.version>6.0.1</el-api.test.version>
<spring.version>7.0.9</spring.version>
<slf4j.version>2.0.18</slf4j.version>
<log4j.version>2.26.1</log4j.version>
</properties>
<issueManagement>
<system>Github</system>
<url>https://github.com/jruby/jruby-rack/issues</url>
</issueManagement>
<scm>
<connection>scm:git:git://github.com/jruby/jruby-rack.git</connection>
<developerConnection>scm:git:git@github.com:jruby/jruby-rack.git</developerConnection>
<url>https://github.com/jruby/jruby-rack/</url>
<tag>HEAD</tag>
</scm>
<licenses>
<license>
<name>MIT License</name>
<url>https://www.opensource.org/licenses/mit-license.php</url>
<distribution>repo</distribution>
</license>
</licenses>
<developers>
<developer>
<id>nicksieger</id>
<name>Nick Sieger</name>
<email>nicksieger@gmail.com</email>
</developer>
<developer>
<id>calavera</id>
<name>David Calavera</name>
</developer>
<developer>
<id>kares</id>
<name>Karol Bucek</name>
<email>self@kares.org</email>
</developer>
</developers>
<repositories>
<repository>
<id>mavengems</id>
<url>mavengem:https://rubygems.org</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>org.jruby</groupId>
<!-- This has to be jruby-complete when running with bundler-maven-plugin since it has special logic to
exclude jruby-complete - otherwise it conflicts with the bootclasspath if using different
"target compile version" to "runtime version" -->
<artifactId>${jruby.compat.artifact}</artifactId>
<version>${jruby.compat.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>jakarta.servlet</groupId>
<artifactId>jakarta.servlet-api</artifactId>
<version>${servlet-api.compat.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>jakarta.servlet.jsp</groupId>
<artifactId>jakarta.servlet.jsp-api</artifactId>
<version>${servlet-jsp-api.compat.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
<version>1.4.0</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>${slf4j.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-simple</artifactId>
<version>${slf4j.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-api</artifactId>
<version>${log4j.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-core</artifactId>
<version>${log4j.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-test</artifactId>
<version>${spring.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-web</artifactId>
<version>${spring.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>jakarta.el</groupId>
<artifactId>jakarta.el-api</artifactId>
<version>${el-api.test.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<extensions>
<extension>
<groupId>org.jruby.maven</groupId>
<artifactId>mavengem-wagon</artifactId>
<version>2.0.3</version>
</extension>
</extensions>
<defaultGoal>install</defaultGoal>
<sourceDirectory>${basedir}/src/main/java</sourceDirectory>
<resources>
<resource>
<directory>${basedir}/src/main/ruby</directory>
</resource>
<resource>
<directory>${basedir}/src/main/tld</directory>
<targetPath>META-INF</targetPath>
</resource>
</resources>
<testSourceDirectory>${basedir}/src/spec/java</testSourceDirectory>
<testResources>
<testResource>
<directory>${basedir}/src/spec/ruby</directory>
</testResource>
</testResources>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>3.6.3</version>
<executions>
<execution>
<id>enforce-maven</id>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<requireMavenVersion>
<version>3.6.3</version>
</requireMavenVersion>
</rules>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.15.0</version>
<configuration>
<release>21</release>
<showDeprecation>true</showDeprecation>
<showWarnings>true</showWarnings>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>3.5.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.5.6</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>3.11.0</version>
<executions>
<execution>
<phase>process-sources</phase>
<goals>
<goal>copy-dependencies</goal>
</goals>
<!-- .jars for tests to pick up, skipped with -Dmdep.skip=true -->
<configuration>
<outputDirectory>${project.build.directory}/lib</outputDirectory>
<excludeGroupIds>org.jruby,rubygems</excludeGroupIds>
<!-- compile floor stays off the test classpath; test version copied below -->
<excludeArtifactIds>jakarta.servlet-api</excludeArtifactIds>
</configuration>
</execution>
<execution>
<id>copy-test-servlet-api</id>
<phase>process-sources</phase>
<goals>
<goal>copy</goal>
</goals>
<!-- Use later version of API for testing than we compile against -->
<configuration>
<artifactItems>
<artifactItem>
<groupId>jakarta.servlet</groupId>
<artifactId>jakarta.servlet-api</artifactId>
<version>${servlet-api.test.version}</version>
</artifactItem>
</artifactItems>
<outputDirectory>${project.build.directory}/lib</outputDirectory>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>3.1.4</version>
</plugin>
<plugin>
<groupId>org.jruby.maven</groupId>
<artifactId>bundler-maven-plugin</artifactId>
<version>${jruby.maven.plugins.version}</version>
<configuration>
<jrubyVersion>${jruby.test.version}</jrubyVersion>
</configuration>
<executions>
<execution>
<id>bundle-install</id>
<phase>test</phase>
<goals><goal>install</goal></goals>
<configuration>
<local>false</local>
<quiet>false</quiet>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.jruby.maven</groupId>
<artifactId>gem-maven-plugin</artifactId>
<version>${jruby.maven.plugins.version}</version>
<configuration>
<jrubyVersion>${jruby.test.version}</jrubyVersion>
</configuration>
<executions>
<execution>
<id>rake-spec</id>
<phase>test</phase>
<goals><goal>exec</goal></goals>
<configuration>
<!--suppress UnresolvedMavenProperty -->
<args>-S rake speconly SKIP_SPECS=${skipTests}</args>
<!-- keep the maven-resolved (compile floor) servlet-api off the spec JVM classpath;
spec_helper.rb builds the classpath from target/lib (see copy-test-servlet-api) -->
<addProjectClasspath>false</addProjectClasspath>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
<version>0.11.0</version>
<extensions>true</extensions>
<configuration>
<publishingServerId>central</publishingServerId>
<autoPublish>false</autoPublish>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>versions-maven-plugin</artifactId>
<version>2.21.0</version>
<configuration>
<ignoredVersions>.*-(alpha|beta|M)[-0-9]+</ignoredVersions>
</configuration>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>release</id>
<activation>
<property>
<name>performRelease</name>
<value>true</value>
</property>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.4.0</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.12.0</version>
<configuration>
<tags>
<tag>
<name>apiNote</name>
<placement>a</placement>
<head>API:</head>
</tag>
<tag>
<name>implNote</name>
<placement>a</placement>
<head>NOTE:</head>
</tag>
</tags>
<doclint>none</doclint>
</configuration>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>3.2.8</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>