Skip to content

Commit

Permalink
See #23875: Use SNAPSHOT instead of 1.0-SNAPSHOT since that is what o…
Browse files Browse the repository at this point in the history
…ur scripts currently publish

This should fix the Jenkins build for plugins.

Note: Maven warns that this may break in the future, in which case we'll have to
change our processes.

git-svn-id: https://josm.openstreetmap.de/osmsvn/applications/editors/josm/plugins@36325 b9d5c4c9-76e1-0310-9c85-f3177eceb1e4
  • Loading branch information
tsmock committed Aug 28, 2024
1 parent 4b77d42 commit 4642e1d
Show file tree
Hide file tree
Showing 112 changed files with 185 additions and 175 deletions.
2 changes: 1 addition & 1 deletion ColumbusCSV/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>org.openstreetmap.josm.plugins</groupId>
<artifactId>plugin-root</artifactId>
<version>1.0-SNAPSHOT</version>
<version>SNAPSHOT</version>
</parent>
<artifactId>ColumbusCSV</artifactId>

Expand Down
2 changes: 1 addition & 1 deletion CommandLine/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>org.openstreetmap.josm.plugins</groupId>
<artifactId>plugin-root</artifactId>
<version>1.0-SNAPSHOT</version>
<version>SNAPSHOT</version>
</parent>
<artifactId>CommandLine</artifactId>

Expand Down
2 changes: 1 addition & 1 deletion Create_grid_of_ways/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>org.openstreetmap.josm.plugins</groupId>
<artifactId>plugin-root</artifactId>
<version>1.0-SNAPSHOT</version>
<version>SNAPSHOT</version>
</parent>
<artifactId>Create_grid_of_ways</artifactId>

Expand Down
2 changes: 1 addition & 1 deletion CustomizePublicTransportStop/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>org.openstreetmap.josm.plugins</groupId>
<artifactId>plugin-root</artifactId>
<version>1.0-SNAPSHOT</version>
<version>SNAPSHOT</version>
</parent>
<artifactId>CustomizePublicTransportStop</artifactId>

Expand Down
2 changes: 1 addition & 1 deletion DirectDownload/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>org.openstreetmap.josm.plugins</groupId>
<artifactId>plugin-root</artifactId>
<version>1.0-SNAPSHOT</version>
<version>SNAPSHOT</version>
</parent>
<artifactId>DirectDownload</artifactId>

Expand Down
2 changes: 1 addition & 1 deletion DirectUpload/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>org.openstreetmap.josm.plugins</groupId>
<artifactId>plugin-root</artifactId>
<version>1.0-SNAPSHOT</version>
<version>SNAPSHOT</version>
</parent>
<artifactId>DirectUpload</artifactId>

Expand Down
2 changes: 1 addition & 1 deletion ElevationProfile/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>org.openstreetmap.josm.plugins</groupId>
<artifactId>plugin-root</artifactId>
<version>1.0-SNAPSHOT</version>
<version>SNAPSHOT</version>
</parent>
<artifactId>ElevationProfile</artifactId>

Expand Down
2 changes: 1 addition & 1 deletion FIT/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>org.openstreetmap.josm.plugins</groupId>
<artifactId>plugin-root</artifactId>
<version>1.0-SNAPSHOT</version>
<version>SNAPSHOT</version>
</parent>
<artifactId>FIT</artifactId>

Expand Down
2 changes: 1 addition & 1 deletion FastDraw/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>org.openstreetmap.josm.plugins</groupId>
<artifactId>plugin-root</artifactId>
<version>1.0-SNAPSHOT</version>
<version>SNAPSHOT</version>
</parent>
<artifactId>FastDraw</artifactId>

Expand Down
2 changes: 1 addition & 1 deletion FixAddresses/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>org.openstreetmap.josm.plugins</groupId>
<artifactId>plugin-root</artifactId>
<version>1.0-SNAPSHOT</version>
<version>SNAPSHOT</version>
</parent>
<artifactId>FixAddresses</artifactId>

Expand Down
2 changes: 1 addition & 1 deletion HouseNumberTaggingTool/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>org.openstreetmap.josm.plugins</groupId>
<artifactId>plugin-root</artifactId>
<version>1.0-SNAPSHOT</version>
<version>SNAPSHOT</version>
</parent>
<artifactId>HouseNumberTaggingTool</artifactId>

Expand Down
8 changes: 4 additions & 4 deletions ImportImagePlugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>org.openstreetmap.josm.plugins</groupId>
<artifactId>plugin-root</artifactId>
<version>1.0-SNAPSHOT</version>
<version>SNAPSHOT</version>
</parent>
<artifactId>ImportImagePlugin</artifactId>

