|
8 | 8 | <artifactId>jcasbin-redis-watcher</artifactId> |
9 | 9 | <version>0.0.1</version> |
10 | 10 |
|
| 11 | + <issueManagement> |
| 12 | + <system>Github</system> |
| 13 | + <url>https://github.com/jcasbin/redis-watcher/issues</url> |
| 14 | + </issueManagement> |
| 15 | + |
| 16 | + <parent> |
| 17 | + <groupId>org.sonatype.oss</groupId> |
| 18 | + <artifactId>oss-parent</artifactId> |
| 19 | + <version>7</version> |
| 20 | + </parent> |
| 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 | + <scm> |
| 29 | + <url>https://github.com/jcasbin/redis-watcher</url> |
| 30 | + < connection>scm: [email protected]:jcasbin/redis-watcher.git</ connection> |
| 31 | + <developerConnection>scm:git:https://github.com/jcasbin/redis-watcher.git</developerConnection> |
| 32 | + </scm> |
| 33 | + <developers> |
| 34 | + <developer> |
| 35 | + <name>Yang Luo</name> |
| 36 | + |
| 37 | + <url>https://github.com/hsluoyz</url> |
| 38 | + </developer> |
| 39 | + </developers> |
| 40 | + |
11 | 41 | <properties> |
12 | | - <maven.compiler.source>1.8</maven.compiler.source> |
13 | | - <maven.compiler.target>1.8</maven.compiler.target> |
14 | 42 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
15 | 43 | <slf4j.version>1.7.25</slf4j.version> |
16 | 44 | </properties> |
17 | 45 |
|
| 46 | + <distributionManagement> |
| 47 | + <snapshotRepository> |
| 48 | + <id>ossrh</id> |
| 49 | + <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
| 50 | + </snapshotRepository> |
| 51 | + <repository> |
| 52 | + <id>ossrh</id> |
| 53 | + <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
| 54 | + </repository> |
| 55 | + </distributionManagement> |
| 56 | + |
18 | 57 | <dependencies> |
19 | 58 | <dependency> |
20 | 59 | <groupId>org.slf4j</groupId> |
|
46 | 85 | </dependencies> |
47 | 86 |
|
48 | 87 | <build> |
49 | | - <resources> |
50 | | - <resource> |
51 | | - <directory>src/main/java</directory> |
52 | | - <includes> |
53 | | - <include>**/*.*</include> |
54 | | - </includes> |
55 | | - <excludes> |
56 | | - <exclude>**/*.java</exclude> |
57 | | - </excludes> |
58 | | - <filtering>false</filtering> |
59 | | - </resource> |
60 | | - </resources> |
61 | 88 | <plugins> |
| 89 | + <plugin> |
| 90 | + <groupId>org.apache.maven.plugins</groupId> |
| 91 | + <artifactId>maven-gpg-plugin</artifactId> |
| 92 | + <version>1.5</version> |
| 93 | + <executions> |
| 94 | + <execution> |
| 95 | + <id>sign-artifacts</id> |
| 96 | + <phase>verify</phase> |
| 97 | + <goals> |
| 98 | + <goal>sign</goal> |
| 99 | + </goals> |
| 100 | + </execution> |
| 101 | + </executions> |
| 102 | + <configuration> |
| 103 | + <!-- Prevent gpg from using pinentry programs --> |
| 104 | + <gpgArguments> |
| 105 | + <arg>--pinentry-mode</arg> |
| 106 | + <arg>loopback</arg> |
| 107 | + </gpgArguments> |
| 108 | + </configuration> |
| 109 | + </plugin> |
| 110 | + <plugin> |
| 111 | + <!-- Allow attaching Javadoc during releases --> |
| 112 | + <groupId>org.apache.maven.plugins</groupId> |
| 113 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 114 | + <version>2.10.4</version> |
| 115 | + <configuration> |
| 116 | + <source>11</source> |
| 117 | + <detectJavaApiLink>false</detectJavaApiLink> |
| 118 | + <!-- Turn off Java 8 strict Javadoc checking --> |
| 119 | + <additionalparam>-Xdoclint:none</additionalparam> |
| 120 | + <tags> |
| 121 | + <tag> |
| 122 | + <name>notnull</name> |
| 123 | + <placement>a</placement> |
| 124 | + <head>Not null</head> |
| 125 | + </tag> |
| 126 | + <tag> |
| 127 | + <name>default</name> |
| 128 | + <placement>a</placement> |
| 129 | + <head>Default:</head> |
| 130 | + </tag> |
| 131 | + </tags> |
| 132 | + </configuration> |
| 133 | + <executions> |
| 134 | + <!-- Compress Javadoc into JAR and include that JAR when deploying. --> |
| 135 | + <execution> |
| 136 | + <id>attach-javadocs</id> |
| 137 | + <goals> |
| 138 | + <goal>jar</goal> |
| 139 | + </goals> |
| 140 | + </execution> |
| 141 | + </executions> |
| 142 | + </plugin> |
| 143 | + <plugin> |
| 144 | + <!-- Include zipped source code in releases --> |
| 145 | + <groupId>org.apache.maven.plugins</groupId> |
| 146 | + <artifactId>maven-source-plugin</artifactId> |
| 147 | + <executions> |
| 148 | + <execution> |
| 149 | + <id>attach-sources</id> |
| 150 | + <goals> |
| 151 | + <goal>jar-no-fork</goal> |
| 152 | + </goals> |
| 153 | + </execution> |
| 154 | + </executions> |
| 155 | + </plugin> |
| 156 | + <plugin> |
| 157 | + <!-- Automatically close and deploy from OSSRH --> |
| 158 | + <groupId>org.sonatype.plugins</groupId> |
| 159 | + <artifactId>nexus-staging-maven-plugin</artifactId> |
| 160 | + <version>1.6.7</version> |
| 161 | + <extensions>true</extensions> |
| 162 | + <configuration> |
| 163 | + <serverId>ossrh</serverId> |
| 164 | + <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
| 165 | + <!-- Release versions will be synced to Maven Central automatically. --> |
| 166 | + <autoReleaseAfterClose>true</autoReleaseAfterClose> |
| 167 | + </configuration> |
| 168 | + </plugin> |
| 169 | + <plugin> |
| 170 | + <groupId>org.apache.maven.plugins</groupId> |
| 171 | + <artifactId>maven-compiler-plugin</artifactId> |
| 172 | + <configuration> |
| 173 | + <source>1.8</source> |
| 174 | + <target>1.8</target> |
| 175 | + </configuration> |
| 176 | + </plugin> |
| 177 | + <plugin> |
| 178 | + <groupId>org.eluder.coveralls</groupId> |
| 179 | + <artifactId>coveralls-maven-plugin</artifactId> |
| 180 | + <version>4.3.0</version> |
| 181 | + </plugin> |
62 | 182 | <plugin> |
63 | 183 | <groupId>org.codehaus.mojo</groupId> |
64 | 184 | <artifactId>cobertura-maven-plugin</artifactId> |
|
68 | 188 | <format>html</format> |
69 | 189 | <format>xml</format> |
70 | 190 | </formats> |
71 | | - <check/> |
| 191 | + <check /> |
72 | 192 | </configuration> |
73 | 193 | </plugin> |
74 | 194 | </plugins> |
|
0 commit comments