<?xml version="1.0" encoding="UTF-8"?>
<!--
  ========================LICENSE_START=================================
  smooks-bom
  %%
  Copyright (C) 2020 Smooks
  %%
  Licensed under the terms of the Apache License Version 2.0, or
  the GNU Lesser General Public License version 3.0 or later.
  
  SPDX-License-Identifier: Apache-2.0 OR LGPL-3.0-or-later
  
  ======================================================================
  
  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at
  
      http://www.apache.org/licenses/LICENSE-2.0
  
  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License.
  
  ======================================================================
  
  This program is free software; you can redistribute it and/or
  modify it under the terms of the GNU Lesser General Public
  License as published by the Free Software Foundation; either
  version 3 of the License, or (at your option) any later version.
  
  This program is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  Lesser General Public License for more details.
  
  You should have received a copy of the GNU Lesser General Public License
  along with this program; if not, write to the Free Software Foundation,
  Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
  =========================LICENSE_END==================================
  -->

<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/xsd/maven-4.0.0.xsd">

    <modelVersion>4.0.0</modelVersion>

    <groupId>org.smooks</groupId>
    <artifactId>smooks-bom</artifactId>
    <version>2.2.0</version>
    <packaging>pom</packaging>

    <name>Bill of Materials</name>
    <url>https://www.smooks.org</url>
    <description>Bill of materials (BOM) for Smooks</description>

    <licenses>
        <license>
            <name>GNU LESSER GENERAL PUBLIC LICENSE, Version 3</name>
            <url>https://www.gnu.org/licenses/lgpl.txt</url>
        </license>
        <license>
            <name>Apache License, Version 2.0</name>
            <url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
        </license>
    </licenses>

    <scm>
        <connection>scm:git:git@github.com:smooks/smooks-bom.git</connection>
        <developerConnection>scm:git:git@github.com:smooks/smooks-bom.git</developerConnection>
        <url>git@github.com:smooks/smooks-bom.git</url>
    </scm>

    <developers>
        <developer>
            <name>Smooks Developers</name>
            <email>smooks-dev@googlegroups.com</email>
        </developer>
    </developers>

    <properties>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
        <gpg.skip>true</gpg.skip>
        <smooks.version>2.2.0</smooks.version>
        <smooks.persistence.cartridge.version>2.0.2</smooks.persistence.cartridge.version>
    </properties>

    <build>
        <plugins>
            <plugin>
                <groupId>org.sonatype.plugins</groupId>
                <artifactId>nexus-staging-maven-plugin</artifactId>
                <version>1.7.0</version>
                <extensions>true</extensions>
                <configuration>
                    <serverId>ossrh</serverId>
                    <nexusUrl>https://oss.sonatype.org/</nexusUrl>
                    <autoReleaseAfterClose>false</autoReleaseAfterClose>
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-enforcer-plugin</artifactId>
                <version>3.5.0</version>
                <executions>
                    <execution>
                        <id>enforce</id>
                        <configuration>
                            <rules>
                                <requireReleaseDeps>
                                    <onlyWhenRelease>true</onlyWhenRelease>
                                    <message>No Snapshots Allowed!</message>
                                </requireReleaseDeps>
                            </rules>
                        </configuration>
                        <goals>
                            <goal>enforce</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-gpg-plugin</artifactId>
                <version>3.2.7</version>
                <configuration>
                    <gpgArguments>
                        <arg>--pinentry-mode</arg>
                        <arg>loopback</arg>
                    </gpgArguments>
                </configuration>
                <executions>
                    <execution>
                        <phase>verify</phase>
                        <goals>
                            <goal>sign</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>

    <dependencyManagement>
        <dependencies>
            <dependency>
                <groupId>org.smooks</groupId>
                <artifactId>smooks-core</artifactId>
                <version>${smooks.version}</version>
            </dependency>
            <dependency>
                <groupId>org.smooks</groupId>
                <artifactId>smooks-test-kit</artifactId>
                <version>${smooks.version}</version>
            </dependency>
            <dependency>
                <groupId>org.smooks</groupId>
                <artifactId>smooks-commons</artifactId>
                <version>${smooks.version}</version>
            </dependency>
            <dependency>
                <groupId>org.smooks.cartridges.persistence</groupId>
                <artifactId>smooks-persistence-cartridge</artifactId>
                <version>${smooks.persistence.cartridge.version}</version>
            </dependency>
            <dependency>
                <groupId>org.smooks.cartridges.persistence</groupId>
                <artifactId>smooks-scribe-hibernate</artifactId>
                <version>${smooks.persistence.cartridge.version}</version>
            </dependency>
            <dependency>
                <groupId>org.smooks.cartridges.persistence</groupId>
                <artifactId>smooks-scribe-jpa</artifactId>
                <version>${smooks.persistence.cartridge.version}</version>
            </dependency>
            <dependency>
                <groupId>org.smooks.cartridges.persistence</groupId>
                <artifactId>smooks-scribe-mybatis</artifactId>
                <version>${smooks.persistence.cartridge.version}</version>
            </dependency>
            <dependency>
                <groupId>org.smooks.cartridges</groupId>
                <artifactId>smooks-javabean-cartridge</artifactId>
                <version>2.0.2</version>
            </dependency>
            <dependency>
                <groupId>org.smooks.cartridges</groupId>
                <artifactId>smooks-json-cartridge</artifactId>
                <version>2.0.2</version>
            </dependency>
            <dependency>
                <groupId>org.smooks.cartridges</groupId>
                <artifactId>smooks-flatfile-cartridge</artifactId>
                <version>2.0.2</version>
            </dependency>
            <dependency>
                <groupId>org.smooks.cartridges</groupId>
                <artifactId>smooks-calc-cartridge</artifactId>
                <version>2.0.2</version>
            </dependency>
            <dependency>
                <groupId>org.smooks.cartridges</groupId>
                <artifactId>smooks-csv-cartridge</artifactId>
                <version>2.0.2</version>
            </dependency>
            <dependency>
                <groupId>org.smooks.cartridges</groupId>
                <artifactId>smooks-dfdl-cartridge</artifactId>
                <version>1.0.2</version>
            </dependency>
            <dependency>
                <groupId>org.smooks.cartridges.edi</groupId>
                <artifactId>smooks-edi-cartridge</artifactId>
                <version>2.0.2</version>
            </dependency>
            <dependency>
                <groupId>org.smooks.cartridges.edi</groupId>
                <artifactId>smooks-edifact-cartridge</artifactId>
                <version>2.0.2</version>
            </dependency>
            <dependency>
                <groupId>org.smooks.cartridges</groupId>
                <artifactId>smooks-routing-cartridge</artifactId>
                <version>2.0.2</version>
            </dependency>
            <dependency>
                <groupId>org.smooks.cartridges</groupId>
                <artifactId>smooks-rules-cartridge</artifactId>
                <version>2.0.2</version>
            </dependency>
            <dependency>
                <groupId>org.smooks.cartridges</groupId>
                <artifactId>smooks-templating-cartridge</artifactId>
                <version>2.1.1</version>
            </dependency>
            <dependency>
                <groupId>org.smooks.cartridges</groupId>
                <artifactId>smooks-scripting-cartridge</artifactId>
                <version>2.0.2</version>
            </dependency>
            <dependency>
                <groupId>org.smooks.cartridges</groupId>
                <artifactId>smooks-validation-cartridge</artifactId>
                <version>2.0.2</version>
            </dependency>
            <dependency>
                <groupId>org.smooks.cartridges</groupId>
                <artifactId>smooks-yaml-cartridge</artifactId>
                <version>2.0.2</version>
            </dependency>
            <dependency>
                <groupId>org.smooks.cartridges</groupId>
                <artifactId>smooks-fixed-length-cartridge</artifactId>
                <version>2.0.2</version>
            </dependency>
        </dependencies>
    </dependencyManagement>

    <repositories>
        <repository>
            <id>oss.sonatype.org</id>
            <url>https://oss.sonatype.org/content/repositories/snapshots</url>
            <releases>
                <enabled>false</enabled>
            </releases>
            <snapshots>
                <enabled>true</enabled>
            </snapshots>
        </repository>
    </repositories>

    <distributionManagement>
        <repository>
            <id>ossrh</id>
            <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
        </repository>
        <snapshotRepository>
            <id>ossrh</id>
            <url>https://oss.sonatype.org/content/repositories/snapshots</url>
        </snapshotRepository>
    </distributionManagement>
</project>
