rfscholte commented on code in PR #13930: URL: https://github.com/apache/pinot/pull/13930#discussion_r1753819807
########## pinot-spi/pom.xml: ########## @@ -36,6 +36,82 @@ <build> <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-dependency-plugin</artifactId> + <version>3.7.1</version> + <executions> + <execution> + <id>copy-pinot-plugins</id> + <!-- The org.apache.pinot.spi.plugin.PluginManagerTest has tests that requires plugin jars. + These jars could have been added to src/test/resources/plugins, but that would increase the size of + source repository a lot. Instead, let Maven download these jars and put them at the expected location. + --> + <phase>generate-test-resources</phase> + <goals> + <goal>copy</goal> + </goals> + <configuration> + <artifactItems> + <artifactItem> + <groupId>org.apache.pinot</groupId> + <artifactId>pinot-dropwizard</artifactId> + <version>0.10.0</version> + <classifier>shaded</classifier> + <outputDirectory>${project.build.testOutputDirectory}/plugins/pinot-dropwizard</outputDirectory> + </artifactItem> + <artifactItem> + <groupId>org.apache.pinot</groupId> + <artifactId>pinot-yammer</artifactId> + <version>0.10.0</version> + <classifier>shaded</classifier> + <outputDirectory>${project.build.testOutputDirectory}/plugins/pinot-yammer</outputDirectory> + </artifactItem> + <artifactItem> + <groupId>org.apache.pinot</groupId> + <artifactId>pinot-yammer</artifactId> + <version>0.10.0</version> + <classifier>shaded</classifier> + <outputDirectory>${project.build.testOutputDirectory}/plugins/pinot-shaded-yammer</outputDirectory> + </artifactItem> + <artifactItem> + <groupId>commons-io</groupId> + <artifactId>commons-io</artifactId> + <version>2.11.0</version> Review Comment: See comment above: we need to be 100% sure about the content of these jars. Even though we could align them, it also means that with every change, the tests need to be updated as well. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org For additional commands, e-mail: commits-h...@pinot.apache.org