|
| 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 | + <!-- |
| 8 | + "Batteries-included" convenience aggregate. Depending on this single |
| 9 | + artifact pulls the lean engine plus the bundled Google fonts at a |
| 10 | + compatible, pinned pair of versions — the one-line install for newcomers |
| 11 | + who want the pre-split behaviour back. Power users instead depend on |
| 12 | + graph-compose directly and pick their own graph-compose-fonts version. |
| 13 | +
|
| 14 | + Versioning: this module tracks the ENGINE line (its version == the engine |
| 15 | + version, bumped in lockstep), and pins a specific graph-compose-fonts |
| 16 | + version. It is standalone (no Maven parent) and pom-packaged, so Maven |
| 17 | + Central needs no sources/javadoc jars for it. |
| 18 | + --> |
| 19 | + <groupId>io.github.demchaav</groupId> |
| 20 | + <artifactId>graph-compose-bundle</artifactId> |
| 21 | + <!-- |
| 22 | + Tracks the engine line. Currently 1.7.1 to match the engine version in |
| 23 | + the repo; the release-cut `versions:set` bumps engine + bundle to the |
| 24 | + release version in lockstep, while graph-compose-fonts stays on its own |
| 25 | + line. The graph-compose dependency below uses ${project.version}, so it |
| 26 | + follows automatically. |
| 27 | + --> |
| 28 | + <version>1.7.1</version> |
| 29 | + <packaging>pom</packaging> |
| 30 | + |
| 31 | + <name>GraphCompose Bundle</name> |
| 32 | + <description>Batteries-included aggregate: the GraphCompose engine plus the bundled Google fonts at compatible versions.</description> |
| 33 | + <url>https://github.com/DemchaAV/GraphCompose</url> |
| 34 | + |
| 35 | + <licenses> |
| 36 | + <license> |
| 37 | + <name>MIT License</name> |
| 38 | + <url>https://opensource.org/licenses/MIT</url> |
| 39 | + <distribution>repo</distribution> |
| 40 | + </license> |
| 41 | + </licenses> |
| 42 | + |
| 43 | + <developers> |
| 44 | + <developer> |
| 45 | + <id>DemchaAV</id> |
| 46 | + <name>Artem Demchyshyn</name> |
| 47 | + <email>demchishynartem@gmail.com</email> |
| 48 | + <url>https://github.com/DemchaAV</url> |
| 49 | + <roles> |
| 50 | + <role>Lead Developer</role> |
| 51 | + <role>Architect</role> |
| 52 | + </roles> |
| 53 | + <timezone>UTC 0</timezone> |
| 54 | + </developer> |
| 55 | + </developers> |
| 56 | + |
| 57 | + <scm> |
| 58 | + <connection>scm:git:https://github.com/DemchaAV/GraphCompose.git</connection> |
| 59 | + <developerConnection>scm:git:ssh://git@github.com/DemchaAV/GraphCompose.git</developerConnection> |
| 60 | + <url>https://github.com/DemchaAV/GraphCompose/tree/main</url> |
| 61 | + </scm> |
| 62 | + |
| 63 | + <properties> |
| 64 | + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 65 | + |
| 66 | + <!-- Pinned bundled-fonts version this bundle ships with. --> |
| 67 | + <graphcompose.fonts.version>1.0.0</graphcompose.fonts.version> |
| 68 | + |
| 69 | + <maven.gpg.plugin.version>3.2.8</maven.gpg.plugin.version> |
| 70 | + <central.publishing.plugin.version>0.10.0</central.publishing.plugin.version> |
| 71 | + |
| 72 | + <gpg.skip>true</gpg.skip> |
| 73 | + </properties> |
| 74 | + |
| 75 | + <dependencies> |
| 76 | + <!-- The engine, at this bundle's (== engine) version. --> |
| 77 | + <dependency> |
| 78 | + <groupId>io.github.demchaav</groupId> |
| 79 | + <artifactId>graph-compose</artifactId> |
| 80 | + <version>${project.version}</version> |
| 81 | + </dependency> |
| 82 | + <!-- The bundled fonts, at the pinned independent fonts version. --> |
| 83 | + <dependency> |
| 84 | + <groupId>io.github.demchaav</groupId> |
| 85 | + <artifactId>graph-compose-fonts</artifactId> |
| 86 | + <version>${graphcompose.fonts.version}</version> |
| 87 | + </dependency> |
| 88 | + </dependencies> |
| 89 | + |
| 90 | + <profiles> |
| 91 | + <!-- |
| 92 | + Maven Central release. A pom-packaged artifact needs no |
| 93 | + sources/javadoc jars; it only requires a signed .pom uploaded via |
| 94 | + central-publishing. Activated with `-P release`; the publish workflow |
| 95 | + flips -Dgpg.skip=false on the engine `v*` tag (the bundle ships |
| 96 | + together with the engine it pins). |
| 97 | + --> |
| 98 | + <profile> |
| 99 | + <id>release</id> |
| 100 | + <build> |
| 101 | + <plugins> |
| 102 | + <plugin> |
| 103 | + <groupId>org.apache.maven.plugins</groupId> |
| 104 | + <artifactId>maven-gpg-plugin</artifactId> |
| 105 | + <version>${maven.gpg.plugin.version}</version> |
| 106 | + <executions> |
| 107 | + <execution> |
| 108 | + <id>sign-artifacts</id> |
| 109 | + <phase>verify</phase> |
| 110 | + <goals> |
| 111 | + <goal>sign</goal> |
| 112 | + </goals> |
| 113 | + <configuration> |
| 114 | + <skip>${gpg.skip}</skip> |
| 115 | + <gpgArguments> |
| 116 | + <arg>--pinentry-mode</arg> |
| 117 | + <arg>loopback</arg> |
| 118 | + </gpgArguments> |
| 119 | + </configuration> |
| 120 | + </execution> |
| 121 | + </executions> |
| 122 | + </plugin> |
| 123 | + <plugin> |
| 124 | + <groupId>org.sonatype.central</groupId> |
| 125 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 126 | + <version>${central.publishing.plugin.version}</version> |
| 127 | + <extensions>true</extensions> |
| 128 | + <configuration> |
| 129 | + <publishingServerId>central</publishingServerId> |
| 130 | + <autoPublish>false</autoPublish> |
| 131 | + <waitUntil>validated</waitUntil> |
| 132 | + </configuration> |
| 133 | + </plugin> |
| 134 | + </plugins> |
| 135 | + </build> |
| 136 | + </profile> |
| 137 | + </profiles> |
| 138 | +</project> |
0 commit comments