|
1 | 1 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
2 | 2 | <modelVersion>4.0.0</modelVersion> |
3 | 3 |
|
4 | | - <groupId>com.dhatim</groupId> |
| 4 | + <parent> |
| 5 | + <groupId>org.dhatim</groupId> |
| 6 | + <artifactId>root-oss</artifactId> |
| 7 | + <version>21.2.0</version> |
| 8 | + </parent> |
| 9 | + |
| 10 | + <groupId>org.dhatim</groupId> |
5 | 11 | <artifactId>hamcrest-postgresql</artifactId> |
6 | | - <version>0.0.26-SNAPSHOT</version> |
| 12 | + <version>0-SNAPSHOT</version> |
7 | 13 | <packaging>jar</packaging> |
8 | 14 |
|
9 | | - <prerequisites> |
10 | | - <maven>3.0</maven> |
11 | | - </prerequisites> |
12 | | - |
13 | 15 | <name>Hamcrest-style matchers for Postgresql SQLs</name> |
14 | 16 | <url>https://github.com/dhatim/hamcrest-postgresql</url> |
15 | 17 |
|
|
21 | 23 | </licenses> |
22 | 24 |
|
23 | 25 | <scm> |
24 | | - <connection>scm:git:git@github.com:dhatim/hamcrest-postgresql.git</connection> |
| 26 | + <connection>scm:git:https://github.com/dhatim/hamcrest-postgresql</connection> |
25 | 27 | <tag>HEAD</tag> |
26 | 28 | </scm> |
27 | 29 |
|
28 | 30 | <properties> |
29 | 31 | <maven.compiler.source>1.8</maven.compiler.source> |
30 | 32 | <maven.compiler.target>1.8</maven.compiler.target> |
31 | 33 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
32 | | - <compiler-plugin.version>3.3</compiler-plugin.version> |
33 | | - <antlr4.version>4.7</antlr4.version> |
34 | 34 | </properties> |
35 | 35 |
|
36 | 36 | <dependencies> |
37 | 37 | <dependency> |
38 | 38 | <groupId>junit</groupId> |
39 | 39 | <artifactId>junit</artifactId> |
40 | | - <version>4.12</version> |
41 | 40 | <scope>test</scope> |
42 | 41 | </dependency> |
43 | 42 | <dependency> |
|
48 | 47 | <dependency> |
49 | 48 | <groupId>org.antlr</groupId> |
50 | 49 | <artifactId>antlr4-runtime</artifactId> |
51 | | - <version>${antlr4.version}</version> |
52 | 50 | </dependency> |
53 | 51 | </dependencies> |
54 | 52 |
|
|
57 | 55 | <plugin> |
58 | 56 | <groupId>org.antlr</groupId> |
59 | 57 | <artifactId>antlr4-maven-plugin</artifactId> |
60 | | - <version>${antlr4.version}</version> |
61 | 58 | <executions> |
62 | 59 | <execution> |
63 | 60 | <id>antlr</id> |
|
75 | 72 | <plugin> |
76 | 73 | <groupId>org.codehaus.mojo</groupId> |
77 | 74 | <artifactId>build-helper-maven-plugin</artifactId> |
78 | | - <version>1.10</version> |
79 | 75 | <executions> |
80 | 76 | <execution> |
81 | 77 | <id>add-sources</id> |
|
91 | 87 | </executions> |
92 | 88 | </plugin> |
93 | 89 | <plugin> |
94 | | - <artifactId>maven-release-plugin</artifactId> |
95 | | - <version>2.5.3</version> |
| 90 | + <groupId>org.apache.maven.plugins</groupId> |
| 91 | + <artifactId>maven-javadoc-plugin</artifactId> |
96 | 92 | <configuration> |
97 | | - <tagNameFormat>v@{project.version}</tagNameFormat> |
| 93 | + <show>public</show> |
98 | 94 | </configuration> |
| 95 | + <executions> |
| 96 | + <execution> |
| 97 | + <id>attach-javadocs</id> |
| 98 | + <goals> |
| 99 | + <goal>jar</goal> |
| 100 | + </goals> |
| 101 | + </execution> |
| 102 | + </executions> |
99 | 103 | </plugin> |
100 | 104 | </plugins> |
101 | 105 | </build> |
| 106 | + |
| 107 | + <profiles> |
| 108 | + <profile> |
| 109 | + <id>release</id> |
| 110 | + <build> |
| 111 | + <plugins> |
| 112 | + <plugin> |
| 113 | + <groupId>org.sonatype.plugins</groupId> |
| 114 | + <artifactId>nexus-staging-maven-plugin</artifactId> |
| 115 | + <extensions>true</extensions> |
| 116 | + <configuration> |
| 117 | + <serverId>ossrh</serverId> |
| 118 | + <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
| 119 | + <autoReleaseAfterClose>true</autoReleaseAfterClose> |
| 120 | + </configuration> |
| 121 | + </plugin> |
| 122 | + <plugin> |
| 123 | + <artifactId>maven-source-plugin</artifactId> |
| 124 | + <executions> |
| 125 | + <execution> |
| 126 | + <id>attach-sources</id> |
| 127 | + <goals> |
| 128 | + <goal>jar-no-fork</goal> |
| 129 | + </goals> |
| 130 | + </execution> |
| 131 | + </executions> |
| 132 | + </plugin> |
| 133 | + <plugin> |
| 134 | + <artifactId>maven-gpg-plugin</artifactId> |
| 135 | + <executions> |
| 136 | + <execution> |
| 137 | + <id>sign-artifacts</id> |
| 138 | + <phase>verify</phase> |
| 139 | + <goals> |
| 140 | + <goal>sign</goal> |
| 141 | + </goals> |
| 142 | + </execution> |
| 143 | + </executions> |
| 144 | + </plugin> |
| 145 | + </plugins> |
| 146 | + </build> |
| 147 | + </profile> |
| 148 | + </profiles> |
102 | 149 | </project> |
0 commit comments