Expand Down Expand Up @@ -40,19 +40,19 @@
<dependency>
<groupId>org.openstreetmap.josm.plugins</groupId>
<artifactId>jts</artifactId>
<version>1.0-SNAPSHOT</version>
<version>SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.openstreetmap.josm.plugins</groupId>
<artifactId>ejml</artifactId>
<version>1.0-SNAPSHOT</version>
<version>SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.openstreetmap.josm.plugins</groupId>
<artifactId>geotools</artifactId>
<version>1.0-SNAPSHOT</version>
<version>SNAPSHOT</version>
<scope>provided</scope>
</dependency>
</dependencies>
Expand Down
6 changes: 3 additions & 3 deletions MicrosoftStreetside/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>org.openstreetmap.josm.plugins</groupId>
<artifactId>plugin-root</artifactId>
<version>1.0-SNAPSHOT</version>
<version>SNAPSHOT</version>
</parent>
<artifactId>MicrosoftStreetside</artifactId>

Expand Down Expand Up @@ -32,13 +32,13 @@
<dependency>
<groupId>org.openstreetmap.josm.plugins</groupId>
<artifactId>apache-commons</artifactId>
<version>1.0-SNAPSHOT</version>
<version>SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.openstreetmap.josm.plugins</groupId>
<artifactId>javafx</artifactId>
<version>1.0-SNAPSHOT</version>
<version>SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<!-- Provided by runtime -->
Expand Down
2 changes: 1 addition & 1 deletion NanoLog/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>org.openstreetmap.josm.plugins</groupId>
<artifactId>plugin-root</artifactId>
<version>1.0-SNAPSHOT</version>
<version>SNAPSHOT</version>
</parent>
<artifactId>NanoLog</artifactId>

Expand Down
2 changes: 1 addition & 1 deletion OpeningHoursEditor/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>org.openstreetmap.josm.plugins</groupId>
<artifactId>plugin-root</artifactId>
<version>1.0-SNAPSHOT</version>
<version>SNAPSHOT</version>
</parent>
<artifactId>OpeningHoursEditor</artifactId>

Expand Down
6 changes: 3 additions & 3 deletions OsmInspectorPlugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>org.openstreetmap.josm.plugins</groupId>
<artifactId>plugin-root</artifactId>
<version>1.0-SNAPSHOT</version>
<version>SNAPSHOT</version>
</parent>
<artifactId>OsmInspectorPlugin</artifactId>

Expand All @@ -27,13 +27,13 @@
<dependency>
<groupId>org.openstreetmap.josm.plugins</groupId>
<artifactId>jts</artifactId>
<version>1.0-SNAPSHOT</version>
<version>SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.openstreetmap.josm.plugins</groupId>
<artifactId>geotools</artifactId>
<version>1.0-SNAPSHOT</version>
<version>SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<dependency>
Expand Down
2 changes: 1 addition & 1 deletion SaudiNationalAddress/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>org.openstreetmap.josm.plugins</groupId>
<artifactId>plugin-root</artifactId>
<version>1.0-SNAPSHOT</version>
<version>SNAPSHOT</version>
</parent>
<artifactId>SaudiNationalAddress</artifactId>

Expand Down
2 changes: 1 addition & 1 deletion addrinterpolation/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>org.openstreetmap.josm.plugins</groupId>
<artifactId>plugin-root</artifactId>
<version>1.0-SNAPSHOT</version>
<version>SNAPSHOT</version>
</parent>
<artifactId>addrinterpolation</artifactId>

Expand Down
2 changes: 1 addition & 1 deletion alignways/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>org.openstreetmap.josm.plugins</groupId>
<artifactId>plugin-root</artifactId>
<version>1.0-SNAPSHOT</version>
<version>SNAPSHOT</version>
</parent>
<artifactId>alignways</artifactId>

Expand Down
20 changes: 0 additions & 20 deletions apache-commons/ivy.xml

This file was deleted.

2 changes: 1 addition & 1 deletion apache-commons/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>org.openstreetmap.josm.plugins</groupId>
<artifactId>plugin-root</artifactId>
<version>1.0-SNAPSHOT</version>
<version>SNAPSHOT</version>
</parent>
<artifactId>apache-commons</artifactId>

