Skip to content

Commit

Permalink
MINOR: [Java] Remove superfluous add-source execution (#43216)
Browse files Browse the repository at this point in the history
### Rationale for this change

protobuf plugin already adds generated protobuf classes to the list of source directories, so remove the superfluous build-helper:add-source execution

### Are these changes tested?

Yes via CI/CD

### Are there any user-facing changes?

No

Authored-by: Laurent Goujon <[email protected]>
Signed-off-by: David Li <[email protected]>
  • Loading branch information
laurentgo authored Jul 11, 2024
1 parent 84df343 commit 797ca30
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions java/flight/flight-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -261,25 +261,6 @@ under the License.
</execution>
</executions>
</plugin>
<plugin>
<!-- add generated sources to classpath -->
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<executions>
<execution>
<id>add-generated-sources-to-classpath</id>
<goals>
<goal>add-source</goal>
</goals>
<phase>generate-sources</phase>
<configuration>
<sources>
<source>${project.build.directory}/generated-sources/protobuf</source>
</sources>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
Expand Down

0 comments on commit 797ca30

Please sign in to comment.