|
11 | 11 | <description>Store Cryptomator vault passwords in KeePassXC</description> |
12 | 12 | <url>https://github.com/purejava/keepassxc-cryptomator/</url> |
13 | 13 |
|
14 | | - <scm> |
15 | | - < connection>scm:git: [email protected]:purejava/keepassxc-cryptomator.git</ connection> |
16 | | - < developerConnection>scm:git: [email protected]:purejava/keepassxc-cryptomator.git</ developerConnection> |
17 | | - < url> [email protected]:purejava/keepassxc-cryptomator.git</ url> |
18 | | - </scm> |
| 14 | + <licenses> |
| 15 | + <license> |
| 16 | + <name>MIT License</name> |
| 17 | + <url>https://opensource.org/licenses/MIT</url> |
| 18 | + </license> |
| 19 | + </licenses> |
19 | 20 |
|
20 | 21 | <developers> |
21 | 22 | <developer> |
|
27 | 28 | </developer> |
28 | 29 | </developers> |
29 | 30 |
|
30 | | - <licenses> |
31 | | - <license> |
32 | | - <name>MIT License</name> |
33 | | - <url>https://opensource.org/licenses/MIT</url> |
34 | | - </license> |
35 | | - </licenses> |
| 31 | + <scm> |
| 32 | + < connection>scm:git: [email protected]:purejava/keepassxc-cryptomator.git</ connection> |
| 33 | + < developerConnection>scm:git: [email protected]:purejava/keepassxc-cryptomator.git</ developerConnection> |
| 34 | + < url> [email protected]:purejava/keepassxc-cryptomator.git</ url> |
| 35 | + </scm> |
| 36 | + |
| 37 | + <distributionManagement> |
| 38 | + <snapshotRepository> |
| 39 | + <id>ossrh</id> |
| 40 | + <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
| 41 | + </snapshotRepository> |
| 42 | + <repository> |
| 43 | + <id>ossrh</id> |
| 44 | + <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
| 45 | + </repository> |
| 46 | + </distributionManagement> |
36 | 47 |
|
37 | 48 | <properties> |
38 | 49 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
39 | 50 |
|
40 | 51 | <!-- runtime dependencies --> |
41 | 52 | <api.version>0.2.1-SNAPSHOT</api.version> |
42 | | - <keepassxc-proxy.version>0.0.3-SNAPSHOT</keepassxc-proxy.version> |
| 53 | + <keepassxc-proxy.version>0.0.3</keepassxc-proxy.version> |
43 | 54 | <guava.version>30.0-jre</guava.version> |
44 | 55 | <slf4j.version>1.7.30</slf4j.version> |
45 | 56 | <junit.version>5.7.0</junit.version> |
|
93 | 104 | </dependencies> |
94 | 105 |
|
95 | 106 | <build> |
| 107 | + <pluginManagement><!-- lock down plugins versions to avoid using Maven defaults (may be moved to parent pom) --> |
| 108 | + <plugins> |
| 109 | + <!-- clean lifecycle, see https://maven.apache.org/ref/current/maven-core/lifecycles.html#clean_Lifecycle --> |
| 110 | + <plugin> |
| 111 | + <artifactId>maven-clean-plugin</artifactId> |
| 112 | + <version>3.1.0</version> |
| 113 | + </plugin> |
| 114 | + <!-- default lifecycle, jar packaging: see https://maven.apache.org/ref/current/maven-core/default-bindings.html#Plugin_bindings_for_jar_packaging --> |
| 115 | + <plugin> |
| 116 | + <artifactId>maven-resources-plugin</artifactId> |
| 117 | + <version>3.1.0</version> |
| 118 | + <configuration> |
| 119 | + <includeEmptyDirs>false</includeEmptyDirs> |
| 120 | + </configuration> |
| 121 | + </plugin> |
| 122 | + <plugin> |
| 123 | + <artifactId>maven-compiler-plugin</artifactId> |
| 124 | + <version>3.8.1</version> |
| 125 | + </plugin> |
| 126 | + <plugin> |
| 127 | + <artifactId>maven-surefire-plugin</artifactId> |
| 128 | + <version>3.0.0-M5</version> |
| 129 | + </plugin> |
| 130 | + <plugin> |
| 131 | + <artifactId>maven-jar-plugin</artifactId> |
| 132 | + <version>3.2.0</version> |
| 133 | + <configuration> |
| 134 | + <skipIfEmpty>true</skipIfEmpty> |
| 135 | + </configuration> |
| 136 | + </plugin> |
| 137 | + <plugin> |
| 138 | + <artifactId>maven-install-plugin</artifactId> |
| 139 | + <version>3.0.0-M1</version> |
| 140 | + </plugin> |
| 141 | + <plugin> |
| 142 | + <artifactId>maven-deploy-plugin</artifactId> |
| 143 | + <version>3.0.0-M1</version> |
| 144 | + </plugin> |
| 145 | + <!-- site lifecycle, see https://maven.apache.org/ref/current/maven-core/lifecycles.html#site_Lifecycle --> |
| 146 | + <plugin> |
| 147 | + <artifactId>maven-site-plugin</artifactId> |
| 148 | + <version>3.9.1</version> |
| 149 | + </plugin> |
| 150 | + <plugin> |
| 151 | + <artifactId>maven-project-info-reports-plugin</artifactId> |
| 152 | + <version>3.1.1</version> |
| 153 | + </plugin> |
| 154 | + </plugins> |
| 155 | + </pluginManagement> |
| 156 | + |
96 | 157 | <plugins> |
97 | 158 | <plugin> |
98 | 159 | <groupId>org.apache.maven.plugins</groupId> |
99 | 160 | <artifactId>maven-compiler-plugin</artifactId> |
100 | 161 | <version>3.8.1</version> |
101 | 162 | <configuration> |
102 | | - <release>14</release> |
| 163 | + <source>14</source> |
| 164 | + <target>14</target> |
103 | 165 | </configuration> |
104 | 166 | </plugin> |
105 | 167 | <plugin> |
106 | 168 | <groupId>org.apache.maven.plugins</groupId> |
107 | | - <artifactId>maven-surefire-plugin</artifactId> |
108 | | - <version>3.0.0-M5</version> |
109 | | - </plugin> |
110 | | - <plugin> |
111 | 169 | <artifactId>maven-source-plugin</artifactId> |
112 | 170 | <version>3.2.0</version> |
113 | 171 | <executions> |
|
120 | 178 | </executions> |
121 | 179 | </plugin> |
122 | 180 | <plugin> |
| 181 | + <groupId>org.apache.maven.plugins</groupId> |
123 | 182 | <artifactId>maven-javadoc-plugin</artifactId> |
124 | 183 | <version>3.2.0</version> |
125 | 184 | <executions> |
|
128 | 187 | <goals> |
129 | 188 | <goal>jar</goal> |
130 | 189 | </goals> |
| 190 | + <configuration> |
| 191 | + <failOnError>false</failOnError> |
| 192 | + </configuration> |
| 193 | + </execution> |
| 194 | + </executions> |
| 195 | + </plugin> |
| 196 | + <plugin> |
| 197 | + <groupId>org.apache.maven.plugins</groupId> |
| 198 | + <artifactId>maven-gpg-plugin</artifactId> |
| 199 | + <version>1.6</version> |
| 200 | + <executions> |
| 201 | + <execution> |
| 202 | + <id>sign-artifacts</id> |
| 203 | + <phase>verify</phase> |
| 204 | + <goals> |
| 205 | + <goal>sign</goal> |
| 206 | + </goals> |
| 207 | + <configuration> |
| 208 | + <gpgArguments> |
| 209 | + <arg>--pinentry-mode</arg> |
| 210 | + <arg>loopback</arg> |
| 211 | + </gpgArguments> |
| 212 | + </configuration> |
131 | 213 | </execution> |
132 | 214 | </executions> |
| 215 | + </plugin> |
| 216 | + <plugin> |
| 217 | + <groupId>org.sonatype.plugins</groupId> |
| 218 | + <artifactId>nexus-staging-maven-plugin</artifactId> |
| 219 | + <version>1.6.8</version> |
| 220 | + <extensions>true</extensions> |
133 | 221 | <configuration> |
134 | | - <javadocExecutable>${java.home}/bin/javadoc</javadocExecutable> |
135 | | - <quiet>true</quiet> |
136 | | - <release>14</release> |
137 | | - <tags> |
138 | | - <!-- workaround for "unknown tag: implNote", see https://blog.codefx.org/java/new-javadoc-tags/#Maven --> |
139 | | - <tag> |
140 | | - <name>apiNote</name> |
141 | | - <placement>a</placement> |
142 | | - <head>API Note:</head> |
143 | | - </tag> |
144 | | - <tag> |
145 | | - <name>implSpec</name> |
146 | | - <placement>a</placement> |
147 | | - <head>Implementation Requirements:</head> |
148 | | - </tag> |
149 | | - <tag> |
150 | | - <name>implNote</name> |
151 | | - <placement>a</placement> |
152 | | - <head>Implementation Note:</head> |
153 | | - </tag> |
154 | | - <tag> |
155 | | - <name>param</name> |
156 | | - </tag> |
157 | | - <tag> |
158 | | - <name>return</name> |
159 | | - </tag> |
160 | | - <tag> |
161 | | - <name>throws</name> |
162 | | - </tag> |
163 | | - <tag> |
164 | | - <name>since</name> |
165 | | - </tag> |
166 | | - <tag> |
167 | | - <name>version</name> |
168 | | - </tag> |
169 | | - <tag> |
170 | | - <name>serialData</name> |
171 | | - </tag> |
172 | | - <tag> |
173 | | - <name>see</name> |
174 | | - </tag> |
175 | | - </tags> |
| 222 | + <serverId>ossrh</serverId> |
| 223 | + <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
| 224 | + <!-- Set this to true and the release will automatically proceed and sync to Central Repository will follow --> |
| 225 | + <autoReleaseAfterClose>false</autoReleaseAfterClose> |
176 | 226 | </configuration> |
177 | 227 | </plugin> |
| 228 | + <plugin> |
| 229 | + <groupId>org.apache.maven.plugins</groupId> |
| 230 | + <artifactId>maven-surefire-plugin</artifactId> |
| 231 | + <version>2.22.2</version> |
| 232 | + <dependencies> |
| 233 | + <!-- https://mvnrepository.com/artifact/org.junit.jupiter/junit-jupiter-engine --> |
| 234 | + <dependency> |
| 235 | + <groupId>org.junit.jupiter</groupId> |
| 236 | + <artifactId>junit-jupiter-engine</artifactId> |
| 237 | + <version>5.7.0</version> |
| 238 | + </dependency> |
| 239 | + </dependencies> |
| 240 | + </plugin> |
178 | 241 | </plugins> |
179 | 242 | </build> |
180 | | - |
181 | | - <profiles> |
182 | | - <profile> |
183 | | - <id>sign</id> |
184 | | - <build> |
185 | | - <plugins> |
186 | | - <plugin> |
187 | | - <artifactId>maven-gpg-plugin</artifactId> |
188 | | - <version>1.6</version> |
189 | | - <executions> |
190 | | - <execution> |
191 | | - <id>sign-artifacts</id> |
192 | | - <phase>verify</phase> |
193 | | - <goals> |
194 | | - <goal>sign</goal> |
195 | | - </goals> |
196 | | - <configuration> |
197 | | - <gpgArguments> |
198 | | - <arg>--pinentry-mode</arg> |
199 | | - <arg>loopback</arg> |
200 | | - </gpgArguments> |
201 | | - </configuration> |
202 | | - </execution> |
203 | | - </executions> |
204 | | - </plugin> |
205 | | - </plugins> |
206 | | - </build> |
207 | | - </profile> |
208 | | - |
209 | | - <profile> |
210 | | - <id>deploy-central</id> |
211 | | - <distributionManagement> |
212 | | - <repository> |
213 | | - <id>ossrh</id> |
214 | | - <name>Maven Central</name> |
215 | | - <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
216 | | - </repository> |
217 | | - </distributionManagement> |
218 | | - <build> |
219 | | - <plugins> |
220 | | - <plugin> |
221 | | - <groupId>org.sonatype.plugins</groupId> |
222 | | - <artifactId>nexus-staging-maven-plugin</artifactId> |
223 | | - <version>1.6.8</version> |
224 | | - <extensions>true</extensions> |
225 | | - <configuration> |
226 | | - <serverId>ossrh</serverId> |
227 | | - <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
228 | | - <autoReleaseAfterClose>false</autoReleaseAfterClose> |
229 | | - </configuration> |
230 | | - </plugin> |
231 | | - </plugins> |
232 | | - </build> |
233 | | - </profile> |
234 | | - |
235 | | - <profile> |
236 | | - <id>deploy-github</id> |
237 | | - <distributionManagement> |
238 | | - <repository> |
239 | | - <id>github</id> |
240 | | - <name>GitHub Packages</name> |
241 | | - <url>https://maven.pkg.github.com/purejava/keepassxc-cryptomator</url> |
242 | | - </repository> |
243 | | - </distributionManagement> |
244 | | - </profile> |
245 | | - |
246 | | - </profiles> |
247 | 243 | </project> |
0 commit comments