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

Make certain all plugins can be compiled with maven

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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>
Note: See TracChangeset for help on using the changeset viewer.