CAMEL-4817 fixed some log issue of camel-gora
Project: http://git-wip-us.apache.org/repos/asf/camel/repo Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/4e7783b1 Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/4e7783b1 Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/4e7783b1 Branch: refs/heads/camel-gora Commit: 4e7783b10bcd2c8f11a6abd713cbe881b6179761 Parents: 84b8099 Author: Willem Jiang <willem.ji...@gmail.com> Authored: Tue Nov 19 15:09:15 2013 +0800 Committer: Willem Jiang <willem.ji...@gmail.com> Committed: Mon Dec 9 10:07:08 2013 +0800 ---------------------------------------------------------------------- components/camel-gora/pom.xml | 50 ++++++++++++-------------------------- 1 file changed, 16 insertions(+), 34 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/camel/blob/4e7783b1/components/camel-gora/pom.xml ---------------------------------------------------------------------- diff --git a/components/camel-gora/pom.xml b/components/camel-gora/pom.xml index 0f9aef1..e05920e 100644 --- a/components/camel-gora/pom.xml +++ b/components/camel-gora/pom.xml @@ -35,14 +35,6 @@ </description> <properties> - <!-- - General - --> - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> - - <!-- - OSGi - --> <camel.osgi.export.pkg> org.apache.camel.component.gora.* </camel.osgi.export.pkg> @@ -73,32 +65,29 @@ <commons-beanutils.version>1.8.3</commons-beanutils.version> </properties> - + <build> - <defaultGoal>install</defaultGoal> - <resources> - <resource> - <directory>src/main/resources</directory> - <filtering>true</filtering> - </resource> - </resources> - <testResources> - <testResource> - <directory>src/test/resources</directory> - <filtering>true</filtering> - </testResource> - </testResources> + <plugins> + <plugin> + <artifactId>maven-surefire-plugin</artifactId> + <configuration> + <systemPropertyVariables> + <org.slf4j.simpleLogger.defaultLogLevel> + warn + </org.slf4j.simpleLogger.defaultLogLevel> + </systemPropertyVariables> + </configuration> + </plugin> + </plugins> </build> - + <dependencies> <!-- logging --> <dependency> - <groupId>log4j</groupId> - <artifactId>log4j</artifactId> - </dependency> - <dependency> + <!-- Using slf4j-log4j-12 will get some warning --> <groupId>org.slf4j</groupId> <artifactId>slf4j-simple</artifactId> + <scope>test</scope> </dependency> <!-- testing --> @@ -198,11 +187,4 @@ </dependency> </dependencies> - <licenses> - <license> - <name>Apache 2.0 License</name> - <url>http://www.apache.org/licenses/LICENSE-2.0</url> - </license> - </licenses> - </project>