|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<project xmlns="http://maven.apache.org/POM/4.0.0" |
| 3 | + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 4 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 5 | + <modelVersion>4.0.0</modelVersion> |
| 6 | + |
| 7 | + <groupId>xyz.brandonfl</groupId> |
| 8 | + <artifactId>throwable-optional</artifactId> |
| 9 | + <version>1.0.2</version> |
| 10 | + |
| 11 | + <name>Throwable Optional</name> |
| 12 | + <description>Java utility class that enables the possibility to use the Optional with functions that can throw exceptions</description> |
| 13 | + <url>https://github.com/brandonfl/throwable-optional</url> |
| 14 | + |
| 15 | + <licenses> |
| 16 | + <license> |
| 17 | + <name>MIT License</name> |
| 18 | + <url>https://github.com/brandonfl/throwable-optional/blob/master/LICENSE</url> |
| 19 | + </license> |
| 20 | + </licenses> |
| 21 | + |
| 22 | + <developers> |
| 23 | + <developer> |
| 24 | + <name>Brandon Fontany-Legall</name> |
| 25 | + <email>brandon@fontany-legall.xyz</email> |
| 26 | + <organization>BrandonFL</organization> |
| 27 | + <organizationUrl>https://brandonfl.xyz/</organizationUrl> |
| 28 | + </developer> |
| 29 | + </developers> |
| 30 | + |
| 31 | + <scm> |
| 32 | + <connection>scm:git:git://github.com/brandonfl/throwable-optional.git</connection> |
| 33 | + <developerConnection>scm:git:ssh://github.com:brandonfl/throwable-optional.git</developerConnection> |
| 34 | + <url>http://github.com/brandonfl/throwable-optional/tree/master</url> |
| 35 | + </scm> |
| 36 | + |
| 37 | + <properties> |
| 38 | + <maven.compiler.source>11</maven.compiler.source> |
| 39 | + <maven.compiler.target>11</maven.compiler.target> |
| 40 | + |
| 41 | + <sonar.projectKey>brandonfl_throwable-optional</sonar.projectKey> |
| 42 | + <sonar.organization>fontanylegall-brandon</sonar.organization> |
| 43 | + <sonar.host.url>https://sonarcloud.io</sonar.host.url> |
| 44 | + </properties> |
| 45 | + |
| 46 | + <build> |
| 47 | + <plugins> |
| 48 | + <plugin> |
| 49 | + <groupId>org.apache.maven.plugins</groupId> |
| 50 | + <artifactId>maven-source-plugin</artifactId> |
| 51 | + <version>2.2.1</version> |
| 52 | + <executions> |
| 53 | + <execution> |
| 54 | + <id>attach-sources</id> |
| 55 | + <goals> |
| 56 | + <goal>jar-no-fork</goal> |
| 57 | + </goals> |
| 58 | + </execution> |
| 59 | + </executions> |
| 60 | + </plugin> |
| 61 | + <plugin> |
| 62 | + <groupId>org.apache.maven.plugins</groupId> |
| 63 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 64 | + <version>2.9.1</version> |
| 65 | + <executions> |
| 66 | + <execution> |
| 67 | + <id>attach-javadocs</id> |
| 68 | + <goals> |
| 69 | + <goal>jar</goal> |
| 70 | + </goals> |
| 71 | + </execution> |
| 72 | + </executions> |
| 73 | + </plugin> |
| 74 | + |
| 75 | + </plugins> |
| 76 | + </build> |
| 77 | + |
| 78 | + <profiles> |
| 79 | + <profile> |
| 80 | + <id>release-ossrh</id> |
| 81 | + <activation> |
| 82 | + <property> |
| 83 | + <name>releaseFor</name> |
| 84 | + <value>ossrh</value> |
| 85 | + </property> |
| 86 | + </activation> |
| 87 | + <distributionManagement> |
| 88 | + <repository> |
| 89 | + <id>ossrh</id> |
| 90 | + <name>Central Repository OSSRH</name> |
| 91 | + <url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
| 92 | + </repository> |
| 93 | + </distributionManagement> |
| 94 | + <build> |
| 95 | + <plugins> |
| 96 | + <plugin> |
| 97 | + <groupId>org.sonatype.plugins</groupId> |
| 98 | + <artifactId>nexus-staging-maven-plugin</artifactId> |
| 99 | + <version>1.6.7</version> |
| 100 | + <extensions>true</extensions> |
| 101 | + <configuration> |
| 102 | + <serverId>ossrh</serverId> |
| 103 | + <nexusUrl>https://s01.oss.sonatype.org/</nexusUrl> |
| 104 | + <autoReleaseAfterClose>true</autoReleaseAfterClose> |
| 105 | + </configuration> |
| 106 | + </plugin> |
| 107 | + <plugin> |
| 108 | + <groupId>org.apache.maven.plugins</groupId> |
| 109 | + <artifactId>maven-gpg-plugin</artifactId> |
| 110 | + <version>1.6</version> |
| 111 | + <configuration> |
| 112 | + <gpgArguments> |
| 113 | + <arg>--pinentry-mode</arg> |
| 114 | + <arg>loopback</arg> |
| 115 | + </gpgArguments> |
| 116 | + </configuration> |
| 117 | + <executions> |
| 118 | + <execution> |
| 119 | + <id>sign-artifacts</id> |
| 120 | + <phase>verify</phase> |
| 121 | + <goals> |
| 122 | + <goal>sign</goal> |
| 123 | + </goals> |
| 124 | + </execution> |
| 125 | + </executions> |
| 126 | + </plugin> |
| 127 | + </plugins> |
| 128 | + </build> |
| 129 | + </profile> |
| 130 | + |
| 131 | + <profile> |
| 132 | + <id>release-github</id> |
| 133 | + <activation> |
| 134 | + <property> |
| 135 | + <name>releaseFor</name> |
| 136 | + <value>github</value> |
| 137 | + </property> |
| 138 | + </activation> |
| 139 | + <distributionManagement> |
| 140 | + <repository> |
| 141 | + <id>github</id> |
| 142 | + <name>GitHub brandonfl Apache Maven Packages</name> |
| 143 | + <url>https://maven.pkg.github.com/brandonfl/throwable-optional</url> |
| 144 | + </repository> |
| 145 | + </distributionManagement> |
| 146 | + </profile> |
| 147 | + </profiles> |
| 148 | + |
| 149 | + <dependencies> |
| 150 | + <dependency> |
| 151 | + <groupId>org.junit.jupiter</groupId> |
| 152 | + <artifactId>junit-jupiter-engine</artifactId> |
| 153 | + <version>5.1.0</version> |
| 154 | + <scope>test</scope> |
| 155 | + </dependency> |
| 156 | + <dependency> |
| 157 | + <groupId>junit</groupId> |
| 158 | + <artifactId>junit</artifactId> |
| 159 | + <version>RELEASE</version> |
| 160 | + <scope>test</scope> |
| 161 | + </dependency> |
| 162 | + </dependencies> |
| 163 | +</project> |
0 commit comments