ACCUMULO-4652 Fix SLF4J error in build Ensure log4j-slf4j is on the classpath for the exec-maven-plugin execution of the ConfigurationDocGen during the build.
Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/15b9c3ee Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/15b9c3ee Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/15b9c3ee Branch: refs/heads/master Commit: 15b9c3eec1160ea3a121f157532151df0d2135f2 Parents: 20ba43a Author: Christopher Tubbs <ctubb...@apache.org> Authored: Mon Jun 12 18:05:37 2017 -0400 Committer: Christopher Tubbs <ctubb...@apache.org> Committed: Mon Jun 12 18:05:37 2017 -0400 ---------------------------------------------------------------------- core/pom.xml | 6 +++--- pom.xml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/accumulo/blob/15b9c3ee/core/pom.xml ---------------------------------------------------------------------- diff --git a/core/pom.xml b/core/pom.xml index 96510f5..8b32bef 100644 --- a/core/pom.xml +++ b/core/pom.xml @@ -268,7 +268,7 @@ <goals> <goal>exec</goal> </goals> - <phase>compile</phase> + <phase>prepare-package</phase> <configuration> <executable>mkdir</executable> <arguments> @@ -282,10 +282,10 @@ <goals> <goal>java</goal> </goals> - <phase>compile</phase> + <phase>package</phase> <configuration> <mainClass>org.apache.accumulo.core.conf.ConfigurationDocGen</mainClass> - <classpathScope>compile</classpathScope> + <classpathScope>test</classpathScope> <arguments> <argument>--generate-markdown</argument> <argument>${project.build.directory}/generated-docs/configuration-properties.md</argument> http://git-wip-us.apache.org/repos/asf/accumulo/blob/15b9c3ee/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index 69b4e77..89f6b26 100644 --- a/pom.xml +++ b/pom.xml @@ -758,7 +758,7 @@ <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>exec-maven-plugin</artifactId> - <version>1.4.0</version> + <version>1.5.0</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId>