|
| 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>org.casbin</groupId> |
| 8 | + <artifactId>jcasbin-postgres-watcher</artifactId> |
| 9 | + <version>1.0.0</version> |
| 10 | + |
| 11 | + <properties> |
| 12 | + <maven.compiler.release>11</maven.compiler.release> |
| 13 | + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 14 | + </properties> |
| 15 | + |
| 16 | + <name>Postgres watcher for jCasbin</name> |
| 17 | + <description>Postgres Watcher is a Postgres watcher for jCasbin</description> |
| 18 | + <url>https://github.com/jcasbin/jcasbin-postgres-watcher</url> |
| 19 | + <inceptionYear>2025</inceptionYear> |
| 20 | + |
| 21 | + <licenses> |
| 22 | + <license> |
| 23 | + <name>The Apache Software License, Version 2.0</name> |
| 24 | + <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> |
| 25 | + <distribution>repo</distribution> |
| 26 | + </license> |
| 27 | + </licenses> |
| 28 | + |
| 29 | + <developers> |
| 30 | + <developer> |
| 31 | + <name>D0000M</name> |
| 32 | + <email>doom76upup@gmail.com</email> |
| 33 | + <url>https://github.com/D0000M</url> |
| 34 | + </developer> |
| 35 | + </developers> |
| 36 | + |
| 37 | + <scm> |
| 38 | + <url>https://github.com/jcasbin/jcasbin-postgres-watcher</url> |
| 39 | + <developerConnection>scm:git:https://github.com/jcasbin/jcasbin-postgres-watcher.git</developerConnection> |
| 40 | + <connection>scm:git@github.com:jcasbin/jcasbin-postgres-watcher.git</connection> |
| 41 | + </scm> |
| 42 | + |
| 43 | + <distributionManagement> |
| 44 | + <snapshotRepository> |
| 45 | + <id>ossrh</id> |
| 46 | + <url>https://central.sonatype.com</url> |
| 47 | + </snapshotRepository> |
| 48 | + </distributionManagement> |
| 49 | + |
| 50 | + |
| 51 | + <dependencies> |
| 52 | + <!-- jCasbin --> |
| 53 | + <dependency> |
| 54 | + <groupId>org.casbin</groupId> |
| 55 | + <artifactId>jcasbin</artifactId> |
| 56 | + <version>1.82.0</version> |
| 57 | + </dependency> |
| 58 | + <!-- PostgreSQL JDBC --> |
| 59 | + <dependency> |
| 60 | + <groupId>org.postgresql</groupId> |
| 61 | + <artifactId>postgresql</artifactId> |
| 62 | + <version>42.7.7</version> |
| 63 | + </dependency> |
| 64 | + <!-- Jackson for JSON serialization --> |
| 65 | + <dependency> |
| 66 | + <groupId>com.fasterxml.jackson.core</groupId> |
| 67 | + <artifactId>jackson-databind</artifactId> |
| 68 | + <version>2.17.1</version> |
| 69 | + </dependency> |
| 70 | + <!-- JUnit --> |
| 71 | + <dependency> |
| 72 | + <groupId>org.junit.jupiter</groupId> |
| 73 | + <artifactId>junit-jupiter</artifactId> |
| 74 | + <version>5.10.2</version> |
| 75 | + <scope>test</scope> |
| 76 | + </dependency> |
| 77 | + <dependency> |
| 78 | + <groupId>org.slf4j</groupId> |
| 79 | + <artifactId>slf4j-simple</artifactId> |
| 80 | + <version>2.0.16</version> |
| 81 | + <scope>test</scope> |
| 82 | + </dependency> |
| 83 | + </dependencies> |
| 84 | + |
| 85 | + <build> |
| 86 | + <plugins> |
| 87 | + <plugin> |
| 88 | + <groupId>org.apache.maven.plugins</groupId> |
| 89 | + <artifactId>maven-gpg-plugin</artifactId> |
| 90 | + <version>1.5</version> |
| 91 | + <executions> |
| 92 | + <execution> |
| 93 | + <id>sign-artifacts</id> |
| 94 | + <phase>verify</phase> |
| 95 | + <goals> |
| 96 | + <goal>sign</goal> |
| 97 | + </goals> |
| 98 | + </execution> |
| 99 | + </executions> |
| 100 | + <configuration> |
| 101 | + <!-- Prevent gpg from using pinentry programs --> |
| 102 | + <gpgArguments> |
| 103 | + <arg>--pinentry-mode</arg> |
| 104 | + <arg>loopback</arg> |
| 105 | + </gpgArguments> |
| 106 | + </configuration> |
| 107 | + </plugin> |
| 108 | + <plugin> |
| 109 | + <!-- Include zipped source code in releases --> |
| 110 | + <groupId>org.apache.maven.plugins</groupId> |
| 111 | + <artifactId>maven-source-plugin</artifactId> |
| 112 | + <executions> |
| 113 | + <execution> |
| 114 | + <id>attach-sources</id> |
| 115 | + <goals> |
| 116 | + <goal>jar-no-fork</goal> |
| 117 | + </goals> |
| 118 | + </execution> |
| 119 | + </executions> |
| 120 | + </plugin> |
| 121 | + <plugin> |
| 122 | + <!-- Allow attaching Javadoc during releases --> |
| 123 | + <groupId>org.apache.maven.plugins</groupId> |
| 124 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 125 | + <version>2.10.4</version> |
| 126 | + <configuration> |
| 127 | + <source>11</source> |
| 128 | + <detectJavaApiLink>false</detectJavaApiLink> |
| 129 | + <!-- Turn off Java 8 strict Javadoc checking --> |
| 130 | + <additionalparam>-Xdoclint:none</additionalparam> |
| 131 | + <tags> |
| 132 | + <tag> |
| 133 | + <name>notnull</name> |
| 134 | + <placement>a</placement> |
| 135 | + <head>Not null</head> |
| 136 | + </tag> |
| 137 | + <tag> |
| 138 | + <name>default</name> |
| 139 | + <placement>a</placement> |
| 140 | + <head>Default:</head> |
| 141 | + </tag> |
| 142 | + </tags> |
| 143 | + </configuration> |
| 144 | + <executions> |
| 145 | + <!-- Compress Javadoc into JAR and include that JAR when deploying. --> |
| 146 | + <execution> |
| 147 | + <id>attach-javadocs</id> |
| 148 | + <goals> |
| 149 | + <goal>jar</goal> |
| 150 | + </goals> |
| 151 | + </execution> |
| 152 | + </executions> |
| 153 | + </plugin> |
| 154 | + <plugin> |
| 155 | + <!-- Automatically close and deploy from OSSRH --> |
| 156 | + <groupId>org.sonatype.central</groupId> |
| 157 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 158 | + <version>0.5.0</version> |
| 159 | + <extensions>true</extensions> |
| 160 | + <configuration> |
| 161 | + <publishingServerId>ossrh</publishingServerId> |
| 162 | + <!-- Release versions will be synced to Maven Central automatically. --> |
| 163 | + <autoPublish>true</autoPublish> |
| 164 | + </configuration> |
| 165 | + </plugin> |
| 166 | + </plugins> |
| 167 | + </build> |
| 168 | + |
| 169 | +</project> |
0 commit comments