Changeset 19203 in josm


Ignore:
Timestamp:
2024-08-21T20:00:02+02:00 (3 weeks ago)
Author:
taylor.smock
Message:

Add properties to pom.xml to make it easier to synchronize versions with plugins

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/nodist/pom.xml

    r19191 r19203  
    1919        <jmockit.version>1.49.a</jmockit.version>
    2020        <pmd.version>7.4.0</pmd.version>
     21        <jacoco.version>0.8.12</jacoco.version>
     22        <checkstyle.version>10.17.0</checkstyle.version>
     23        <spotbugs.version>4.8.6</spotbugs.version>
    2124    </properties>
    2225    <modules>
     
    2730    <repositories>
    2831        <repository>
    29             <id>JOSM-central</id>
    30             <url>https://josm.openstreetmap.de/nexus/content/repositories/central/</url>
    31         </repository>
    32         <repository>
    33             <id>JOSM-releases</id>
    34             <url>https://josm.openstreetmap.de/nexus/content/repositories/releases/</url>
    35         </repository>
    36         <repository>
    37             <id>JOSM-snapshots</id>
    38             <url>https://josm.openstreetmap.de/nexus/content/repositories/snapshots/</url>
    39         </repository>
    40         <repository>
    41             <id>JOSM-osgeo</id>
    42             <url>https://josm.openstreetmap.de/nexus/content/repositories/osgeo/</url>
     32            <id>JOSM</id>
     33            <url>https://josm.openstreetmap.de/nexus/content/repositories/public/</url>
    4334        </repository>
    4435    </repositories>
    4536    <pluginRepositories>
    4637        <pluginRepository>
    47             <id>JOSM-central</id>
    48             <url>https://josm.openstreetmap.de/nexus/content/repositories/central/</url>
     38            <id>JOSM</id>
     39            <url>https://josm.openstreetmap.de/nexus/content/repositories/public/</url>
    4940        </pluginRepository>
    5041    </pluginRepositories>
     
    116107                    <artifactId>maven-checkstyle-plugin</artifactId>
    117108                    <version>3.3.1</version>
     109                    <dependencies>
     110                      <dependency>
     111                        <groupId>com.puppycrawl.tools</groupId>
     112                        <artifactId>checkstyle</artifactId>
     113                        <version>${checkstyle.version}</version>
     114                      </dependency>
     115                    </dependencies>
    118116                </plugin>
    119117                <!-- Used to merge compile dependencies into jars -->
     
    317315                <groupId>org.jacoco</groupId>
    318316                <artifactId>org.jacoco.ant</artifactId>
    319                 <version>0.8.12</version>
     317                <version>${jacoco.version}</version>
    320318                <scope>test</scope>
    321319            </dependency>
     
    323321                <groupId>com.github.spotbugs</groupId>
    324322                <artifactId>spotbugs-annotations</artifactId>
    325                 <version>4.8.6</version>
     323                <version>${spotbugs.version}</version>
    326324                <scope>test</scope>
    327325            </dependency>
     
    360358                <artifactId>commons-lang3</artifactId>
    361359                <version>3.16.0</version>
    362                 <scope>compile</scope>
     360                <scope>test</scope>
    363361            </dependency>
    364362            <dependency>
Note: See TracChangeset for help on using the changeset viewer.