Skip to content

Commit

Permalink
Add properties to pom.xml to make it easier to synchronize versions w…
Browse files Browse the repository at this point in the history
…ith plugins

Also use `/public` for the repository instead of having one for `/central`, one
for `/releases`, and one for `/snapshots`.

git-svn-id: https://josm.openstreetmap.de/svn/trunk@19203 0c6e7542-c601-0410-84e7-c038aed88b3b
  • Loading branch information
taylor.smock committed Aug 21, 2024
1 parent 3cf5cef commit ef32cdb
Showing 1 changed file with 17 additions and 19 deletions.
36 changes: 17 additions & 19 deletions nodist/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
<sonar.projectKey>JOSM</sonar.projectKey>
<jmockit.version>1.49.a</jmockit.version>
<pmd.version>7.4.0</pmd.version>
<jacoco.version>0.8.12</jacoco.version>
<checkstyle.version>10.17.0</checkstyle.version>
<spotbugs.version>4.8.6</spotbugs.version>
</properties>
<modules>
<module>..</module>
Expand All @@ -26,26 +29,14 @@
</modules>
<repositories>
<repository>
<id>JOSM-central</id>
<url>https://josm.openstreetmap.de/nexus/content/repositories/central/</url>
</repository>
<repository>
<id>JOSM-releases</id>
<url>https://josm.openstreetmap.de/nexus/content/repositories/releases/</url>
</repository>
<repository>
<id>JOSM-snapshots</id>
<url>https://josm.openstreetmap.de/nexus/content/repositories/snapshots/</url>
</repository>
<repository>
<id>JOSM-osgeo</id>
<url>https://josm.openstreetmap.de/nexus/content/repositories/osgeo/</url>
<id>JOSM</id>
<url>https://josm.openstreetmap.de/nexus/content/repositories/public/</url>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>JOSM-central</id>
<url>https://josm.openstreetmap.de/nexus/content/repositories/central/</url>
<id>JOSM</id>
<url>https://josm.openstreetmap.de/nexus/content/repositories/public/</url>
</pluginRepository>
</pluginRepositories>
<build>
Expand Down Expand Up @@ -115,6 +106,13 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>3.3.1</version>
<dependencies>
<dependency>
<groupId>com.puppycrawl.tools</groupId>
<artifactId>checkstyle</artifactId>
<version>${checkstyle.version}</version>
</dependency>
</dependencies>
</plugin>
<!-- Used to merge compile dependencies into jars -->
<plugin>
Expand Down Expand Up @@ -316,13 +314,13 @@
<dependency>
<groupId>org.jacoco</groupId>
<artifactId>org.jacoco.ant</artifactId>
<version>0.8.12</version>
<version>${jacoco.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.github.spotbugs</groupId>
<artifactId>spotbugs-annotations</artifactId>
<version>4.8.6</version>
<version>${spotbugs.version}</version>
<scope>test</scope>
</dependency>
<dependency>
Expand Down Expand Up @@ -359,7 +357,7 @@
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.16.0</version>
<scope>compile</scope>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.awaitility</groupId>
Expand Down

0 comments on commit ef32cdb

Please sign in to comment.