diff --git a/.travis.yml b/.travis.yml index 0fb948de8..87cb20673 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,26 +11,24 @@ matrix: fast_finish: true include: - jdk: oraclejdk8 - env: + env: - DESC="Oracle JDK8 linting" - - CMD="mvn verify -B -Dhttps.protocols=TLSv1.2 -DskipTests -Dlog4j.configuration=log4j2.travis.properties" + - CMD="mvn verify -B -Dhttps.protocols=TLSv1.2 -DskipTests -Dlog4j.configuration=log4j.travis.properties" - jdk: oraclejdk8 - env: + env: - DESC="Oracle JDK8 testing" - - CMD="mvn test -B -Dhttps.protocols=TLSv1.2 -Dcheckstyle.skip=true -Dlog4j.configurationFile=log4j2.travis.properties" + - CMD="mvn test -B -Dhttps.protocols=TLSv1.2 -Dcheckstyle.skip=true -Dlog4j.configuration=log4j.travis.properties" - jdk: oraclejdk7 - env: + env: - DESC="Oracle JDK7 testing" - - CMD="mvn test -B -Dhttps.protocols=TLSv1.2 -Dcheckstyle.skip=true -Dlog4j.configurationFile=log4j2.travis.properties" + - CMD="mvn test -B -Dhttps.protocols=TLSv1.2 -Dcheckstyle.skip=true -Dlog4j.configuration=log4j.travis.properties" - jdk: openjdk7 - env: + env: - DESC="OpenJDK7 testing" - - CMD="mvn test -B -Dhttps.protocols=TLSv1.2 -Dcheckstyle.skip=true -Dlog4j.configurationFile=log4j2.travis.properties" + - CMD="mvn test -B -Dhttps.protocols=TLSv1.2 -Dcheckstyle.skip=true -Dlog4j.configuration=log4j.travis.properties" -script: echo "Running $DESC..." && (eval $CMD) +script: echo "Running $DESC..." && (eval $CMD) -after_failure: - - for log in target/surefire-reports/*.txt; do echo "$log ========================" ; cat $log ; done diff --git a/README.md b/README.md index 523241823..9dc139088 100644 --- a/README.md +++ b/README.md @@ -41,11 +41,6 @@ mvn checkstyle::check `Checkstyle` analysis is automatically executed prior to compiling the code, testing. -# Generated code - -JMXFetch uses [Lombok](https://projectlombok.org/) to modify classes and generate additional code at runtime. -You may need to [enable annotation processors](https://projectlombok.org/setup/overview) to compile in your IDE. - # Testing To run unit test, issue the following command: diff --git a/log4j.travis.properties b/log4j.travis.properties new file mode 100644 index 000000000..0641702ac --- /dev/null +++ b/log4j.travis.properties @@ -0,0 +1,8 @@ +log4j.rootLogger=INFO,stdout +log4j.logger.com.endeca=INFO +# Logger for crawl metrics +log4j.logger.com.endeca.itl.web.metrics=INFO + +log4j.appender.stdout=org.apache.log4j.ConsoleAppender +log4j.appender.stdout.layout=org.apache.log4j.PatternLayout +log4j.appender.stdout.layout.ConversionPattern=%p\t%d{ISO8601}\t%r\t%c\t[%t]\t%m%n diff --git a/log4j2.travis.properties b/log4j2.travis.properties deleted file mode 100644 index 3c926875d..000000000 --- a/log4j2.travis.properties +++ /dev/null @@ -1,9 +0,0 @@ -rootLogger.level = info -rootLogger.appenderRef.stdout.ref = CONSOLE - -appender.console.type = Console -appender.console.name = CONSOLE -appender.console.layout.type = PatternLayout -appender.console.layout.pattern = %p\t%d{ISO8601}\t%r\t%c\t[%t]\t%m%n -appender.console.filter.threshold.type = ThresholdFilter -appender.console.filter.threshold.level = info diff --git a/pom.xml b/pom.xml index c7e7a5600..ff7bb7ea3 100644 --- a/pom.xml +++ b/pom.xml @@ -41,9 +41,7 @@ 27.1-android 2.1.0 1.35 - - 2.12.1 - 1.7.26 + 1.2.17 2.10.0 1.13