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

Last change on this file since 36352 was 36336, checked in by taylor.smock, 5 months ago

Add cleanup for generated neptune sources in opendata

File size: 6.1 KB
Line 
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>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>19044</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>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>SNAPSHOT</version>
47 <scope>provided</scope>
48 </dependency>
49 <dependency>
50 <groupId>org.openstreetmap.josm.plugins</groupId>
51 <artifactId>jts</artifactId>
52 <version>SNAPSHOT</version>
53 <scope>provided</scope>
54 </dependency>
55 <dependency>
56 <groupId>org.openstreetmap.josm.plugins</groupId>
57 <artifactId>ejml</artifactId>
58 <version>SNAPSHOT</version>
59 <scope>provided</scope>
60 </dependency>
61 <dependency>
62 <groupId>org.openstreetmap.josm.plugins</groupId>
63 <artifactId>geotools</artifactId>
64 <version>SNAPSHOT</version>
65 <scope>provided</scope>
66 </dependency>
67 <dependency>
68 <groupId>org.openstreetmap.josm.plugins</groupId>
69 <artifactId>utilsplugin2</artifactId>
70 <version>SNAPSHOT</version>
71 <scope>provided</scope>
72 </dependency>
73 <!-- Needed to compile jopendocument, not currently provided by geotools -->
74 <dependency>
75 <groupId>org.jdom</groupId>
76 <artifactId>jdom2</artifactId>
77 <version>2.0.6.1</version>
78 <scope>compile</scope>
79 </dependency>
80 </dependencies>
81 <build>
82 <plugins>
83 <plugin>
84 <groupId>org.apache.maven.plugins</groupId>
85 <artifactId>maven-clean-plugin</artifactId>
86 <configuration>
87 <filesets>
88 <fileset>
89 <!-- Only needed while we keep ant scripts around -->
90 <directory>includes/neptune</directory>
91 </fileset>
92 </filesets>
93 </configuration>
94 </plugin>
95 <plugin>
96 <groupId>org.codehaus.mojo</groupId>
97 <artifactId>build-helper-maven-plugin</artifactId>
98 <version>3.6.0</version>
99 <executions>
100 <execution>
101 <id>add-source</id>
102 <phase>generate-sources</phase>
103 <goals>
104 <goal>add-source</goal>
105 </goals>
106 <configuration>
107 <sources>
108 <source>includes/org</source>
109 </sources>
110 </configuration>
111 </execution>
112 </executions>
113 </plugin>
114 <plugin>
115 <groupId>org.codehaus.mojo</groupId>
116 <artifactId>jaxb2-maven-plugin</artifactId>
117 <executions>
118 <execution>
119 <id>xjc</id>
120 <goals>
121 <goal>xjc</goal>
122 </goals>
123 </execution>
124 </executions>
125 <configuration>
126 <sources>
127 <source>resources/neptune/neptune.xsd</source>
128 </sources>
129 <packageName>neptune</packageName>
130 <encoding>UTF-8</encoding>
131 </configuration>
132 </plugin>
133 <plugin>
134 <groupId>org.apache.maven.plugins</groupId>
135 <artifactId>maven-jar-plugin</artifactId>
136 <configuration>
137 <archive>
138 <manifestEntries>
139 <Plugin-Link>${plugin.link}</Plugin-Link>
140 <Plugin-Icon>${plugin.icon}</Plugin-Icon>
141 <Plugin-Requires>${plugin.requires}</Plugin-Requires>
142 <Plugin-Canloadatruntime>${plugin.canloadatruntime}</Plugin-Canloadatruntime>
143 </manifestEntries>
144 </archive>
145 </configuration>
146 </plugin>
147 </plugins>
148 </build>
149</project>
Note: See TracBrowser for help on using the repository browser.