mirror of
https://github.com/opentripplanner/OpenTripPlanner.git
synced 2025-12-27 14:21:51 +01:00
Move prettier plugin configuration to pluginManagement in the root pom and enable it in all Java modules. This prevents the plugin from running twice during builds when the rewrite plugin forks the lifecycle. Additionally, move the rewrite plugin execution from the main build to the rewrite profile (activated via -Drw) to avoid the double execution issue entirely when rewrite is not needed.
68 lines
2.2 KiB
XML
68 lines
2.2 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<parent>
|
|
<groupId>org.opentripplanner</groupId>
|
|
<artifactId>otp-root</artifactId>
|
|
<version>2.9.0-SNAPSHOT</version>
|
|
</parent>
|
|
|
|
<artifactId>raptor</artifactId>
|
|
<name>OpenTripPlanner - Raptor</name>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>com.hubspot.maven.plugins</groupId>
|
|
<artifactId>prettier-maven-plugin</artifactId>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
<dependencies>
|
|
<!-- project dependencies -->
|
|
|
|
<dependency>
|
|
<groupId>${project.groupId}</groupId>
|
|
<artifactId>utils</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
|
|
<!-- 3rd party dependencies -->
|
|
|
|
<!-- This is the ONLY allowed dependency -->
|
|
<dependency>
|
|
<groupId>com.google.code.findbugs</groupId>
|
|
<artifactId>jsr305</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>net.sf.trove4j</groupId>
|
|
<artifactId>trove4j</artifactId>
|
|
</dependency>
|
|
<!-- There should not be logging in this module, get rid of this dependency -->
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-api</artifactId>
|
|
</dependency>
|
|
|
|
<!-- Test dependencies -->
|
|
|
|
<dependency>
|
|
<groupId>org.junit.jupiter</groupId>
|
|
<artifactId>junit-jupiter-api</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.junit.jupiter</groupId>
|
|
<artifactId>junit-jupiter-params</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.tngtech.archunit</groupId>
|
|
<artifactId>archunit</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
</project>
|