Skip to content

Commit de79cee

Browse files
committed
Clean up pom, upgrade plugins
Removed repositories entries because it appears mvnrepository.com is itself not a repository but only a browser for repositories so might have been ignored by Maven.
1 parent 8266cd9 commit de79cee

File tree

1 file changed

+15
-40
lines changed

1 file changed

+15
-40
lines changed

pom.xml

Lines changed: 15 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,7 @@
4040

4141
<properties>
4242
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
43-
<maven.compiler.target>11</maven.compiler.target>
44-
<maven.compiler.source>11</maven.compiler.source>
43+
<maven.compiler.release>11</maven.compiler.release>
4544
<xcodeScheme>Debug</xcodeScheme>
4645
</properties>
4746

@@ -65,7 +64,7 @@
6564
<licenses>
6665
<license>
6766
<name>Apache License, Version 2.0</name>
68-
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
67+
<url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
6968
<distribution>repo</distribution>
7069
</license>
7170
</licenses>
@@ -74,7 +73,7 @@
7473

7574
<organization>
7675
<name>Web Lite Solutions Corp.</name>
77-
<url>http://solutions.weblite.ca</url>
76+
<url>https://solutions.weblite.ca/</url>
7877
</organization>
7978

8079
<issueManagement>
@@ -91,29 +90,6 @@
9190
<url>https://github.com/shannah/Java-Objective-C-Bridge</url>
9291
</scm>
9392

94-
<repositories>
95-
<repository>
96-
<id>mvnrepository</id>
97-
<name>mvnrepository</name>
98-
<url>https://www.mvnrepository.com</url>
99-
<snapshots>
100-
<enabled>false</enabled>
101-
</snapshots>
102-
</repository>
103-
</repositories>
104-
105-
<pluginRepositories>
106-
<!-- eclipse lifecycle plugin is only available here -->
107-
<pluginRepository>
108-
<id>mvnrepository</id>
109-
<name>mvnrepository</name>
110-
<url>https://www.mvnrepository.com</url>
111-
<snapshots>
112-
<enabled>false</enabled>
113-
</snapshots>
114-
</pluginRepository>
115-
</pluginRepositories>
116-
11793
<distributionManagement>
11894
<snapshotRepository>
11995
<id>ossrh</id>
@@ -136,7 +112,7 @@
136112
<extension>
137113
<groupId>org.apache.maven.wagon</groupId>
138114
<artifactId>wagon-ssh</artifactId>
139-
<version>2.4</version>
115+
<version>3.4.2</version>
140116
</extension>
141117
</extensions>
142118

@@ -145,7 +121,7 @@
145121
<plugin>
146122
<groupId>org.codehaus.mojo</groupId>
147123
<artifactId>exec-maven-plugin</artifactId>
148-
<version>1.6.0</version>
124+
<version>3.0.0</version>
149125
<executions>
150126
<execution>
151127
<id>xcodebuild</id>
@@ -172,7 +148,7 @@
172148
<plugin>
173149
<groupId>org.apache.maven.plugins</groupId>
174150
<artifactId>maven-jar-plugin</artifactId>
175-
<version>3.1.2</version>
151+
<version>3.2.0</version>
176152
<configuration>
177153
<archive>
178154
<manifestEntries>
@@ -186,19 +162,12 @@
186162
<plugin>
187163
<groupId>com.github.spotbugs</groupId>
188164
<artifactId>spotbugs-maven-plugin</artifactId>
189-
<version>3.1.12.2</version>
165+
<version>4.2.0</version>
190166
<configuration>
191167
<effort>more</effort>
192168
<jvmArgs>--add-opens java.base/java.lang=ALL-UNNAMED
193169
--illegal-access=deny</jvmArgs>
194170
</configuration>
195-
<dependencies>
196-
<dependency>
197-
<groupId>com.github.spotbugs</groupId>
198-
<artifactId>spotbugs</artifactId>
199-
<version>4.0.0-beta4</version>
200-
</dependency>
201-
</dependencies>
202171
<executions>
203172
<!-- Ensures that spotbugs inspects source code when project is deployed. -->
204173
<!-- <execution> -->
@@ -227,10 +196,16 @@
227196

228197
<pluginManagement>
229198
<plugins>
199+
<plugin>
200+
<groupId>org.apache.maven.plugins</groupId>
201+
<artifactId>maven-compiler-plugin</artifactId>
202+
<version>3.8.1</version>
203+
</plugin>
204+
230205
<plugin>
231206
<groupId>org.apache.maven.plugins</groupId>
232207
<artifactId>maven-source-plugin</artifactId>
233-
<version>3.1.0</version>
208+
<version>3.2.1</version>
234209
<executions>
235210
<execution>
236211
<id>attach-sources</id>
@@ -244,7 +219,7 @@
244219
<plugin>
245220
<groupId>org.apache.maven.plugins</groupId>
246221
<artifactId>maven-javadoc-plugin</artifactId>
247-
<version>3.1.1</version>
222+
<version>3.2.0</version>
248223
<configuration>
249224
<failOnError>false</failOnError>
250225
<!-- <additionalparam>-Xdoclint:none</additionalparam> -->

0 commit comments

Comments
 (0)