Merge branch '2.3.x'

Closes gh-22772
pull/22777/head
Andy Wilkinson 4 years ago
commit 782adc5f5f

@ -177,6 +177,7 @@ public class MavenPluginPlugin implements Plugin<Project> {
pluginDescriptorInputs.from(pomFile, (copy) -> replaceVersionPlaceholder(copy, project)); pluginDescriptorInputs.from(pomFile, (copy) -> replaceVersionPlaceholder(copy, project));
pluginDescriptorInputs.from(sourceSet.getOutput().getClassesDirs(), (sync) -> sync.into("target/classes")); pluginDescriptorInputs.from(sourceSet.getOutput().getClassesDirs(), (sync) -> sync.into("target/classes"));
pluginDescriptorInputs.from(sourceSet.getAllJava().getSrcDirs(), (sync) -> sync.into("src/main/java")); pluginDescriptorInputs.from(sourceSet.getAllJava().getSrcDirs(), (sync) -> sync.into("src/main/java"));
pluginDescriptorInputs.getInputs().property("version", project.getVersion());
return pluginDescriptorInputs; return pluginDescriptorInputs;
} }

Loading…
Cancel
Save