|
1 | 1 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
2 | 2 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
3 | 3 | <modelVersion>4.0.0</modelVersion> |
4 | | - <groupId>org.kopi</groupId> |
5 | | - <artifactId>ebics</artifactId> |
| 4 | + <groupId>io.github.ebics-java</groupId> |
| 5 | + <artifactId>ebics-java-client</artifactId> |
6 | 6 | <packaging>jar</packaging> |
7 | | - <version>2.0.0</version> |
8 | | - <name>ebics</name> |
| 7 | + <version>2.1.0</version> |
| 8 | + <name>EBICS Java Client</name> |
| 9 | + <description>EBICS (Electronic Banking Internet Communication Standard) client library for Java. |
| 10 | + Supports EBICS 3.0 and French, German and Swiss banks, with a command line client for |
| 11 | + bank setup, key initialization and file download.</description> |
9 | 12 | <url>https://github.com/ebics-java/ebics-java-client</url> |
| 13 | + |
| 14 | + <licenses> |
| 15 | + <license> |
| 16 | + <name>GNU Lesser General Public License, Version 2.1</name> |
| 17 | + <url>https://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt</url> |
| 18 | + <distribution>repo</distribution> |
| 19 | + </license> |
| 20 | + </licenses> |
| 21 | + |
| 22 | + <developers> |
| 23 | + <developer> |
| 24 | + <id>ebics-java</id> |
| 25 | + <name>EBICS Java Client contributors</name> |
| 26 | + <url>https://github.com/ebics-java/ebics-java-client/graphs/contributors</url> |
| 27 | + </developer> |
| 28 | + </developers> |
| 29 | + |
| 30 | + <scm> |
| 31 | + <connection>scm:git:https://github.com/ebics-java/ebics-java-client.git</connection> |
| 32 | + <developerConnection>scm:git:git@github.com:ebics-java/ebics-java-client.git</developerConnection> |
| 33 | + <url>https://github.com/ebics-java/ebics-java-client</url> |
| 34 | + <tag>HEAD</tag> |
| 35 | + </scm> |
10 | 36 | <dependencies> |
11 | 37 | <dependency> |
12 | 38 | <groupId>org.apache.xmlbeans</groupId> |
|
81 | 107 | <xmlConfigs> |
82 | 108 | src/main/xsd/config/config.xsdconfig |
83 | 109 | </xmlConfigs> |
84 | | - |
| 110 | + <!-- |
| 111 | + Pin the generated metadata package and schema-system name to fixed, valid Java |
| 112 | + identifiers. Both default to the Maven coordinates, which now contain hyphens |
| 113 | + (io.github.ebics-java / ebics-java-client) and would produce an invalid package. |
| 114 | + --> |
| 115 | + <name>ebics</name> |
| 116 | + <repackage>org.kopi.ebics.metadata</repackage> |
85 | 117 | </configuration> |
86 | 118 | </plugin> |
87 | 119 | <plugin> |
|
115 | 147 | <properties> |
116 | 148 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
117 | 149 | </properties> |
| 150 | + |
| 151 | + <!-- |
| 152 | + The `release` profile is only needed to publish to Maven Central. It adds a Javadoc jar, |
| 153 | + GPG signatures and the Central Portal publishing plugin. A normal build/install |
| 154 | + (`./mvnw clean install`) does NOT activate it, so the library can be built locally without |
| 155 | + any signing keys or Central credentials. See scripts/release.sh and RELEASING.md. |
| 156 | + --> |
| 157 | + <profiles> |
| 158 | + <profile> |
| 159 | + <id>release</id> |
| 160 | + <build> |
| 161 | + <plugins> |
| 162 | + <plugin> |
| 163 | + <groupId>org.apache.maven.plugins</groupId> |
| 164 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 165 | + <version>3.12.0</version> |
| 166 | + <executions> |
| 167 | + <execution> |
| 168 | + <id>attach-javadocs</id> |
| 169 | + <goals> |
| 170 | + <goal>jar</goal> |
| 171 | + </goals> |
| 172 | + </execution> |
| 173 | + </executions> |
| 174 | + <configuration> |
| 175 | + <!-- The XMLBeans-generated sources are not Javadoc-clean; don't fail the release on them. --> |
| 176 | + <doclint>none</doclint> |
| 177 | + <failOnError>false</failOnError> |
| 178 | + <quiet>true</quiet> |
| 179 | + </configuration> |
| 180 | + </plugin> |
| 181 | + <plugin> |
| 182 | + <groupId>org.apache.maven.plugins</groupId> |
| 183 | + <artifactId>maven-gpg-plugin</artifactId> |
| 184 | + <version>3.2.8</version> |
| 185 | + <executions> |
| 186 | + <execution> |
| 187 | + <id>sign-artifacts</id> |
| 188 | + <phase>verify</phase> |
| 189 | + <goals> |
| 190 | + <goal>sign</goal> |
| 191 | + </goals> |
| 192 | + <configuration> |
| 193 | + <!-- |
| 194 | + Use the built-in BouncyCastle signer: no `gpg` binary or keyring needed. |
| 195 | + The armored private key and its passphrase are read from the environment |
| 196 | + (MAVEN_GPG_KEY / MAVEN_GPG_PASSPHRASE), which scripts/release.sh populates |
| 197 | + from the out-of-repo credentials file. |
| 198 | + --> |
| 199 | + <signer>bc</signer> |
| 200 | + </configuration> |
| 201 | + </execution> |
| 202 | + </executions> |
| 203 | + </plugin> |
| 204 | + <plugin> |
| 205 | + <groupId>org.sonatype.central</groupId> |
| 206 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 207 | + <version>0.11.0</version> |
| 208 | + <extensions>true</extensions> |
| 209 | + <configuration> |
| 210 | + <!-- Credentials come from the <server id="central"> entry in release-settings.xml. --> |
| 211 | + <publishingServerId>central</publishingServerId> |
| 212 | + <!-- Upload to a staged deployment; publish manually from the Central Portal after review. --> |
| 213 | + <autoPublish>false</autoPublish> |
| 214 | + <!-- Name the deployment after its coordinates (otherwise it shows as "Deployment"). --> |
| 215 | + <deploymentName>${project.groupId}:${project.artifactId}:${project.version}</deploymentName> |
| 216 | + </configuration> |
| 217 | + </plugin> |
| 218 | + </plugins> |
| 219 | + </build> |
| 220 | + </profile> |
| 221 | + </profiles> |
118 | 222 | </project> |
0 commit comments