Skip to content

Commit

Permalink
review: Move build extension for protobuf to sub-module(gtfs-realtime…
Browse files Browse the repository at this point in the history
…-protobuf)
  • Loading branch information
t2gran committed Oct 24, 2024
1 parent d562a52 commit 79cf391
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 10 additions & 0 deletions gtfs-realtime-protobuf/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,16 @@
</dependency>
</dependencies>
<build>
<extensions>
<!-- makes build variables like os.detected.classifier available.
use to select the correct protoc instance for the OS.
see protobuf-maven-plugin below -->
<extension>
<groupId>kr.motd.maven</groupId>
<artifactId>os-maven-plugin</artifactId>
<version>1.7.1</version>
</extension>
</extensions>
<plugins>
<!-- compile the gtfs-realtime.proto file to Java code
To update the proto file run the following command:
Expand Down
10 changes: 0 additions & 10 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -99,16 +99,6 @@
</modules>

<build>
<extensions>
<!-- makes build variables like os.detected.classifier available.
use to select the correct protoc instance for the OS.
see protobuf-maven-plugin below -->
<extension>
<groupId>kr.motd.maven</groupId>
<artifactId>os-maven-plugin</artifactId>
<version>1.7.1</version>
</extension>
</extensions>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
Expand Down

0 comments on commit 79cf391

Please sign in to comment.