source: josm/trunk/test/pom.xml@ 19109

Last change on this file since 19109 was 19097, checked in by taylor.smock, 6 months ago

Fix #8269: Add initial maven pom files

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

We did have to update scripts/BuildProjectionDefinitions.java so that it would
create an empty EPSG file for the next run in the pom.xml file.

For core, we needed two additional pom.xml files:

  • A parent pom with most dependency information (for inheritance)
    • This will make it easier to keep core and the apache-commons plugin in sync
  • A unit test pom (for plugin tests)
    • Some IDEs (netbeans specifically) don't like this.

What this does not do:

  • Convert from ivy to maven for dependency management in core. This should happen eventually with maven-resolver-ant-tasks (probably with the next dependency update).
  • Deprecate the current ant scripts.
File size: 3.8 KB
Line 
1<?xml version="1.0"?>
2<project xmlns="http://maven.apache.org/POM/4.0.0">
3 <modelVersion>4.0.0</modelVersion>
4 <artifactId>josm-unittest</artifactId>
5 <version>1.0-SNAPSHOT</version>
6
7 <parent>
8 <groupId>org.openstreetmap.josm</groupId>
9 <artifactId>josm-parent</artifactId>
10 <version>1.0-SNAPSHOT</version>
11 <relativePath>../nodist/pom.xml</relativePath>
12 </parent>
13 <properties>
14 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
15 </properties>
16 <dependencies>
17 <dependency>
18 <groupId>org.openstreetmap.josm</groupId>
19 <artifactId>josm</artifactId>
20 <version>1.0-SNAPSHOT</version>
21 <scope>provided</scope>
22 </dependency>
23 <dependency>
24 <groupId>org.jmockit</groupId>
25 <artifactId>jmockit</artifactId>
26 <scope>compile</scope>
27 </dependency>
28 <dependency>
29 <groupId>com.github.spotbugs</groupId>
30 <artifactId>spotbugs-annotations</artifactId>
31 <scope>compile</scope>
32 </dependency>
33 <dependency>
34 <groupId>com.ginsberg</groupId>
35 <artifactId>junit5-system-exit</artifactId>
36 <scope>compile</scope>
37 </dependency>
38 <dependency>
39 <groupId>org.wiremock</groupId>
40 <artifactId>wiremock</artifactId>
41 <scope>compile</scope>
42 </dependency>
43 <dependency>
44 <groupId>io.github.classgraph</groupId>
45 <artifactId>classgraph</artifactId>
46 <scope>compile</scope>
47 </dependency>
48 <dependency>
49 <groupId>org.junit.platform</groupId>
50 <artifactId>junit-platform-launcher</artifactId>
51 <scope>compile</scope>
52 </dependency>
53 <dependency>
54 <groupId>org.junit.platform</groupId>
55 <artifactId>junit-platform-suite</artifactId>
56 <scope>compile</scope>
57 </dependency>
58 <dependency>
59 <groupId>org.junit.vintage</groupId>
60 <artifactId>junit-vintage-engine</artifactId>
61 <scope>compile</scope>
62 </dependency>
63 <dependency>
64 <groupId>org.junit.jupiter</groupId>
65 <artifactId>junit-jupiter-params</artifactId>
66 <scope>compile</scope>
67 </dependency>
68 <dependency>
69 <groupId>org.junit.jupiter</groupId>
70 <artifactId>junit-jupiter-api</artifactId>
71 <scope>compile</scope>
72 </dependency>
73 <dependency>
74 <groupId>org.junit.jupiter</groupId>
75 <artifactId>junit-jupiter-engine</artifactId>
76 <scope>compile</scope>
77 </dependency>
78 <dependency>
79 <groupId>org.junit.jupiter</groupId>
80 <artifactId>junit-jupiter-migrationsupport</artifactId>
81 <scope>compile</scope>
82 </dependency>
83 <dependency>
84 <groupId>net.trajano.commons</groupId>
85 <artifactId>commons-testing</artifactId>
86 <scope>compile</scope>
87 </dependency>
88 <dependency>
89 <groupId>nl.jqno.equalsverifier</groupId>
90 <artifactId>equalsverifier</artifactId>
91 <scope>compile</scope>
92 </dependency>
93 <dependency>
94 <groupId>org.apache.commons</groupId>
95 <artifactId>commons-lang3</artifactId>
96 <scope>compile</scope>
97 </dependency>
98 <dependency>
99 <groupId>org.awaitility</groupId>
100 <artifactId>awaitility</artifactId>
101 <scope>compile</scope>
102 </dependency>
103 </dependencies>
104
105 <build>
106 <sourceDirectory>${project.basedir}/unit</sourceDirectory>
107 <resources>
108 <resource>
109 <directory>${project.basedir}/data</directory>
110 </resource>
111 </resources>
112 </build>
113</project>
Note: See TracBrowser for help on using the repository browser.