<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.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>
  <parent>
    <groupId>org.sonatype.oss</groupId>
    <artifactId>oss-parent</artifactId>
    <version>7</version>
  </parent>
  <groupId>org.jruby</groupId>
  <artifactId>jruby-parent</artifactId>
  <version>9.4.2.0</version>
  <packaging>pom</packaging>
  <name>JRuby</name>
  <description>JRuby is the effort to recreate the Ruby (https://www.ruby-lang.org) interpreter in Java.</description>
  <url>https://github.com/jruby/jruby</url>
  <inceptionYear>2001</inceptionYear>
  <organization>
    <name>JRuby</name>
    <url>https://www.jruby.org</url>
  </organization>
  <licenses>
    <license>
      <name>GPL-2.0</name>
      <url>http://www.gnu.org/licenses/gpl-2.0-standalone.html</url>
    </license>
    <license>
      <name>LGPL-2.1</name>
      <url>http://www.gnu.org/licenses/lgpl-2.1-standalone.html</url>
    </license>
    <license>
      <name>EPL-2.0</name>
      <url>http://www.eclipse.org/legal/epl-v20.html</url>
    </license>
  </licenses>
  <developers>
    <developer>
      <id>headius</id>
      <name>headius</name>
      <roles>
        <role>developer</role>
      </roles>
    </developer>
    <developer>
      <id>enebo</id>
      <name>enebo</name>
      <roles>
        <role>developer</role>
      </roles>
    </developer>
    <developer>
      <id>wmeissner</id>
      <name>wmeissner</name>
      <roles>
        <role>developer</role>
      </roles>
    </developer>
    <developer>
      <id>BanzaiMan</id>
      <name>BanzaiMan</name>
      <roles>
        <role>developer</role>
      </roles>
    </developer>
    <developer>
      <id>mkristian</id>
      <name>mkristian</name>
      <roles>
        <role>developer</role>
      </roles>
    </developer>
  </developers>
  <mailingLists>
    <mailingList>
      <name>jruby</name>
      <archive>https://github.com/jruby/jruby/wiki/MailingLists</archive>
    </mailingList>
  </mailingLists>
  <modules>
    <module>shaded</module>
    <module>core</module>
    <module>lib</module>
  </modules>
  <scm>
    <connection>scm:git:git@jruby.org:jruby.git</connection>
    <developerConnection>scm:git:ssh://git@jruby.org/jruby.git</developerConnection>
    <url>https://github.com/jruby/jruby</url>
  </scm>
  <issueManagement>
    <system>GitHub</system>
    <url>https://github.com/jruby/jruby/issues</url>
  </issueManagement>
  <distributionManagement>
    <site>
      <id>gh-pages</id>
      <name>JRuby Site</name>
      <url>https://github.com/jruby/jruby</url>
    </site>
  </distributionManagement>
  <properties>
    <ant.version>1.9.8</ant.version>
    <asm.version>9.2</asm.version>
    <base.java.version>1.8</base.java.version>
    <base.javac.version>1.8</base.javac.version>
    <github.global.server>github</github.global.server>
    <invoker.skip>true</invoker.skip>
    <its.j2ee>j2ee*/pom.xml</its.j2ee>
    <its.osgi>osgi*/pom.xml</its.osgi>
    <jar-dependencies.version>0.4.1</jar-dependencies.version>
    <jffi.version>1.3.10</jffi.version>
    <joda.time.version>2.10.10</joda.time.version>
    <jruby-launcher.version>1.1.6</jruby-launcher.version>
    <jruby.basedir>${project.basedir}</jruby.basedir>
    <jruby.plugins.version>1.0.10</jruby.plugins.version>
    <main.basedir>${project.basedir}</main.basedir>
    <polyglot.dump.pom>pom.xml</polyglot.dump.pom>
    <polyglot.dump.readonly>true</polyglot.dump.readonly>
    <project.build.sourceEncoding>utf-8</project.build.sourceEncoding>
    <rake.version>13.0.6</rake.version>
    <version.jruby>${project.version}</version.jruby>
  </properties>
  <dependencyManagement>
    <dependencies>
      <dependency>
        <groupId>junit</groupId>
        <artifactId>junit</artifactId>
        <version>4.13.1</version>
        <scope>test</scope>
      </dependency>
      <dependency>
        <groupId>org.awaitility</groupId>
        <artifactId>awaitility</artifactId>
        <version>4.1.0</version>
        <scope>test</scope>
      </dependency>
    </dependencies>
  </dependencyManagement>
  <repositories>
    <repository>
      <releases>
        <enabled>false</enabled>
      </releases>
      <snapshots>
        <enabled>true</enabled>
      </snapshots>
      <id>sonatype</id>
      <url>https://oss.sonatype.org/content/repositories/snapshots/</url>
    </repository>
  </repositories>
  <pluginRepositories>
    <pluginRepository>
      <releases>
        <enabled>false</enabled>
      </releases>
      <snapshots>
        <enabled>true</enabled>
      </snapshots>
      <id>sonatype</id>
      <url>https://oss.sonatype.org/content/repositories/snapshots/</url>
    </pluginRepository>
  </pluginRepositories>
  <build>
    <defaultGoal>install</defaultGoal>
    <pluginManagement>
      <plugins>
        <plugin>
          <groupId>org.apache.felix</groupId>
          <artifactId>maven-bundle-plugin</artifactId>
          <version>4.2.1</version>
          <executions>
            <execution>
              <phase>prepare-package</phase>
              <goals>
                <goal>manifest</goal>
              </goals>
            </execution>
          </executions>
          <dependencies>
            <dependency>
              <groupId>biz.aQute.bnd</groupId>
              <artifactId>biz.aQute.bndlib</artifactId>
              <version>6.3.1</version>
            </dependency>
          </dependencies>
          <configuration>
            <instructions>
              <Export-Package>org.jruby.*;version=${project.version}</Export-Package>
              <Import-Package>!org.jruby.*, *;resolution:=optional</Import-Package>
              <Private-Package>org.jruby.*,jnr.*,com.kenai.*,com.martiansoftware.*,jay.*,jline.*,jni.*,org.fusesource.*,org.jcodings.*,org.joda.convert.*,org.joda.time.*,org.joni.*,org.yaml.*,org.yecht.*,tables.*,org.objectweb.*,com.headius.*,org.bouncycastle.*,com.jcraft.jzlib,.</Private-Package>
              <Bundle-Name>${bundle.name} ${project.version}</Bundle-Name>
              <Bundle-Description>${bundle.name} ${project.version} OSGi bundle</Bundle-Description>
              <Bundle-SymbolicName>${bundle.symbolic_name}</Bundle-SymbolicName>
            </instructions>
          </configuration>
        </plugin>
        <plugin>
          <artifactId>maven-site-plugin</artifactId>
          <version>3.9.1</version>
          <configuration>
            <skipDeploy>true</skipDeploy>
          </configuration>
        </plugin>
        <plugin>
          <groupId>org.codehaus.mojo</groupId>
          <artifactId>build-helper-maven-plugin</artifactId>
          <version>3.2.0</version>
        </plugin>
        <plugin>
          <groupId>org.codehaus.mojo</groupId>
          <artifactId>exec-maven-plugin</artifactId>
          <version>3.0.0</version>
        </plugin>
        <plugin>
          <artifactId>maven-antrun-plugin</artifactId>
          <version>3.0.0</version>
        </plugin>
        <plugin>
          <artifactId>maven-source-plugin</artifactId>
          <version>3.2.1</version>
        </plugin>
        <plugin>
          <artifactId>maven-assembly-plugin</artifactId>
          <version>3.3.0</version>
        </plugin>
        <plugin>
          <artifactId>maven-install-plugin</artifactId>
          <version>3.0.0-M1</version>
        </plugin>
        <plugin>
          <artifactId>maven-deploy-plugin</artifactId>
          <version>3.0.0-M1</version>
        </plugin>
        <plugin>
          <artifactId>maven-javadoc-plugin</artifactId>
          <version>3.2.0</version>
        </plugin>
        <plugin>
          <artifactId>maven-resources-plugin</artifactId>
          <version>3.2.0</version>
        </plugin>
        <plugin>
          <artifactId>maven-clean-plugin</artifactId>
          <version>3.1.0</version>
        </plugin>
        <plugin>
          <artifactId>maven-dependency-plugin</artifactId>
          <version>2.8</version>
        </plugin>
        <plugin>
          <artifactId>maven-release-plugin</artifactId>
          <version>3.0.0-M1</version>
        </plugin>
        <plugin>
          <artifactId>maven-jar-plugin</artifactId>
          <version>3.2.0</version>
        </plugin>
        <plugin>
          <artifactId>maven-enforcer-plugin</artifactId>
          <version>1.4</version>
          <executions>
            <execution>
              <goals>
                <goal>enforce</goal>
              </goals>
              <configuration>
                <rules>
                  <requireMavenVersion>
                    <version>[3.3.0,)</version>
                  </requireMavenVersion>
                  <requireReleaseDeps>
                    <message>No Snapshots Allowed!</message>
                  </requireReleaseDeps>
                </rules>
              </configuration>
            </execution>
          </executions>
        </plugin>
        <plugin>
          <artifactId>maven-compiler-plugin</artifactId>
          <version>3.8.1</version>
        </plugin>
        <plugin>
          <artifactId>maven-shade-plugin</artifactId>
          <version>3.2.4</version>
        </plugin>
        <plugin>
          <artifactId>maven-surefire-plugin</artifactId>
          <version>3.0.0-M5</version>
        </plugin>
        <plugin>
          <artifactId>maven-plugin-plugin</artifactId>
          <version>3.6.0</version>
        </plugin>
        <plugin>
          <artifactId>maven-invoker-plugin</artifactId>
          <version>3.2.1</version>
          <executions>
            <execution>
              <id>integration-test</id>
              <goals>
                <goal>install</goal>
                <goal>run</goal>
              </goals>
            </execution>
          </executions>
          <configuration>
            <properties>
              <jruby.version>${project.version}</jruby.version>
              <jruby.plugins.version>${jruby.plugins.version}</jruby.plugins.version>
            </properties>
            <pomIncludes>
              <pomInclude>*/pom.xml</pomInclude>
            </pomIncludes>
            <pomExcludes>
              <pomExclude>extended/pom.xml</pomExclude>
              <pomExclude>${its.j2ee}</pomExclude>
              <pomExclude>${its.osgi}</pomExclude>
            </pomExcludes>
            <projectsDirectory>src/it</projectsDirectory>
            <cloneProjectsTo>${project.build.directory}/it</cloneProjectsTo>
            <preBuildHookScript>setup.bsh</preBuildHookScript>
            <postBuildHookScript>verify.bsh</postBuildHookScript>
            <goals>
              <goal>install</goal>
            </goals>
            <streamLogs>true</streamLogs>
          </configuration>
        </plugin>
        <plugin>
          <groupId>org.eclipse.m2e</groupId>
          <artifactId>lifecycle-mapping</artifactId>
          <version>1.0.0</version>
        </plugin>
        <plugin>
          <artifactId>maven-scm-publish-plugin</artifactId>
          <version>3.1.0</version>
        </plugin>
      </plugins>
    </pluginManagement>
    <plugins>
      <plugin>
        <artifactId>maven-site-plugin</artifactId>
        <executions>
          <execution>
            <id>stage-for-scm-publish</id>
            <phase>post-site</phase>
            <goals>
              <goal>stage</goal>
            </goals>
            <configuration>
              <skipDeploy>false</skipDeploy>
            </configuration>
          </execution>
        </executions>
        <configuration>
          <port>9000</port>
          <tempWebappDirectory>${basedir}/target/site/tempdir</tempWebappDirectory>
        </configuration>
      </plugin>
      <plugin>
        <artifactId>maven-scm-publish-plugin</artifactId>
        <version>1.0-beta-2</version>
        <executions>
          <execution>
            <id>scm-publish</id>
            <phase>site-deploy</phase>
            <goals>
              <goal>publish-scm</goal>
            </goals>
          </execution>
        </executions>
        <configuration>
          <scmBranch>gh-pages</scmBranch>
          <pubScmUrl>scm:git:git@github.com:jruby/jruby.git</pubScmUrl>
          <tryUpdate>true</tryUpdate>
        </configuration>
      </plugin>
    </plugins>
  </build>
  <reporting>
    <plugins>
      <plugin>
        <artifactId>maven-project-info-reports-plugin</artifactId>
        <version>2.4</version>
        <configuration>
          <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
          <dependencyDetailsEnabled>false</dependencyDetailsEnabled>
        </configuration>
      </plugin>
      <plugin>
        <artifactId>maven-changelog-plugin</artifactId>
        <version>2.2</version>
      </plugin>
      <plugin>
        <artifactId>maven-checkstyle-plugin</artifactId>
        <version>2.9.1</version>
        <reportSets>
          <reportSet>
            <reports>
              <report>checkstyle</report>
            </reports>
            <inherited>false</inherited>
          </reportSet>
        </reportSets>
        <configuration>
          <configLocation>${main.basedir}/docs/style_checks.xml</configLocation>
          <propertyExpansion>cacheFile=${project.build.directory}/checkstyle-cachefile</propertyExpansion>
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>cobertura-maven-plugin</artifactId>
        <version>2.5.1</version>
        <configuration>
          <aggregate>true</aggregate>
        </configuration>
      </plugin>
      <plugin>
        <artifactId>maven-dependency-plugin</artifactId>
        <version>2.8</version>
        <reportSets>
          <reportSet>
            <reports>
              <report>analyze-report</report>
            </reports>
          </reportSet>
        </reportSets>
      </plugin>
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>findbugs-maven-plugin</artifactId>
        <version>2.5</version>
      </plugin>
      <plugin>
        <artifactId>maven-javadoc-plugin</artifactId>
        <version>2.9</version>
        <reportSets>
          <reportSet>
            <reports>
              <report>javadoc</report>
            </reports>
            <configuration>
              <quiet>true</quiet>
              <failOnError>false</failOnError>
              <detectOfflineLinks>false</detectOfflineLinks>
            </configuration>
          </reportSet>
        </reportSets>
        <configuration>
          <quiet>true</quiet>
          <aggregate>true</aggregate>
          <failOnError>false</failOnError>
          <detectOfflineLinks>false</detectOfflineLinks>
          <show>package</show>
          <level>package</level>
          <maxmemory>1g</maxmemory>
        </configuration>
      </plugin>
      <plugin>
        <artifactId>maven-pmd-plugin</artifactId>
        <version>2.7.1</version>
        <configuration>
          <linkXRef>true</linkXRef>
          <sourceEncoding>utf-8</sourceEncoding>
          <minimumTokens>100</minimumTokens>
          <targetJdk>${base.javac.version}</targetJdk>
        </configuration>
      </plugin>
      <plugin>
        <artifactId>maven-jxr-plugin</artifactId>
        <version>2.3</version>
        <configuration>
          <linkJavadoc>true</linkJavadoc>
          <aggregate>true</aggregate>
        </configuration>
      </plugin>
      <plugin>
        <artifactId>maven-surefire-report-plugin</artifactId>
        <version>2.14.1</version>
      </plugin>
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>taglist-maven-plugin</artifactId>
        <version>2.4</version>
        <configuration>
          <tagListOptions>
            <tagClasses>
              <tagClass>
                <tags>
                  <tag>
                    <matchString>todo</matchString>
                    <matchType>ignoreCase</matchType>
                  </tag>
                  <tag>
                    <matchString>FIXME</matchString>
                    <matchType>ignoreCase</matchType>
                  </tag>
                  <tag>
                    <matchString>deprecated</matchString>
                    <matchType>ignoreCase</matchType>
                  </tag>
                </tags>
              </tagClass>
            </tagClasses>
          </tagListOptions>
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>versions-maven-plugin</artifactId>
        <version>2.1</version>
        <reportSets>
          <reportSet>
            <reports>
              <report>dependency-updates-report</report>
              <report>plugin-updates-report</report>
              <report>property-updates-report</report>
            </reports>
          </reportSet>
        </reportSets>
      </plugin>
    </plugins>
  </reporting>
  <profiles>
    <profile>
      <id>test</id>
      <modules>
        <module>test</module>
      </modules>
      <properties>
        <invoker.skip>false</invoker.skip>
      </properties>
    </profile>
    <profile>
      <id>rake</id>
      <build>
        <defaultGoal>package</defaultGoal>
      </build>
      <modules>
        <module>test</module>
      </modules>
    </profile>
    <profile>
      <id>exec</id>
      <build>
        <defaultGoal>package</defaultGoal>
      </build>
      <modules>
        <module>test</module>
      </modules>
    </profile>
    <profile>
      <id>bootstrap</id>
      <modules>
        <module>test</module>
      </modules>
    </profile>
    <profile>
      <id>bootstrap-no-launcher</id>
      <modules>
        <module>test</module>
      </modules>
    </profile>
    <profile>
      <id>jruby-jars</id>
      <build>
        <defaultGoal>install</defaultGoal>
        <pluginManagement>
          <plugins>
            <plugin>
              <artifactId>maven-surefire-plugin</artifactId>
              <version>2.15</version>
              <configuration>
                <skipTests>true</skipTests>
              </configuration>
            </plugin>
          </plugins>
        </pluginManagement>
      </build>
      <modules>
        <module>maven</module>
      </modules>
    </profile>
    <profile>
      <id>main</id>
      <build>
        <defaultGoal>install</defaultGoal>
        <pluginManagement>
          <plugins>
            <plugin>
              <artifactId>maven-surefire-plugin</artifactId>
              <version>2.15</version>
              <configuration>
                <skipTests>true</skipTests>
              </configuration>
            </plugin>
          </plugins>
        </pluginManagement>
      </build>
      <modules>
        <module>maven</module>
      </modules>
    </profile>
    <profile>
      <id>complete</id>
      <build>
        <defaultGoal>install</defaultGoal>
        <pluginManagement>
          <plugins>
            <plugin>
              <artifactId>maven-surefire-plugin</artifactId>
              <version>2.15</version>
              <configuration>
                <skipTests>true</skipTests>
              </configuration>
            </plugin>
          </plugins>
        </pluginManagement>
      </build>
      <modules>
        <module>maven</module>
      </modules>
    </profile>
    <profile>
      <id>dist</id>
      <build>
        <defaultGoal>install</defaultGoal>
        <pluginManagement>
          <plugins>
            <plugin>
              <artifactId>maven-surefire-plugin</artifactId>
              <version>2.15</version>
              <configuration>
                <skipTests>true</skipTests>
              </configuration>
            </plugin>
          </plugins>
        </pluginManagement>
      </build>
      <modules>
        <module>maven</module>
      </modules>
    </profile>
    <profile>
      <id>osgi</id>
      <build>
        <defaultGoal>install</defaultGoal>
        <plugins>
          <plugin>
            <artifactId>maven-invoker-plugin</artifactId>
            <configuration>
              <pomIncludes>
                <pomInclude>osgi*/pom.xml</pomInclude>
              </pomIncludes>
            </configuration>
          </plugin>
        </plugins>
      </build>
      <modules>
        <module>maven</module>
      </modules>
      <properties>
        <invoker.skip>false</invoker.skip>
        <its.osgi>no-excludes/pom.xml</its.osgi>
      </properties>
    </profile>
    <profile>
      <id>j2ee</id>
      <build>
        <defaultGoal>install</defaultGoal>
        <plugins>
          <plugin>
            <artifactId>maven-invoker-plugin</artifactId>
            <configuration>
              <pomIncludes>
                <pomInclude>j2ee*/pom.xml</pomInclude>
              </pomIncludes>
            </configuration>
          </plugin>
        </plugins>
      </build>
      <modules>
        <module>maven</module>
      </modules>
      <properties>
        <invoker.skip>false</invoker.skip>
        <its.j2ee>no-excludes/pom.xml</its.j2ee>
      </properties>
    </profile>
    <profile>
      <id>apps</id>
      <build>
        <defaultGoal>install</defaultGoal>
      </build>
      <modules>
        <module>maven</module>
      </modules>
    </profile>
    <profile>
      <id>jruby_complete_jar_extended</id>
      <build>
        <defaultGoal>install</defaultGoal>
      </build>
      <modules>
        <module>test</module>
        <module>maven</module>
      </modules>
    </profile>
    <profile>
      <id>all</id>
      <build>
        <defaultGoal>install</defaultGoal>
      </build>
      <modules>
        <module>test</module>
        <module>maven</module>
      </modules>
    </profile>
    <profile>
      <id>clean</id>
      <build>
        <defaultGoal>clean</defaultGoal>
      </build>
      <modules>
        <module>test</module>
        <module>maven</module>
      </modules>
    </profile>
    <profile>
      <id>release</id>
      <build>
        <plugins>
          <plugin>
            <artifactId>maven-source-plugin</artifactId>
            <executions>
              <execution>
                <id>attach-sources</id>
                <goals>
                  <goal>jar-no-fork</goal>
                </goals>
              </execution>
            </executions>
          </plugin>
          <plugin>
            <artifactId>maven-javadoc-plugin</artifactId>
            <executions>
              <execution>
                <id>attach-javadocs</id>
                <goals>
                  <goal>jar</goal>
                </goals>
              </execution>
            </executions>
            <configuration>
              <doclint>none</doclint>
            </configuration>
          </plugin>
        </plugins>
      </build>
      <modules>
        <module>maven</module>
      </modules>
      <properties>
        <invoker.skip>true</invoker.skip>
      </properties>
    </profile>
    <profile>
      <id>snapshots</id>
      <build>
        <defaultGoal>deploy</defaultGoal>
        <plugins>
          <plugin>
            <artifactId>maven-source-plugin</artifactId>
            <executions>
              <execution>
                <id>attach-sources</id>
                <goals>
                  <goal>jar-no-fork</goal>
                </goals>
              </execution>
            </executions>
          </plugin>
          <plugin>
            <artifactId>maven-javadoc-plugin</artifactId>
            <executions>
              <execution>
                <id>attach-javadocs</id>
                <goals>
                  <goal>jar</goal>
                </goals>
              </execution>
            </executions>
          </plugin>
        </plugins>
      </build>
      <modules>
        <module>maven</module>
      </modules>
      <distributionManagement>
        <repository>
          <id>local releases</id>
          <url>file:${project.build.directory}/maven</url>
        </repository>
        <snapshotRepository>
          <id>local snapshots</id>
          <url>file:${project.build.directory}/maven</url>
        </snapshotRepository>
      </distributionManagement>
    </profile>
    <profile>
      <id>single invoker test</id>
      <activation>
        <property>
          <name>invoker.test</name>
        </property>
      </activation>
      <properties>
        <invoker.skip>false</invoker.skip>
      </properties>
    </profile>
    <profile>
      <id>jdk8</id>
      <activation>
        <jdk>1.8</jdk>
      </activation>
      <build>
        <plugins>
          <plugin>
            <artifactId>maven-javadoc-plugin</artifactId>
            <configuration>
              <additionalparam>-Xdoclint:none</additionalparam>
            </configuration>
          </plugin>
        </plugins>
      </build>
    </profile>
  </profiles>
</project>
