Skip to content

Commit

Permalink
Fix dependabot (#828)
Browse files Browse the repository at this point in the history
  • Loading branch information
msbarry authored Mar 4, 2024
1 parent 9f0f513 commit 8396991
Show file tree
Hide file tree
Showing 3 changed files with 97 additions and 34 deletions.
66 changes: 33 additions & 33 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,36 +3,36 @@

version: 2
updates:
- package-ecosystem: maven
directory: "/"
open-pull-requests-limit: 1
schedule:
interval: daily
time: "04:30"
timezone: America/New_York
labels:
- dependencies
ignore:
- dependency-name: "com.google.protobuf:protobuf-java"
versions: [ "3.23.3" ]
- package-ecosystem: maven
# workaround for non-standard pom.xml filename (https://github.com/dependabot/dependabot-core/issues/4425)
directory: "/.github/planetiler-examples-dependabot"
open-pull-requests-limit: 1
schedule:
interval: daily
time: "04:30"
timezone: America/New_York
labels:
- dependencies
ignore:
- dependency-name: "com.onthegomap.planetiler:*"
- package-ecosystem: github-actions
directory: "/"
open-pull-requests-limit: 1
schedule:
interval: daily
time: "04:30"
timezone: America/New_York
labels:
- dependencies
- package-ecosystem: maven
directory: "/"
open-pull-requests-limit: 1
schedule:
interval: daily
time: "04:25"
timezone: America/New_York
labels:
- dependencies
ignore:
- dependency-name: "com.google.protobuf:protobuf-java"
versions: [ "3.23.3" ]
- package-ecosystem: maven
# workaround for non-standard pom.xml filename (https://github.com/dependabot/dependabot-core/issues/4425)
directory: "/.github/planetiler-examples-dependabot"
open-pull-requests-limit: 1
schedule:
interval: daily
time: "04:30"
timezone: America/New_York
labels:
- dependencies
ignore:
- dependency-name: "com.onthegomap.planetiler:*"
- package-ecosystem: github-actions
directory: "/"
open-pull-requests-limit: 1
schedule:
interval: daily
time: "04:30"
timezone: America/New_York
labels:
- dependencies
62 changes: 62 additions & 0 deletions planetiler-openmaptiles.pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- This pom.xml gets used when this repo loaded as a submodule within https://github.com/onthegomap/planetiler -->
<!-- TODO it should be in planetiler-openmaptiles/submodule.pom.xml when this is fixed: https://github.com/dependabot/dependabot-core/issues/9193 -->
<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>

<groupId>org.openmaptiles</groupId>
<artifactId>planetiler-openmaptiles</artifactId>

<parent>
<groupId>com.onthegomap.planetiler</groupId>
<artifactId>planetiler-parent</artifactId>
<version>${revision}</version>
<relativePath>./</relativePath>
</parent>

<dependencies>
<dependency>
<groupId>com.onthegomap.planetiler</groupId>
<artifactId>planetiler-core</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.yaml</groupId>
<artifactId>snakeyaml</artifactId>
<version>1.33</version>
</dependency>
<dependency>
<groupId>org.commonmark</groupId>
<artifactId>commonmark</artifactId>
</dependency>

<dependency>
<groupId>com.onthegomap.planetiler</groupId>
<artifactId>planetiler-core</artifactId>
<version>${project.version}</version>
<type>test-jar</type>
<scope>test</scope>
</dependency>
</dependencies>

<build>
<sourceDirectory>planetiler-openmaptiles/src/main/java</sourceDirectory>
<testSourceDirectory>planetiler-openmaptiles/src/test/java</testSourceDirectory>
<plugins>
<plugin>
<groupId>io.github.zlika</groupId>
<artifactId>reproducible-build-maven-plugin</artifactId>
</plugin>

<plugin>
<artifactId>maven-deploy-plugin</artifactId>
<configuration>
<!-- we don't want to deploy this module -->
<skip>true</skip>
</configuration>
</plugin>
</plugins>
</build>
</project>
3 changes: 2 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,8 @@

<modules>
<module>planetiler-core</module>
<module>planetiler-openmaptiles/submodule.pom.xml</module>
<!-- TODO replace with planetiler-openmaptiles/submodule.pom.xml when this is fixed: https://github.com/dependabot/dependabot-core/issues/9193 -->
<module>planetiler-openmaptiles.pom.xml</module>
<module>planetiler-custommap</module>
<module>planetiler-benchmarks</module>
<module>planetiler-examples</module>
Expand Down

0 comments on commit 8396991

Please sign in to comment.