|
46 | 46 | <postgresql.version>42.7.3</postgresql.version> |
47 | 47 | <junit.version>4.13.1</junit.version> |
48 | 48 | </properties> |
| 49 | + |
| 50 | + <build> |
| 51 | + <plugins> |
| 52 | + <plugin> |
| 53 | + <groupId>org.apache.maven.plugins</groupId> |
| 54 | + <artifactId>maven-clean-plugin</artifactId> |
| 55 | + <version>3.4.1</version> |
| 56 | + </plugin> |
| 57 | + <plugin> |
| 58 | + <groupId>org.apache.maven.plugins</groupId> |
| 59 | + <artifactId>maven-resources-plugin</artifactId> |
| 60 | + <version>3.3.1</version> |
| 61 | + <configuration> |
| 62 | + <encoding>${project.build.sourceEncoding}</encoding> |
| 63 | + </configuration> |
| 64 | + </plugin> |
| 65 | + <plugin> |
| 66 | + <groupId>org.apache.maven.plugins</groupId> |
| 67 | + <artifactId>maven-compiler-plugin</artifactId> |
| 68 | + <version>3.14.0</version> |
| 69 | + <configuration> |
| 70 | + <release>11</release> |
| 71 | + <compilerArgument>-Xlint:unchecked</compilerArgument> |
| 72 | + <encoding>${project.build.sourceEncoding}</encoding> |
| 73 | + </configuration> |
| 74 | + </plugin> |
| 75 | + <plugin> |
| 76 | + <groupId>org.apache.maven.plugins</groupId> |
| 77 | + <artifactId>maven-jar-plugin</artifactId> |
| 78 | + <version>3.4.2</version> |
| 79 | + </plugin> |
| 80 | + <plugin> |
| 81 | + <artifactId>maven-surefire-plugin</artifactId> |
| 82 | + <version>3.5.3</version> |
| 83 | + </plugin> |
| 84 | + <plugin> |
| 85 | + <artifactId>maven-failsafe-plugin</artifactId> |
| 86 | + <version>3.5.3</version> |
| 87 | + </plugin> |
| 88 | + <plugin> |
| 89 | + <groupId>org.apache.maven.plugins</groupId> |
| 90 | + <artifactId>maven-install-plugin</artifactId> |
| 91 | + <version>3.1.4</version> |
| 92 | + </plugin> |
| 93 | + </plugins> |
| 94 | + </build> |
| 95 | + |
| 96 | + <distributionManagement> |
| 97 | + <repository> |
| 98 | + <id>central</id> |
| 99 | + <url>https://central.sonatype.com</url> |
| 100 | + </repository> |
| 101 | + <snapshotRepository> |
| 102 | + <id>central</id> |
| 103 | + <url>https://central.sonatype.com/repository/maven-snapshots/</url> |
| 104 | + </snapshotRepository> |
| 105 | + </distributionManagement> |
| 106 | + |
49 | 107 | <profiles> |
50 | 108 | <profile> |
51 | 109 | <id>release</id> |
52 | 110 | <build> |
53 | 111 | <plugins> |
54 | 112 | <plugin> |
55 | | - <!-- Fixing version & activating "release" profile for those who use release plugin --> |
56 | 113 | <groupId>org.apache.maven.plugins</groupId> |
57 | | - <artifactId>maven-release-plugin</artifactId> |
58 | | - <version>3.1.1</version> |
59 | | - </plugin> |
60 | | - <plugin> |
61 | | - <groupId>org.sonatype.central</groupId> |
62 | | - <artifactId>central-publishing-maven-plugin</artifactId> |
63 | | - <version>0.8.0</version> |
64 | | - <extensions>true</extensions> |
| 114 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 115 | + <version>3.11.2</version> |
65 | 116 | <configuration> |
66 | | - <publishingServerId>central</publishingServerId> |
| 117 | + <docfilessubdirs>true</docfilessubdirs> |
| 118 | + <linksource>true</linksource> |
67 | 119 | </configuration> |
68 | | - </plugin> |
69 | | - |
70 | | - <plugin> |
71 | | - <groupId>org.apache.maven.plugins</groupId> |
72 | | - <artifactId>maven-source-plugin</artifactId> |
73 | | - <version>3.3.1</version> |
74 | 120 | <executions> |
75 | 121 | <execution> |
76 | | - <id>attach-sources</id> |
| 122 | + <id>attach-javadoc</id> |
77 | 123 | <goals> |
78 | | - <goal>jar-no-fork</goal> |
| 124 | + <goal>jar</goal> |
79 | 125 | </goals> |
80 | 126 | </execution> |
81 | 127 | </executions> |
82 | 128 | </plugin> |
83 | | - |
84 | 129 | <plugin> |
85 | 130 | <groupId>org.apache.maven.plugins</groupId> |
86 | | - <artifactId>maven-javadoc-plugin</artifactId> |
87 | | - <version>3.10.1</version> |
| 131 | + <artifactId>maven-source-plugin</artifactId> |
| 132 | + <version>3.3.1</version> |
88 | 133 | <executions> |
89 | 134 | <execution> |
90 | | - <id>attach-javadocs</id> |
| 135 | + <id>attach-sources</id> |
91 | 136 | <goals> |
92 | | - <goal>jar</goal> |
| 137 | + <goal>jar-no-fork</goal> |
93 | 138 | </goals> |
94 | 139 | </execution> |
95 | 140 | </executions> |
96 | 141 | </plugin> |
97 | | - |
98 | 142 | <plugin> |
99 | 143 | <groupId>org.apache.maven.plugins</groupId> |
100 | 144 | <artifactId>maven-gpg-plugin</artifactId> |
101 | | - <version>3.2.4</version> |
| 145 | + <version>3.2.7</version> |
102 | 146 | <executions> |
103 | 147 | <execution> |
104 | 148 | <id>sign-artifacts</id> |
|
109 | 153 | </execution> |
110 | 154 | </executions> |
111 | 155 | </plugin> |
| 156 | + <plugin> |
| 157 | + <groupId>org.sonatype.central</groupId> |
| 158 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 159 | + <version>0.7.0</version> |
| 160 | + <extensions>true</extensions> |
| 161 | + <configuration> |
| 162 | + <publishingServerId>central</publishingServerId> |
| 163 | + </configuration> |
| 164 | + </plugin> |
112 | 165 | </plugins> |
113 | 166 | </build> |
114 | 167 | </profile> |
115 | 168 | </profiles> |
116 | | - |
117 | | - <distributionManagement> |
118 | | - <snapshotRepository> |
119 | | - <id>central</id> |
120 | | - <url>https://central.sonatype.com/repository/maven-snapshots/</url> |
121 | | - </snapshotRepository> |
122 | | - <repository> |
123 | | - <id>central</id> |
124 | | - <url>https://central.sonatype.com</url> |
125 | | - </repository> |
126 | | - </distributionManagement> |
127 | | - |
| 169 | + |
128 | 170 | <dependencies> |
129 | 171 | <dependency> |
130 | 172 | <groupId>org.postgresql</groupId> |
|
0 commit comments