Skip to content

Commit

Permalink
Drop gradle and ivy
Browse files Browse the repository at this point in the history
Signed-off-by: Taylor Smock <[email protected]>
  • Loading branch information
tsmock committed Jan 29, 2025
1 parent 1be5a72 commit 86a807b
Show file tree
Hide file tree
Showing 5 changed files with 124 additions and 180 deletions.
147 changes: 0 additions & 147 deletions build.gradle

This file was deleted.

21 changes: 8 additions & 13 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,16 @@
<project xmlns:ivy="antlib:org.apache.ivy.ant" name="wikipedia" default="dist" basedir=".">
<property name="plugin.src.dir" value="src/main/java"/>
<property name="plugin.resources.dir" value="src/main/resources"/>

<!-- edit the properties of this plugin in the file `gradle.properties` -->
<property name="plugin.main.version " value=" 18877"/>
<property name="plugin.canloadatruntime " value=" true"/>
<property name="plugin.author " value=" floscher &lt;incoming+josm-plugin-wikipedia-6702380-issue-@incoming.gitlab.com&gt;, simon04"/>
<property name="plugin.class " value=" org.wikipedia.WikipediaPlugin"/>
<property name="plugin.icon " value=" images/dialogs/wikipedia.png"/>
<property name="plugin.link " value=" https://josm.openstreetmap.de/wiki/Help/Plugin/Wikipedia"/>
<property name="plugin.description " value=" Simplifies linking OSM objects to Wikipedia articles and Wikidata items"/>

<property name="plugin.main.version" value="18877"/>
<property name="plugin.canloadatruntime" value="true"/>
<property name="plugin.author" value="floscher &lt;incoming+josm-plugin-wikipedia-6702380-issue-@incoming.gitlab.com&gt;, simon04"/>
<property name="plugin.class" value="org.wikipedia.WikipediaPlugin"/>
<property name="plugin.icon" value="images/dialogs/wikipedia.png"/>
<property name="plugin.link" value="https://josm.openstreetmap.de/wiki/Help/Plugin/Wikipedia"/>
<property name="plugin.description" value="Simplifies linking OSM objects to Wikipedia articles and Wikidata items"/>
<!-- ** include targets that all plugins have in common ** -->
<import file="../build-common.xml"/>

<!-- Override the `setup-dist-default` task from build-common.xml -->
<target name="setup-dist-default">
<copy todir="${plugin.build.dir}" failonerror="no" includeemptydirs="no">
Expand All @@ -29,9 +26,7 @@
</fileset>
</copy>
</target>

<target name="pre-compile" depends="fetch_dependencies">
<!-- include fetch_dependencies task -->
<!-- include fetch_dependencies task -->
</target>

</project>
12 changes: 0 additions & 12 deletions gradle.properties

This file was deleted.

8 changes: 0 additions & 8 deletions ivy.xml

This file was deleted.

116 changes: 116 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,116 @@
<?xml version="1.0"?>
<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">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.openstreetmap.josm.plugins</groupId>
<artifactId>plugin-root</artifactId>
<version>SNAPSHOT</version>
</parent>
<artifactId>wikipedia</artifactId>
<url>${plugin.link}</url>
<developers>
<developer>
<id>floscher</id>
</developer>
<developer>
<id>simon04</id>
</developer>
</developers>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<plugin.src.dir>${project.basedir}/src/main/java</plugin.src.dir>
<plugin.resources.dir>${project.basedir}/src/main/resources</plugin.resources.dir>
<plugin.main.version>18877</plugin.main.version>
<plugin.canloadatruntime>true</plugin.canloadatruntime>
<plugin.author>floscher &lt;incoming+josm-plugin-wikipedia-6702380-issue-@incoming.gitlab.com&gt;, simon04</plugin.author>
<plugin.class>org.wikipedia.WikipediaPlugin</plugin.class>
<plugin.icon>images/dialogs/wikipedia.png</plugin.icon>
<plugin.link>https://josm.openstreetmap.de/wiki/Help/Plugin/Wikipedia</plugin.link>
<plugin.description>Simplifies linking OSM objects to Wikipedia articles and Wikidata items</plugin.description>
</properties>
<dependencies>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>2.15.3</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.wikidata.wdtk</groupId>
<artifactId>wdtk-wikibaseapi</artifactId>
<version>0.11.1</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.wikidata.wdtk</groupId>
<artifactId>wdtk-dumpfiles</artifactId>
<version>0.11.1</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.wiremock</groupId>
<artifactId>wiremock</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.platform</groupId>
<artifactId>junit-platform-launcher</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.platform</groupId>
<artifactId>junit-platform-suite</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.vintage</groupId>
<artifactId>junit-vintage-engine</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-params</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-migrationsupport</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.jmockit</groupId>
<artifactId>jmockit</artifactId>
</dependency>
<dependency>
<groupId>org.awaitility</groupId>
<artifactId>awaitility</artifactId>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<manifestEntries>
<Plugin-Link>${plugin.link}</Plugin-Link>
<Plugin-Canloadatruntime>${plugin.canloadatruntime}</Plugin-Canloadatruntime>
<Plugin-Icon>${plugin.icon}</Plugin-Icon>
</manifestEntries>
</archive>
</configuration>
</plugin>
</plugins>
</build>
</project>

0 comments on commit 86a807b

Please sign in to comment.