Skip to content

Commit

Permalink
build: Move shim directories (#318)
Browse files Browse the repository at this point in the history
  • Loading branch information
kazuyukitanimura authored Apr 25, 2024
1 parent 869da2d commit ef94c55
Show file tree
Hide file tree
Showing 15 changed files with 31 additions and 0 deletions.
18 changes: 18 additions & 0 deletions common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,24 @@ under the License.
<groupId>net.alchim31.maven</groupId>
<artifactId>scala-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<executions>
<execution>
<id>add-shim-source</id>
<phase>generate-sources</phase>
<goals>
<goal>add-source</goal>
</goals>
<configuration>
<sources>
<source>src/main/${shims.source}</source>
</sources>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
<resources>
<resource>
Expand Down
1 change: 1 addition & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ under the License.
<argLine>-ea -Xmx4g -Xss4m ${extraJavaTestArgs}</argLine>
<additional.3_3.test.source>spark-3.3-plus</additional.3_3.test.source>
<additional.3_4.test.source>spark-3.4</additional.3_4.test.source>
<shims.source>spark-3.x</shims.source>
</properties>

<dependencyManagement>
Expand Down
12 changes: 12 additions & 0 deletions spark/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,18 @@ under the License.
</sources>
</configuration>
</execution>
<execution>
<id>add-shim-source</id>
<phase>generate-sources</phase>
<goals>
<goal>add-source</goal>
</goals>
<configuration>
<sources>
<source>src/main/${shims.source}</source>
</sources>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
Expand Down

0 comments on commit ef94c55

Please sign in to comment.