|
18 | 18 | <url>https://github.com/jcasbin/jdbc-adapter/issues</url>
|
19 | 19 | </issueManagement>
|
20 | 20 |
|
21 |
| - <ciManagement> |
22 |
| - <system>Travis CI</system> |
23 |
| - <url>https://travis-ci.com/jcasbin/jdbc-adapter</url> |
24 |
| - </ciManagement> |
25 |
| - |
26 | 21 | <parent>
|
27 | 22 | <groupId>org.sonatype.oss</groupId>
|
28 | 23 | <artifactId>oss-parent</artifactId>
|
|
52 | 47 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
53 | 48 | </properties>
|
54 | 49 |
|
| 50 | + <distributionManagement> |
| 51 | + <snapshotRepository> |
| 52 | + <id>ossrh</id> |
| 53 | + <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
| 54 | + </snapshotRepository> |
| 55 | + <repository> |
| 56 | + <id>ossrh</id> |
| 57 | + <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
| 58 | + </repository> |
| 59 | + </distributionManagement> |
| 60 | + |
55 | 61 | <build>
|
56 | 62 | <plugins>
|
| 63 | + <plugin> |
| 64 | + <groupId>org.apache.maven.plugins</groupId> |
| 65 | + <artifactId>maven-gpg-plugin</artifactId> |
| 66 | + <version>1.5</version> |
| 67 | + <executions> |
| 68 | + <execution> |
| 69 | + <id>sign-artifacts</id> |
| 70 | + <phase>verify</phase> |
| 71 | + <goals> |
| 72 | + <goal>sign</goal> |
| 73 | + </goals> |
| 74 | + </execution> |
| 75 | + </executions> |
| 76 | + <configuration> |
| 77 | + <!-- Prevent gpg from using pinentry programs --> |
| 78 | + <gpgArguments> |
| 79 | + <arg>--pinentry-mode</arg> |
| 80 | + <arg>loopback</arg> |
| 81 | + </gpgArguments> |
| 82 | + </configuration> |
| 83 | + </plugin> |
57 | 84 | <plugin>
|
58 | 85 | <groupId>org.eluder.coveralls</groupId>
|
59 | 86 | <artifactId>coveralls-maven-plugin</artifactId>
|
|
72 | 99 | </execution>
|
73 | 100 | </executions>
|
74 | 101 | </plugin>
|
| 102 | + <plugin> |
| 103 | + <!-- Allow attaching Javadoc during releases --> |
| 104 | + <groupId>org.apache.maven.plugins</groupId> |
| 105 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 106 | + <version>2.10.4</version> |
| 107 | + <configuration> |
| 108 | + <source>11</source> |
| 109 | + <detectJavaApiLink>false</detectJavaApiLink> |
| 110 | + <!-- Turn off Java 8 strict Javadoc checking --> |
| 111 | + <additionalparam>-Xdoclint:none</additionalparam> |
| 112 | + <tags> |
| 113 | + <tag> |
| 114 | + <name>notnull</name> |
| 115 | + <placement>a</placement> |
| 116 | + <head>Not null</head> |
| 117 | + </tag> |
| 118 | + <tag> |
| 119 | + <name>default</name> |
| 120 | + <placement>a</placement> |
| 121 | + <head>Default:</head> |
| 122 | + </tag> |
| 123 | + </tags> |
| 124 | + </configuration> |
| 125 | + <executions> |
| 126 | + <!-- Compress Javadoc into JAR and include that JAR when deploying. --> |
| 127 | + <execution> |
| 128 | + <id>attach-javadocs</id> |
| 129 | + <goals> |
| 130 | + <goal>jar</goal> |
| 131 | + </goals> |
| 132 | + </execution> |
| 133 | + </executions> |
| 134 | + </plugin> |
| 135 | + <plugin> |
| 136 | + <!-- Include zipped source code in releases --> |
| 137 | + <groupId>org.apache.maven.plugins</groupId> |
| 138 | + <artifactId>maven-source-plugin</artifactId> |
| 139 | + <executions> |
| 140 | + <execution> |
| 141 | + <id>attach-sources</id> |
| 142 | + <goals> |
| 143 | + <goal>jar-no-fork</goal> |
| 144 | + </goals> |
| 145 | + </execution> |
| 146 | + </executions> |
| 147 | + </plugin> |
| 148 | + <plugin> |
| 149 | + <!-- Automatically close and deploy from OSSRH --> |
| 150 | + <groupId>org.sonatype.plugins</groupId> |
| 151 | + <artifactId>nexus-staging-maven-plugin</artifactId> |
| 152 | + <version>1.6.7</version> |
| 153 | + <extensions>true</extensions> |
| 154 | + <configuration> |
| 155 | + <serverId>ossrh</serverId> |
| 156 | + <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
| 157 | + <!-- Release versions will be synced to Maven Central automatically. --> |
| 158 | + <autoReleaseAfterClose>true</autoReleaseAfterClose> |
| 159 | + </configuration> |
| 160 | + </plugin> |
75 | 161 | <plugin>
|
76 | 162 | <groupId>org.apache.maven.plugins</groupId>
|
77 | 163 | <artifactId>maven-compiler-plugin</artifactId>
|
78 | 164 | <configuration>
|
79 |
| - <source>8</source> |
80 |
| - <target>8</target> |
| 165 | + <source>1.8</source> |
| 166 | + <target>1.8</target> |
| 167 | + </configuration> |
| 168 | + </plugin> |
| 169 | + <plugin> |
| 170 | + <groupId>org.codehaus.mojo</groupId> |
| 171 | + <artifactId>cobertura-maven-plugin</artifactId> |
| 172 | + <version>2.7</version> |
| 173 | + <configuration> |
| 174 | + <formats> |
| 175 | + <format>html</format> |
| 176 | + <format>xml</format> |
| 177 | + </formats> |
| 178 | + <check /> |
81 | 179 | </configuration>
|
82 | 180 | </plugin>
|
83 | 181 | </plugins>
|
|
0 commit comments