source: osm/applications/editors/josm/plugins/opendata/pom.xml@ 36298

Last change on this file since 36298 was 36282, checked in by taylor.smock, 8 months ago

Fix #8269: Add initial maven pom files

This additionally deletes most IDE specific configuration, in favor of Maven
configuration.

What this does not do:

  • Convert from ivy to maven for dependency management. This should happen eventually with maven-resolver-ant-tasks (probably with the next dependency update).
  • Deprecate the current ant scripts.
File size: 5.6 KB
RevLine 
[36282]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>opendata-parent</artifactId>
7 <version>1.0-SNAPSHOT</version>
8 <relativePath>modules</relativePath>
9 </parent>
10 <artifactId>opendata</artifactId>
11
12 <url>${plugin.link}</url>
13 <developers>
14 <developer>
15 <id>Don-vip</id>
16 </developer>
17 </developers>
18 <properties>
19 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
20 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
21 <plugin.src.dir>src</plugin.src.dir>
22 <plugin.main.version>18723</plugin.main.version>
23 <plugin.author>Don-vip</plugin.author>
24 <plugin.class>org.openstreetmap.josm.plugins.opendata.OdPlugin</plugin.class>
25 <plugin.description>Allows JOSM to read Open Data formats (csv, xls, ods, kml, kmz, shp, mif) into an .osm data layer. Supports zip and 7z compression of these file types.</plugin.description>
26 <plugin.icon>images/dialogs/o24.png</plugin.icon>
27 <plugin.canloadatruntime>true</plugin.canloadatruntime>
28 <plugin.link>https://wiki.openstreetmap.org/wiki/JOSM/Plugins/OpenData</plugin.link>
29 <plugin.requires>apache-commons;jaxb;jts;ejml;geotools;utilsplugin2</plugin.requires>
30 </properties>
31 <dependencies>
32 <dependency>
33 <groupId>org.openstreetmap.josm.plugins</groupId>
34 <artifactId>apache-commons</artifactId>
35 <version>1.0-SNAPSHOT</version>
36 <scope>provided</scope>
37 </dependency>
38 <dependency>
39 <groupId>org.apache.commons</groupId>
40 <artifactId>commons-lang3</artifactId>
41 <scope>provided</scope> <!-- Provided by apache-commons -->
42 </dependency>
43 <dependency>
44 <groupId>org.openstreetmap.josm.plugins</groupId>
45 <artifactId>jaxb</artifactId>
46 <version>1.0-SNAPSHOT</version>
47 <scope>provided</scope>
48 </dependency>
49 <dependency>
50 <groupId>org.openstreetmap.josm.plugins</groupId>
51 <artifactId>jts</artifactId>
52 <version>1.0-SNAPSHOT</version>
53 <scope>provided</scope>
54 </dependency>
55 <dependency>
56 <groupId>org.openstreetmap.josm.plugins</groupId>
57 <artifactId>ejml</artifactId>
58 <version>1.0-SNAPSHOT</version>
59 <scope>provided</scope>
60 </dependency>
61 <dependency>
62 <groupId>org.openstreetmap.josm.plugins</groupId>
63 <artifactId>geotools</artifactId>
64 <version>1.0-SNAPSHOT</version>
65 <scope>provided</scope>
66 </dependency>
67 <dependency>
68 <groupId>org.openstreetmap.josm.plugins</groupId>
69 <artifactId>utilsplugin2</artifactId>
70 <version>1.0-SNAPSHOT</version>
71 <scope>provided</scope>
72 </dependency>
73 <!-- Needed to compile jopendocument, provided by geotools later -->
74 <dependency>
75 <groupId>org.jdom</groupId>
76 <artifactId>jdom</artifactId>
77 <version>1.1.3</version>
78 <scope>provided</scope>
79 </dependency>
80 </dependencies>
81 <build>
82 <plugins>
83 <plugin>
84 <groupId>org.codehaus.mojo</groupId>
85 <artifactId>build-helper-maven-plugin</artifactId>
86 <version>3.6.0</version>
87 <executions>
88 <execution>
89 <id>add-source</id>
90 <phase>generate-sources</phase>
91 <goals>
92 <goal>add-source</goal>
93 </goals>
94 <configuration>
95 <sources>
96 <source>includes/org</source>
97 </sources>
98 </configuration>
99 </execution>
100 </executions>
101 </plugin>
102 <plugin>
103 <groupId>org.codehaus.mojo</groupId>
104 <artifactId>jaxb2-maven-plugin</artifactId>
105 <executions>
106 <execution>
107 <id>xjc</id>
108 <goals>
109 <goal>xjc</goal>
110 </goals>
111 </execution>
112 </executions>
113 <configuration>
114 <sources>
115 <source>resources/neptune/neptune.xsd</source>
116 </sources>
117 <packageName>neptune</packageName>
118 <encoding>UTF-8</encoding>
119 </configuration>
120 </plugin>
121 <plugin>
122 <groupId>org.apache.maven.plugins</groupId>
123 <artifactId>maven-jar-plugin</artifactId>
124 <configuration>
125 <archive>
126 <manifestEntries>
127 <Plugin-Link>${plugin.link}</Plugin-Link>
128 <Plugin-Icon>${plugin.icon}</Plugin-Icon>
129 <Plugin-Requires>${plugin.requires}</Plugin-Requires>
130 <Plugin-Canloadatruntime>${plugin.canloadatruntime}</Plugin-Canloadatruntime>
131 </manifestEntries>
132 </archive>
133 </configuration>
134 </plugin>
135 </plugins>
136 </build>
137</project>
Note: See TracBrowser for help on using the repository browser.