|
1 | 1 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
2 | 2 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
3 | 3 | <modelVersion>4.0.0</modelVersion>
|
| 4 | + |
4 | 5 | <groupId>com.antkorwin</groupId>
|
5 | 6 | <artifactId>better-strings</artifactId>
|
6 | 7 | <packaging>jar</packaging>
|
7 |
| - <version>1.5</version> |
| 8 | + <version>1.0</version> |
| 9 | + |
| 10 | + <!-- region Info --> |
8 | 11 | <name>BetterStrings Java Plugin</name>
|
9 | 12 | <description>String interpolation plugin for Java 8..13</description>
|
10 |
| - |
11 | 13 | <url>https://github.com/antkorwin/better-strings</url>
|
12 | 14 | <scm>
|
13 | 15 | <url>https://github.com/antkorwin/better-strings</url>
|
14 | 16 | <connection>scm:git:git://github.com/antkorwin/better-strings.git</connection>
|
15 | 17 | <developerConnection>scm:git:ssh://git@github.com/antkorwin/better-strings.git</developerConnection>
|
16 | 18 | <tag>HEAD</tag>
|
17 | 19 | </scm>
|
18 |
| - |
19 | 20 | <issueManagement>
|
20 | 21 | <url>https://github.com/antkorwin/better-strings/issues</url>
|
21 | 22 | </issueManagement>
|
22 |
| - |
| 23 | + <licenses> |
| 24 | + <license> |
| 25 | + <name>The Apache Software License, Version 2.0</name> |
| 26 | + <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> |
| 27 | + <distribution>repo</distribution> |
| 28 | + </license> |
| 29 | + </licenses> |
23 | 30 | <developers>
|
24 | 31 | <developer>
|
25 | 32 | <id>antkorwin</id>
|
|
32 | 39 | </roles>
|
33 | 40 | </developer>
|
34 | 41 | </developers>
|
35 |
| - |
36 |
| - <properties> |
37 |
| - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
38 |
| - <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
39 |
| - <maven-compiler-plugin.version>3.7.0</maven-compiler-plugin.version> |
40 |
| - <java.version>1.8</java.version> |
41 |
| - |
42 |
| - <junit.vintage.version>5.3.2</junit.vintage.version> |
43 |
| - <junit-jupiter.version>5.3.2</junit-jupiter.version> |
44 |
| - <junit-platform.version>1.3.2</junit-platform.version> |
45 |
| - </properties> |
46 |
| - |
| 42 | + <!-- endregion Info --> |
47 | 43 |
|
48 | 44 | <distributionManagement>
|
49 | 45 | <snapshotRepository>
|
|
55 | 51 | <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
|
56 | 52 | </repository>
|
57 | 53 | </distributionManagement>
|
58 |
| - <repositories> |
59 |
| - <repository> |
60 |
| - <id>jitpack.io</id> |
61 |
| - <url>https://jitpack.io</url> |
62 |
| - </repository> |
63 |
| - </repositories> |
| 54 | + |
| 55 | + |
| 56 | + <properties> |
| 57 | + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 58 | + <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
| 59 | + <maven-compiler-plugin.version>3.7.0</maven-compiler-plugin.version> |
| 60 | + <java.version>1.8</java.version> |
| 61 | + <junit-jupiter.version>5.3.2</junit-jupiter.version> |
| 62 | + <junit-platform.version>1.3.2</junit-platform.version> |
| 63 | + </properties> |
64 | 64 |
|
65 | 65 |
|
66 | 66 | <profiles>
|
|
81 | 81 | </dependencies>
|
82 | 82 | </profile>
|
83 | 83 |
|
| 84 | + <profile> |
| 85 | + <id>central</id> |
| 86 | + <build> |
| 87 | + <plugins> |
| 88 | + <plugin> |
| 89 | + <groupId>org.apache.maven.plugins</groupId> |
| 90 | + <artifactId>maven-gpg-plugin</artifactId> |
| 91 | + <version>1.5</version> |
| 92 | + <executions> |
| 93 | + <execution> |
| 94 | + <id>sign-artifacts</id> |
| 95 | + <phase>verify</phase> |
| 96 | + <goals> |
| 97 | + <goal>sign</goal> |
| 98 | + </goals> |
| 99 | + </execution> |
| 100 | + </executions> |
| 101 | + </plugin> |
| 102 | + |
| 103 | + <plugin> |
| 104 | + <groupId>org.sonatype.plugins</groupId> |
| 105 | + <artifactId>nexus-staging-maven-plugin</artifactId> |
| 106 | + <version>1.6.7</version> |
| 107 | + <extensions>true</extensions> |
| 108 | + <configuration> |
| 109 | + <serverId>ossrh</serverId> |
| 110 | + <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
| 111 | + <autoReleaseAfterClose>true</autoReleaseAfterClose> |
| 112 | + </configuration> |
| 113 | + </plugin> |
| 114 | + </plugins> |
| 115 | + </build> |
| 116 | + </profile> |
| 117 | + |
84 | 118 | </profiles>
|
85 | 119 |
|
86 | 120 |
|
87 | 121 | <dependencies>
|
88 |
| - <!-- region Junit 5 --> |
| 122 | + |
89 | 123 | <dependency>
|
90 | 124 | <groupId>org.junit.jupiter</groupId>
|
91 | 125 | <artifactId>junit-jupiter-api</artifactId>
|
|
104 | 138 | <version>${junit-platform.version}</version>
|
105 | 139 | <scope>test</scope>
|
106 | 140 | </dependency>
|
107 |
| - <dependency> |
108 |
| - <groupId>org.junit.platform</groupId> |
109 |
| - <artifactId>junit-platform-launcher</artifactId> |
110 |
| - <version>${junit-platform.version}</version> |
111 |
| - <scope>test</scope> |
112 |
| - </dependency> |
113 | 141 | <dependency>
|
114 | 142 | <groupId>org.assertj</groupId>
|
115 | 143 | <artifactId>assertj-core</artifactId>
|
116 | 144 | <version>3.11.1</version>
|
117 | 145 | <scope>test</scope>
|
118 | 146 | </dependency>
|
119 |
| - <!-- endregion Junit 5 --> |
120 | 147 | <dependency>
|
121 |
| - <groupId>com.github.jupiter-tools</groupId> |
| 148 | + <groupId>com.jupiter-tools</groupId> |
122 | 149 | <artifactId>compile-test</artifactId>
|
123 |
| - <version>-2a36c0f3f0-1</version> |
| 150 | + <version>0.1</version> |
124 | 151 | <scope>test</scope>
|
125 | 152 | </dependency>
|
| 153 | + |
126 | 154 | </dependencies>
|
127 | 155 |
|
128 | 156 |
|
|
165 | 193 | <artifactId>maven-shade-plugin</artifactId>
|
166 | 194 | <version>3.1.0</version>
|
167 | 195 | </plugin>
|
| 196 | + |
| 197 | + <plugin> |
| 198 | + <groupId>org.apache.maven.plugins</groupId> |
| 199 | + <artifactId>maven-source-plugin</artifactId> |
| 200 | + <version>2.2.1</version> |
| 201 | + <executions> |
| 202 | + <execution> |
| 203 | + <id>attach-sources</id> |
| 204 | + <goals> |
| 205 | + <goal>jar-no-fork</goal> |
| 206 | + </goals> |
| 207 | + </execution> |
| 208 | + </executions> |
| 209 | + </plugin> |
| 210 | + |
| 211 | + <plugin> |
| 212 | + <groupId>org.apache.maven.plugins</groupId> |
| 213 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 214 | + <version>3.1.0</version> |
| 215 | + <configuration> |
| 216 | + <source>1.8</source> |
| 217 | + </configuration> |
| 218 | + <executions> |
| 219 | + <execution> |
| 220 | + <id>attach-javadocs</id> |
| 221 | + <goals> |
| 222 | + <goal>jar</goal> |
| 223 | + </goals> |
| 224 | + </execution> |
| 225 | + </executions> |
| 226 | + </plugin> |
| 227 | + |
| 228 | + <!-- region tests report --> |
| 229 | + <plugin> |
| 230 | + <groupId>org.jacoco</groupId> |
| 231 | + <artifactId>jacoco-maven-plugin</artifactId> |
| 232 | + <version>0.8.4</version> |
| 233 | + <executions> |
| 234 | + <execution> |
| 235 | + <goals> |
| 236 | + <goal>prepare-agent</goal> |
| 237 | + </goals> |
| 238 | + </execution> |
| 239 | + <execution> |
| 240 | + <id>report</id> |
| 241 | + <phase>test</phase> |
| 242 | + <goals> |
| 243 | + <goal>report</goal> |
| 244 | + </goals> |
| 245 | + </execution> |
| 246 | + </executions> |
| 247 | + </plugin> |
| 248 | + <plugin> |
| 249 | + <groupId>org.apache.maven.plugins</groupId> |
| 250 | + <artifactId>maven-surefire-plugin</artifactId> |
| 251 | + <version>2.22.2</version> |
| 252 | + <configuration> |
| 253 | + <reportFormat>plain</reportFormat> |
| 254 | + <includes> |
| 255 | + <include>**/*Test*.java</include> |
| 256 | + <include>**/*IT*.java</include> |
| 257 | + </includes> |
| 258 | + </configuration> |
| 259 | + </plugin> |
| 260 | + <!-- endregion tests report --> |
168 | 261 | </plugins>
|
169 | 262 |
|
170 | 263 | <resources>
|
|
0 commit comments