|
40 | 40 |
|
41 | 41 | <properties> |
42 | 42 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
43 | | - <maven.compiler.source>1.7</maven.compiler.source> |
44 | | - <maven.compiler.target>1.7</maven.compiler.target> |
| 43 | + <maven.compiler.source>1.8</maven.compiler.source> |
| 44 | + <maven.compiler.target>1.8</maven.compiler.target> |
45 | 45 | </properties> |
46 | 46 |
|
47 | 47 | <profiles> |
|
51 | 51 | <jdk>[1.9,)</jdk> |
52 | 52 | </activation> |
53 | 53 | <properties> |
54 | | - <maven.compiler.release>7</maven.compiler.release> |
| 54 | + <maven.compiler.release>8</maven.compiler.release> |
55 | 55 | </properties> |
56 | 56 | </profile> |
57 | 57 | </profiles> |
|
66 | 66 | <plugin> |
67 | 67 | <groupId>org.apache.maven.plugins</groupId> |
68 | 68 | <artifactId>maven-source-plugin</artifactId> |
69 | | - <version>2.2.1</version> |
| 69 | + <version>3.3.0</version> |
70 | 70 | <executions> |
71 | 71 | <execution> |
72 | 72 | <id>attach-sources</id> |
|
79 | 79 | <plugin> |
80 | 80 | <groupId>org.apache.maven.plugins</groupId> |
81 | 81 | <artifactId>maven-javadoc-plugin</artifactId> |
82 | | - <version>3.2.0</version> |
| 82 | + <version>3.6.3</version> |
83 | 83 | <executions> |
84 | 84 | <execution> |
85 | 85 | <id>attach-javadocs</id> |
|
119 | 119 | <plugin> |
120 | 120 | <groupId>org.apache.maven.plugins</groupId> |
121 | 121 | <artifactId>maven-gpg-plugin</artifactId> |
122 | | - <version>1.5</version> |
| 122 | + <version>3.1.0</version> |
123 | 123 | <executions> |
124 | 124 | <execution> |
125 | 125 | <id>sign-artifacts</id> |
|
130 | 130 | </execution> |
131 | 131 | </executions> |
132 | 132 | </plugin> |
| 133 | + <plugin> |
| 134 | + <groupId>org.sonatype.central</groupId> |
| 135 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 136 | + <version>0.8.0</version> |
| 137 | + <extensions>true</extensions> |
| 138 | + <configuration> |
| 139 | + <publishingServerId>central</publishingServerId> |
| 140 | + <tokenAuth>true</tokenAuth> |
| 141 | +<!-- <autoPublish>true</autoPublish>--> |
| 142 | + </configuration> |
| 143 | + </plugin> |
133 | 144 | </plugins> |
134 | 145 | </build> |
135 | 146 |
|
136 | | - <distributionManagement> |
137 | | - <snapshotRepository> |
138 | | - <id>ossrh</id> |
139 | | - <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
140 | | - </snapshotRepository> |
141 | | - <repository> |
142 | | - <id>ossrh</id> |
143 | | - <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
144 | | - </repository> |
145 | | - </distributionManagement> |
146 | | - |
147 | 147 | <dependencies> |
148 | 148 | <!-- https://mvnrepository.com/artifact/org.testng/testng --> |
149 | 149 | <dependency> |
|
0 commit comments