Expand Down
4 changes: 2 additions & 2 deletions apache-http/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>org.openstreetmap.josm.plugins</groupId>
<artifactId>plugin-root</artifactId>
<version>1.0-SNAPSHOT</version>
<version>SNAPSHOT</version>
</parent>
<artifactId>apache-http</artifactId>
<developers>
Expand All @@ -25,7 +25,7 @@
<dependency>
<groupId>org.openstreetmap.josm.plugins</groupId>
<artifactId>apache-commons</artifactId>
<version>1.0-SNAPSHOT</version>
<version>SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<dependency>
Expand Down
10 changes: 8 additions & 2 deletions build-common.xml
Original file line number Diff line number Diff line change
Expand Up @@ -803,6 +803,7 @@
<!-- resolver.repositories makes it global -->
<mvn:remoterepos id="resolver.repositories">
<mvn:remoterepo id="JOSM" url="https://josm.openstreetmap.de/nexus/content/repositories/public/" />
<mvn:remoterepo id="JOSM-snapshots" url="https://josm.openstreetmap.de/nexus/content/repositories/snapshots/" snapshots="true" />
</mvn:remoterepos>
<mkdir dir="${plugin.lib.dir}"/>
<mvn:resolve>
Expand All @@ -815,7 +816,6 @@
</mvn:dependencies>
<mvn:files refid="lib.files" dir="${plugin.lib.dir}" layout="{artifactId}-{version}-{classifier}.{extension}" scopes="compile,!test"/>
</mvn:resolve>
<echo message="${toString:lib.files}"/>
<mvn:resolve>
<mvn:path refid="classpath.provided" scopes="provided"/>
</mvn:resolve>
Expand All @@ -841,7 +841,13 @@
</mvn:dependencies>
<mvn:path refid="spotbugs.classpath" classpath="compile"/>
</mvn:resolve>
<path id="plugin.classpath.actual">
<condition property="classpath.provided.present">
<isreference refid="classpath.provided" type="path"/>
</condition>
<path id="plugin.classpath.actual" unless:set="classpath.provided.present">
<path refid="plugin.classpath"/>
</path>
<path id="plugin.classpath.actual" if:set="classpath.provided.present">
<path refid="plugin.classpath"/>
<path refid="classpath.provided"/>
</path>
Expand Down
2 changes: 1 addition & 1 deletion buildings_tools/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>org.openstreetmap.josm.plugins</groupId>
<artifactId>plugin-root</artifactId>
<version>1.0-SNAPSHOT</version>
<version>SNAPSHOT</version>
</parent>
<artifactId>buildings_tools</artifactId>

Expand Down
10 changes: 5 additions & 5 deletions cadastre-fr/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>org.openstreetmap.josm.plugins</groupId>
<artifactId>plugin-root</artifactId>
<version>1.0-SNAPSHOT</version>
<version>SNAPSHOT</version>
</parent>
<artifactId>cadastre-fr</artifactId>

Expand Down Expand Up @@ -34,7 +34,7 @@
<dependency>
<groupId>org.openstreetmap.josm.plugins</groupId>
<artifactId>apache-commons</artifactId>
<version>1.0-SNAPSHOT</version>
<version>SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<!-- We need to override this from the parent pom; otherwise, it will be test only -->
Expand All @@ -46,19 +46,19 @@
<dependency>
<groupId>org.openstreetmap.josm.plugins</groupId>
<artifactId>ejml</artifactId>
<version>1.0-SNAPSHOT</version>
<version>SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.openstreetmap.josm.plugins</groupId>
<artifactId>jts</artifactId>
<version>1.0-SNAPSHOT</version>
<version>SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.openstreetmap.josm.plugins</groupId>
<artifactId>geotools</artifactId>
<version>1.0-SNAPSHOT</version>
<version>SNAPSHOT</version>
<scope>provided</scope>
</dependency>
</dependencies>
Expand Down
2 changes: 1 addition & 1 deletion canvec_helper/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>org.openstreetmap.josm.plugins</groupId>
<artifactId>plugin-root</artifactId>
<version>1.0-SNAPSHOT</version>
<version>SNAPSHOT</version>
</parent>
<artifactId>canvec_helper</artifactId>

Expand Down
2 changes: 1 addition & 1 deletion colorscheme/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>org.openstreetmap.josm.plugins</groupId>
<artifactId>plugin-root</artifactId>
<version>1.0-SNAPSHOT</version>
<version>SNAPSHOT</version>
</parent>
<artifactId>colorscheme</artifactId>

Expand Down
2 changes: 1 addition & 1 deletion comfort0/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>org.openstreetmap.josm.plugins</groupId>
<artifactId>plugin-root</artifactId>
<version>1.0-SNAPSHOT</version>
<version>SNAPSHOT</version>
</parent>
<artifactId>comfort0</artifactId>

Expand Down
Loading

0 comments on commit 4642e1d

Please sign in to comment.