ao-payments-stripe
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>com.aoapps</groupId>
<artifactId>ao-payments-stripe</artifactId>
<version>3.0.1</version>
</dependency><?xml version="1.0" encoding="UTF-8"?>
<!--
ao-payments-stripe - Provider for Stripe.
Copyright (C) 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023 AO Industries, Inc.
support@aoindustries.com
7262 Bull Pen Cir
Mobile, AL 36695
This file is part of ao-payments-stripe.
ao-payments-stripe 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.
ao-payments-stripe 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 ao-payments-stripe. If not, see <https://www.gnu.org/licenses/>.
-->
<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">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.aoapps</groupId><artifactId>ao-oss-parent</artifactId><version>1.24.2<!-- -POST-SNAPSHOT --></version>
<relativePath>../../parent/pom.xml</relativePath>
</parent>
<groupId>com.aoapps</groupId><artifactId>ao-payments-stripe</artifactId><version>3.0.1</version>
<packaging>jar</packaging>
<properties>
<!-- Must be set to ${git.commit.time} for snapshots or ISO 8601 timestamp for releases. -->
<project.build.outputTimestamp>2023-09-25T02:41:35Z</project.build.outputTimestamp>
<module.name>com.aoapps.payments.stripe</module.name>
<javadoc.breadcrumbs><![CDATA[<a target="${javadoc.target}" href="https://oss.aoapps.com/">AO OSS</a>
/ <a target="${javadoc.target}" href="https://oss.aoapps.com/payments/">Payments</a>
/ <a target="${javadoc.target}" href="${project.url}">Stripe</a>]]></javadoc.breadcrumbs>
<description.html><![CDATA[Provider for <a target="${javadoc.target}" href="https://stripe.com/">Stripe</a>.]]></description.html>
<!-- TODO: Implement tests -->
<sonar.coverage.exclusions>**.*</sonar.coverage.exclusions>
<!-- Dependencies -->
<commons-lang3.version>3.13.0</commons-lang3.version>
<stripe-java.version>23.6.0</stripe-java.version>
</properties>
<name>AO Payments Stripe</name>
<url>https://oss.aoapps.com/payments/stripe/</url>
<description>Provider for Stripe.</description>
<inceptionYear>2015</inceptionYear>
<licenses>
<license>
<name>GNU General Lesser Public License (LGPL) version 3.0</name>
<url>https://www.gnu.org/licenses/lgpl-3.0.txt</url>
<distribution>repo</distribution>
</license>
</licenses>
<organization>
<name>AO Industries, Inc.</name>
<url>https://aoindustries.com/</url>
</organization>
<developers>
<developer>
<name>AO Industries, Inc.</name>
<email>support@aoindustries.com</email>
<url>https://aoindustries.com/</url>
<organization>AO Industries, Inc.</organization>
<organizationUrl>https://aoindustries.com/</organizationUrl>
</developer>
</developers>
<scm>
<connection>scm:git:git://github.com/ao-apps/ao-payments-stripe.git</connection>
<developerConnection>scm:git:git@github.com:ao-apps/ao-payments-stripe.git</developerConnection>
<url>https://github.com/ao-apps/ao-payments-stripe</url>
<tag>ao-payments-stripe-3.0.1</tag>
</scm>
<issueManagement>
<system>GitHub Issues</system>
<url>https://github.com/ao-apps/ao-payments-stripe/issues</url>
</issueManagement>
<ciManagement>
<system>Jenkins</system>
<url>https://jenkins.aoindustries.com/job/ao/job/oss/job/payments/job/stripe/</url>
</ciManagement>
<!-- Only one allowed in POM:
<ciManagement>
<system>GitHub Actions</system>
<url>https://github.com/ao-apps/ao-payments-stripe/actions</url>
</ciManagement>
-->
<repositories>
<!-- Repository required here, too, so can find parent -->
<repository>
<id>sonatype-nexus-snapshots-s01</id>
<name>Sonatype Nexus Snapshots S01</name>
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<checksumPolicy>fail</checksumPolicy>
</snapshots>
</repository>
</repositories>
<build>
<plugins>
<plugin>
<groupId>com.github.spotbugs</groupId><artifactId>spotbugs-maven-plugin</artifactId>
<configuration>
<!-- TODO: Clean-up SpotBugs -->
<failOnError>false</failOnError>
</configuration>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>offlineLinks</id><activation><file><exists>src/main/java</exists></file></activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId><artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>unpack.offlineLinks</id><phase>${unpack.offlineLinks.phase}</phase><goals><goal>unpack</goal></goals>
<configuration>
<artifactItems>
<!-- Direct -->
<artifactItem>
<groupId>com.aoapps</groupId><artifactId>ao-collections</artifactId><classifier>javadoc</classifier>
<includes>element-list, package-list</includes>
<outputDirectory>${project.build.directory}/offlineLinks/com.aoapps/ao-collections</outputDirectory>
</artifactItem>
<artifactItem>
<groupId>com.aoapps</groupId><artifactId>ao-lang</artifactId><classifier>javadoc</classifier>
<includes>element-list, package-list</includes>
<outputDirectory>${project.build.directory}/offlineLinks/com.aoapps/ao-lang</outputDirectory>
</artifactItem>
<artifactItem>
<groupId>com.aoapps</groupId><artifactId>ao-payments-api</artifactId><classifier>javadoc</classifier>
<includes>element-list, package-list</includes>
<outputDirectory>${project.build.directory}/offlineLinks/com.aoapps/ao-payments-api</outputDirectory>
</artifactItem>
<artifactItem>
<groupId>org.apache.commons</groupId><artifactId>commons-lang3</artifactId><classifier>javadoc</classifier>
<includes>element-list, package-list</includes>
<outputDirectory>${project.build.directory}/offlineLinks/org.apache.commons/commons-lang3</outputDirectory>
</artifactItem>
<artifactItem>
<groupId>com.stripe</groupId><artifactId>stripe-java</artifactId><classifier>javadoc</classifier>
<includes>element-list, package-list</includes>
<outputDirectory>${project.build.directory}/offlineLinks/com.stripe/stripe-java</outputDirectory>
</artifactItem>
</artifactItems>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId><artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<offlineLinks combine.children="append">
<!-- Direct -->
<offlineLink>
<url>https://oss.aoapps.com/collections/apidocs/</url>
<location>${project.build.directory}/offlineLinks/com.aoapps/ao-collections</location>
</offlineLink>
<offlineLink>
<url>https://oss.aoapps.com/lang/apidocs/</url>
<location>${project.build.directory}/offlineLinks/com.aoapps/ao-lang</location>
</offlineLink>
<offlineLink>
<url>https://oss.aoapps.com/payments/api/apidocs/</url>
<location>${project.build.directory}/offlineLinks/com.aoapps/ao-payments-api</location>
</offlineLink>
<offlineLink>
<url>https://javadoc.io/doc/org.apache.commons/commons-lang3/${commons-lang3.version}/</url>
<location>${project.build.directory}/offlineLinks/org.apache.commons/commons-lang3</location>
</offlineLink>
<offlineLink>
<url>https://javadoc.io/doc/com.stripe/stripe-java/${stripe-java.version}/</url>
<location>${project.build.directory}/offlineLinks/com.stripe/stripe-java</location>
</offlineLink>
</offlineLinks>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>release</id>
<properties>
<!--
Newer plugins are failing on release builds:
error: -\-add-modules ALL-MODULE-PATH can only be used when compiling the unnamed module or when compiling in the context of an automatic module
This is caused by the project being detected as a modular build, despite the exclusions via Private-Package
and the added Automatic-Module-Name manifest entry.
Specifically excluding module-info.java from javadoc does not solve the issue.
Could be related:
https://issues.apache.org/jira/browse/MJAVADOC-586
https://bugs.openjdk.org/browse/JDK-8252531 (we also run javadoc in package phase)
Workaround by using old version of maven-javadoc-plugin also used by reactor builds.
-->
<org.apache.maven.plugins.maven-javadoc-plugin.version>${org.apache.maven.plugins.maven-javadoc-plugin.version.reactor}</org.apache.maven.plugins.maven-javadoc-plugin.version>
<copy-element-list-to-package-list-before-javadoc.phase>prepare-package</copy-element-list-to-package-list-before-javadoc.phase>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.apache.felix</groupId><artifactId>maven-bundle-plugin</artifactId>
<configuration>
<instructions>
<!--
Releases use "Automatic-Module-Name" instead of "module-info.java"
since has direct dependencies that are not yet modularized.
-->
<Automatic-Module-Name>${module.name}</Automatic-Module-Name>
<Private-Package>!.</Private-Package>
</instructions>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId><artifactId>maven-jar-plugin</artifactId>
<configuration>
<excludes>
<exclude>**/module-info.class</exclude>
</excludes>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<dependencyManagement>
<dependencies>
<!-- Direct -->
<dependency>
<groupId>com.aoapps</groupId><artifactId>ao-collections</artifactId><version>3.0.0<!-- ${POST-SNAPSHOT} --></version>
</dependency>
<dependency>
<groupId>com.aoapps</groupId><artifactId>ao-lang</artifactId><version>5.5.1<!-- ${POST-SNAPSHOT} --></version>
</dependency>
<dependency>
<groupId>com.aoapps</groupId><artifactId>ao-payments-api</artifactId><version>3.0.0<!-- ${POST-SNAPSHOT} --></version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId><artifactId>commons-lang3</artifactId><version>${commons-lang3.version}</version>
</dependency>
<dependency>
<groupId>com.stripe</groupId><artifactId>stripe-java</artifactId><version>${stripe-java.version}</version>
</dependency>
<!-- Transitive -->
<dependency>
<groupId>commons-beanutils</groupId><artifactId>commons-beanutils</artifactId><version>1.9.4</version>
</dependency>
<dependency>
<groupId>commons-collections</groupId><artifactId>commons-collections</artifactId><version>3.2.2</version>
</dependency>
<dependency>
<groupId>commons-digester</groupId><artifactId>commons-digester</artifactId><version>2.1</version>
</dependency>
<dependency>
<groupId>commons-logging</groupId><artifactId>commons-logging</artifactId><version>1.2</version>
</dependency>
<dependency>
<groupId>commons-validator</groupId><artifactId>commons-validator</artifactId><version>1.7</version>
</dependency>
<!-- Runtime Transitive -->
<dependency>
<groupId>com.google.code.gson</groupId><artifactId>gson</artifactId><version>2.10.1</version>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<!-- Direct -->
<dependency>
<groupId>com.aoapps</groupId><artifactId>ao-collections</artifactId>
</dependency>
<dependency>
<groupId>com.aoapps</groupId><artifactId>ao-lang</artifactId>
</dependency>
<dependency>
<groupId>com.aoapps</groupId><artifactId>ao-payments-api</artifactId>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId><artifactId>commons-lang3</artifactId>
</dependency>
<dependency>
<groupId>com.stripe</groupId><artifactId>stripe-java</artifactId>
</dependency>
</dependencies>
</project>