Changeset 36378 in osm for applications/editors/josm


Ignore:
Timestamp:
2025-01-30T20:48:50+01:00 (8 days ago)
Author:
taylor.smock
Message:

Make certain all plugins can be compiled with maven

Location:
applications/editors/josm/plugins
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/MicrosoftStreetside/build.xml

    r36376 r36378  
    66  <!-- enter the SVN commit message -->
    77  <property name="commit.message" value="Commit message"/>
    8     <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    9     <property name="plugin.main.version" value="19044"/>
    10 
    11     <!-- Configure these properties (replace "..." accordingly).
     8  <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
     9  <property name="plugin.main.version" value="19044"/>
     10  <!-- Configure these properties (replace "..." accordingly).
    1211         See https://josm.openstreetmap.de/wiki/DevelopersGuide/DevelopingPlugins
    1312    -->
    14     <property name="plugin.author" value="Microsoft"/>
    15     <property name="plugin.class" value="org.openstreetmap.josm.plugins.streetside.StreetsidePlugin"/>
    16     <property name="plugin.description" value="Allows the user to work with pictures hosted at Microsoft Streetside"/>
    17     <property name="plugin.icon" value="images/streetside-logo.svg"/>
    18     <property name="plugin.link" value="https://josm.openstreetmap.de/browser/osm/applications/editors/josm/plugins/MicrosoftStreetside"/>
    19     <!--<property name="plugin.early" value="..."/>-->
    20     <!--<property name="plugin.requires" value="..."/>-->
    21     <!--<property name="plugin.stage" value="..."/>-->
    22     <property name="plugin.canloadatruntime" value="true" />
    23     <property name="plugin.minimum.java.version" value="21" />
    24     <property name="plugin.requires" value="apache-commons;javafx"/>
    25   <property file="${basedir}/gradle.properties"/>
     13  <property name="plugin.author" value="Microsoft"/>
     14  <property name="plugin.class" value="org.openstreetmap.josm.plugins.streetside.StreetsidePlugin"/>
     15  <property name="plugin.description" value="Allows the user to work with pictures hosted at Microsoft Streetside"/>
     16  <property name="plugin.icon" value="images/streetside-logo.svg"/>
     17  <property name="plugin.link" value="https://josm.openstreetmap.de/browser/osm/applications/editors/josm/plugins/MicrosoftStreetside"/>
     18  <!--<property name="plugin.early" value="..."/>-->
     19  <!--<property name="plugin.requires" value="..."/>-->
     20  <!--<property name="plugin.stage" value="..."/>-->
     21  <property name="plugin.canloadatruntime" value="true"/>
     22  <property name="plugin.minimum.java.version" value="21"/>
     23  <property name="plugin.requires" value="apache-commons;javafx"/>
    2624  <property name="josm" location="../../core/dist/josm-custom.jar"/>
    2725  <property name="plugin.dist.dir" value="../../dist"/>
  • applications/editors/josm/plugins/MicrosoftStreetside/pom.xml

    r36325 r36378  
    1 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    2     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
    3     <modelVersion>4.0.0</modelVersion>
    4     <parent>
    5         <groupId>org.openstreetmap.josm.plugins</groupId>
    6         <artifactId>plugin-root</artifactId>
    7         <version>SNAPSHOT</version>
    8     </parent>
    9     <artifactId>MicrosoftStreetside</artifactId>
    10 
    11     <url>${plugin.link}</url>
    12     <developers>
    13         <developer>
    14             <name>Microsoft</name>
    15         </developer>
    16     </developers>
    17     <properties>
    18         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    19         <plugin.src.dir>src</plugin.src.dir>
    20         <plugin.main.version>19044</plugin.main.version>
    21         <plugin.author>Microsoft</plugin.author>
    22         <plugin.class>org.openstreetmap.josm.plugins.streetside.StreetsidePlugin</plugin.class>
    23         <plugin.description>Allows the user to work with pictures hosted at Microsoft Streetside</plugin.description>
    24         <plugin.icon>images/streetside-logo.svg</plugin.icon>
    25         <plugin.link>https://josm.openstreetmap.de/browser/osm/applications/editors/josm/plugins/MicrosoftStreetside</plugin.link>
    26         <plugin.canloadatruntime>true</plugin.canloadatruntime>
    27         <java.lang.version>21</java.lang.version>
    28         <plugin.requires>apache-commons;javafx</plugin.requires>
    29         <javafx.version>19</javafx.version>
    30     </properties>
    31     <dependencies>
    32         <dependency>
    33             <groupId>org.openstreetmap.josm.plugins</groupId>
    34             <artifactId>apache-commons</artifactId>
    35             <version>SNAPSHOT</version>
    36             <scope>provided</scope>
    37         </dependency>
    38         <dependency>
    39             <groupId>org.openstreetmap.josm.plugins</groupId>
    40             <artifactId>javafx</artifactId>
    41             <version>SNAPSHOT</version>
    42             <scope>provided</scope>
    43         </dependency>
    44         <!-- Provided by runtime -->
    45         <dependency>
    46             <groupId>org.openjfx</groupId>
    47             <artifactId>javafx-swing</artifactId>
    48             <version>${javafx.version}</version>
    49             <scope>provided</scope>
    50         </dependency>
    51         <dependency>
    52             <groupId>org.openjfx</groupId>
    53             <artifactId>javafx-controls</artifactId>
    54             <version>${javafx.version}</version>
    55             <scope>provided</scope>
    56         </dependency>
    57         <dependency>
    58             <groupId>org.openjfx</groupId>
    59             <artifactId>javafx-base</artifactId>
    60             <version>${javafx.version}</version>
    61             <scope>provided</scope>
    62         </dependency>
    63         <dependency>
    64             <groupId>org.openjfx</groupId>
    65             <artifactId>javafx-graphics</artifactId>
    66             <version>${javafx.version}</version>
    67             <scope>provided</scope>
    68         </dependency>
    69     </dependencies>
    70     <build>
    71         <plugins>
    72             <plugin>
    73                 <groupId>org.codehaus.mojo</groupId>
    74                 <artifactId>properties-maven-plugin</artifactId>
    75             </plugin>
    76             <plugin>
    77                 <groupId>org.apache.maven.plugins</groupId>
    78                 <artifactId>maven-jar-plugin</artifactId>
    79                 <configuration>
    80                     <archive>
    81                         <manifestEntries>
    82                             <Plugin-Minimum-Java-Version>${java.lang.version}</Plugin-Minimum-Java-Version>
    83                             <Plugin-Link>${plugin.link}</Plugin-Link>
    84                             <Plugin-Icon>${plugin.icon}</Plugin-Icon>
    85                             <Plugin-Requires>${plugin.requires}</Plugin-Requires>
    86                             <Plugin-Canloadatruntime>${plugin.canloadatruntime}</Plugin-Canloadatruntime>
    87                         </manifestEntries>
    88                     </archive>
    89                 </configuration>
    90             </plugin>
    91         </plugins>
    92     </build>
     1<?xml version="1.0"?>
     2<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
     3  <modelVersion>4.0.0</modelVersion>
     4  <parent>
     5    <groupId>org.openstreetmap.josm.plugins</groupId>
     6    <artifactId>plugin-root</artifactId>
     7    <version>SNAPSHOT</version>
     8  </parent>
     9  <artifactId>MicrosoftStreetside</artifactId>
     10  <url>${plugin.link}</url>
     11  <developers>
     12    <developer>
     13      <name>Microsoft</name>
     14    </developer>
     15  </developers>
     16  <properties>
     17    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
     18    <plugin.src.dir>src</plugin.src.dir>
     19    <plugin.main.version>19044</plugin.main.version>
     20    <plugin.author>Microsoft</plugin.author>
     21    <plugin.class>org.openstreetmap.josm.plugins.streetside.StreetsidePlugin</plugin.class>
     22    <plugin.description>Allows the user to work with pictures hosted at Microsoft Streetside</plugin.description>
     23    <plugin.icon>images/streetside-logo.svg</plugin.icon>
     24    <plugin.link>https://josm.openstreetmap.de/browser/osm/applications/editors/josm/plugins/MicrosoftStreetside</plugin.link>
     25    <plugin.canloadatruntime>true</plugin.canloadatruntime>
     26    <java.lang.version>21</java.lang.version>
     27    <plugin.requires>apache-commons;javafx</plugin.requires>
     28    <javafx.version>19</javafx.version>
     29  </properties>
     30  <dependencies>
     31    <dependency>
     32      <groupId>org.openstreetmap.josm.plugins</groupId>
     33      <artifactId>apache-commons</artifactId>
     34      <version>SNAPSHOT</version>
     35      <scope>provided</scope>
     36    </dependency>
     37    <dependency>
     38      <groupId>org.openstreetmap.josm.plugins</groupId>
     39      <artifactId>javafx</artifactId>
     40      <version>SNAPSHOT</version>
     41      <scope>provided</scope>
     42    </dependency>
     43    <!-- Provided by runtime -->
     44    <dependency>
     45      <groupId>org.openjfx</groupId>
     46      <artifactId>javafx-swing</artifactId>
     47      <version>${javafx.version}</version>
     48      <scope>provided</scope>
     49    </dependency>
     50    <dependency>
     51      <groupId>org.openjfx</groupId>
     52      <artifactId>javafx-controls</artifactId>
     53      <version>${javafx.version}</version>
     54      <scope>provided</scope>
     55    </dependency>
     56    <dependency>
     57      <groupId>org.openjfx</groupId>
     58      <artifactId>javafx-base</artifactId>
     59      <version>${javafx.version}</version>
     60      <scope>provided</scope>
     61    </dependency>
     62    <dependency>
     63      <groupId>org.openjfx</groupId>
     64      <artifactId>javafx-graphics</artifactId>
     65      <version>${javafx.version}</version>
     66      <scope>provided</scope>
     67    </dependency>
     68  </dependencies>
     69  <build>
     70    <plugins>
     71      <plugin>
     72        <groupId>org.apache.maven.plugins</groupId>
     73        <artifactId>maven-jar-plugin</artifactId>
     74        <configuration>
     75          <archive>
     76            <manifestEntries>
     77              <Plugin-Minimum-Java-Version>${java.lang.version}</Plugin-Minimum-Java-Version>
     78              <Plugin-Link>${plugin.link}</Plugin-Link>
     79              <Plugin-Icon>${plugin.icon}</Plugin-Icon>
     80              <Plugin-Requires>${plugin.requires}</Plugin-Requires>
     81              <Plugin-Canloadatruntime>${plugin.canloadatruntime}</Plugin-Canloadatruntime>
     82            </manifestEntries>
     83          </archive>
     84        </configuration>
     85      </plugin>
     86    </plugins>
     87  </build>
    9388</project>
  • applications/editors/josm/plugins/eventbus/pom.xml

    r36349 r36378  
    1515    </developers>
    1616    <properties>
     17        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    1718        <plugin.src.dir>src</plugin.src.dir>
    1819        <plugin.main.version>19044</plugin.main.version>
  • applications/editors/josm/plugins/livegps/pom.xml

    r36344 r36378  
    1616    </developers>
    1717    <properties>
     18        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    1819        <plugin.src.dir>src</plugin.src.dir>
    1920        <plugin.main.version>19044</plugin.main.version>
  • applications/editors/josm/plugins/pmtiles/src/test/java/unit/org/openstreetmap/josm/plugins/pmtiles/PMTestUtils.java

    r36115 r36378  
    1414    public static final URI ODBL_VECTOR_FIRENZE = new File("protomaps(vector)ODbL_firenze.pmtiles").exists() ?
    1515            new File("protomaps(vector)ODbL_firenze.pmtiles").toURI() :
    16             URI.create("https://github.com/protomaps/PMTiles/raw/main/spec/v3/protomaps(vector)ODbL_firenze.pmtiles");
     16            URI.create("https://github.com/protomaps/PMTiles/raw/3126ad0244f847be9727b3313aaac8d516b3d033/spec/v3/protomaps(vector)ODbL_firenze.pmtiles");
    1717
    1818    /** A sample raster tileset */
  • applications/editors/josm/plugins/pom.xml

    r36325 r36378  
    492492      </modules>
    493493    </profile>
     494    <profile>
     495      <id>areaselector</id>
     496      <activation><file><exists>areaselector/pom.xml</exists></file></activation>
     497      <modules><module>areaselector</module></modules>
     498    </profile>
     499    <profile>
     500      <id>austriaaddresshelper</id>
     501      <activation><file><exists>austriaaddresshelper/pom.xml</exists></file></activation>
     502      <modules><module>austriaaddresshelper</module></modules>
     503    </profile>
     504    <profile>
     505      <id>auto-tools</id>
     506      <activation><file><exists>auto-tools/pom.xml</exists></file></activation>
     507      <modules><module>auto-tools</module></modules>
     508    </profile>
     509    <profile>
     510      <id>Building-Generalization</id>
     511      <activation><file><exists>Building-Generalization/pom.xml</exists></file></activation>
     512      <modules><module>Building-Generalization</module></modules>
     513    </profile>
     514    <profile>
     515      <id>changeset-viewer</id>
     516      <activation><file><exists>changeset-viewer/pom.xml</exists></file></activation>
     517      <modules><module>changeset-viewer</module></modules>
     518    </profile>
     519    <profile>
     520      <id>Color</id>
     521      <activation><file><exists>Color/pom.xml</exists></file></activation>
     522      <modules><module>Color</module></modules>
     523    </profile>
     524    <profile>
     525      <id>configuration</id>
     526      <activation><file><exists>configuration/pom.xml</exists></file></activation>
     527      <modules><module>configuration</module></modules>
     528    </profile>
     529    <profile>
     530      <id>conflation</id>
     531      <activation><file><exists>conflation/pom.xml</exists></file></activation>
     532      <modules><module>conflation</module></modules>
     533    </profile>
     534    <profile>
     535      <id>continuos-download</id>
     536      <activation><file><exists>continuos-download/pom.xml</exists></file></activation>
     537      <modules><module>continuos-download</module></modules>
     538    </profile>
     539    <profile>
     540      <id>Dxf-Import</id>
     541      <activation><file><exists>Dxf-Import/pom.xml</exists></file></activation>
     542      <modules><module>Dxf-Import</module></modules>
     543    </profile>
     544    <profile>
     545      <id>gridify</id>
     546      <activation><file><exists>gridify/pom.xml</exists></file></activation>
     547      <modules><module>gridify</module></modules>
     548    </profile>
     549    <profile>
     550      <id>improve-way</id>
     551      <activation><file><exists>improve-way/pom.xml</exists></file></activation>
     552      <modules><module>improve-way</module></modules>
     553    </profile>
     554    <profile>
     555      <id>indoorhelper</id>
     556      <activation><file><exists>indoorhelper/pom.xml</exists></file></activation>
     557      <modules><module>indoorhelper</module></modules>
     558    </profile>
     559    <profile>
     560      <id>kartverketimport</id>
     561      <activation><file><exists>kartverketimport/pom.xml</exists></file></activation>
     562      <modules><module>kartverketimport</module></modules>
     563    </profile>
     564    <profile>
     565      <id>Mapillary</id>
     566      <activation><file><exists>Mapillary/pom.xml</exists></file><jdk>[17,]</jdk></activation>
     567      <modules><module>Mapillary</module></modules>
     568    </profile>
     569    <profile>
     570      <id>MapRoulette</id>
     571      <activation><file><exists>MapRoulette/pom.xml</exists></file><jdk>[17,]</jdk></activation>
     572      <modules><module>MapRoulette</module></modules>
     573    </profile>
     574    <profile>
     575      <id>osm-obj-info</id>
     576      <activation><file><exists>osm-obj-info/pom.xml</exists></file></activation>
     577      <modules><module>osm-obj-info</module></modules>
     578    </profile>
     579    <profile>
     580      <id>PicLayer</id>
     581      <activation><file><exists>PicLayer/pom.xml</exists></file></activation>
     582      <modules><module>PicLayer</module></modules>
     583    </profile>
     584    <profile>
     585      <id>pt_assistant</id>
     586      <activation><file><exists>pt_assistant/pom.xml</exists></file><jdk>[17,]</jdk></activation>
     587      <modules><module>pt_assistant</module></modules>
     588    </profile>
     589    <profile>
     590      <id>rex</id>
     591      <activation><file><exists>rex/pom.xml</exists></file></activation>
     592      <modules><module>rex</module></modules>
     593    </profile>
     594    <profile>
     595      <id>ShapeTools</id>
     596      <activation><file><exists>ShapeTools/pom.xml</exists></file></activation>
     597      <modules><module>ShapeTools</module></modules>
     598    </profile>
     599    <profile>
     600      <id>todo</id>
     601      <activation><file><exists>todo/pom.xml</exists></file><jdk>[17,]</jdk></activation>
     602      <modules><module>todo</module></modules>
     603    </profile>
     604    <profile>
     605      <id>turnlanes-tagging</id>
     606      <activation><file><exists>turnlanes-tagging/pom.xml</exists></file></activation>
     607      <modules><module>turnlanes-tagging</module></modules>
     608    </profile>
     609    <profile>
     610      <id>validations_testing</id>
     611      <activation><file><exists>validations_testing/pom.xml</exists></file></activation>
     612      <modules><module>validations_testing</module></modules>
     613    </profile>
     614    <profile>
     615      <id>wikipedia</id>
     616      <activation><file><exists>wikipedia/pom.xml</exists></file></activation>
     617      <modules><module>wikipedia</module></modules>
     618    </profile>
    494619  </profiles>
    495620</project>
Note: See TracChangeset for help on using the changeset viewer.