Build #163

Build plan for MS Windows

Build: #163 failed

Job: Default Job failed

Stages & jobs

  1. Default Stage

Job result summary

Completed
Duration
31 seconds
Agent
bamboo-2k16-02
Revision
33f04a943576185c01da1b6c279627230a6b4248 33f04a943576185c01da1b6c279627230a6b4248
Failing since
#157 (Code changes detected – )
Fixed in
#177 (Code changes detected)
No failed tests found, a possible compilation error occurred.

Error summary

The build generated some errors. See the full build log for more details.

Could not find test result reports in the C:\opt\bamboo-home\xml-data\build-dir\BATCH-BATCHWIN-JOB1 directory.
C:\opt\bamboo-home\xml-data\build-dir\BATCH-BATCHWIN-JOB1\spring-batch-infrastructure\src\main\java\org\springframework\batch\item\data\MongoItemReader.java:26: warning: [deprecation] JSON in com.mongodb.util has been deprecated
import com.mongodb.util.JSON;
                       ^
C:\opt\bamboo-home\xml-data\build-dir\BATCH-BATCHWIN-JOB1\spring-batch-infrastructure\src\main\java\org\springframework\batch\item\database\HibernateItemReaderHelper.java:23: warning: [deprecation] Query in org.hibernate has been deprecated
import org.hibernate.Query;
                    ^
C:\opt\bamboo-home\xml-data\build-dir\BATCH-BATCHWIN-JOB1\spring-batch-infrastructure\src\main\java\org\springframework\batch\item\data\MongoItemReader.java:207: warning: [deprecation] withHint(String) in Query has been deprecated
                                mongoQuery.withHint(hint);
                                          ^
C:\opt\bamboo-home\xml-data\build-dir\BATCH-BATCHWIN-JOB1\spring-batch-infrastructure\src\main\java\org\springframework\batch\item\data\MongoItemReader.java:264: warning: [deprecation] JSON in com.mongodb.util has been deprecated
                return JSON.serialize(values.get(index));
                       ^
C:\opt\bamboo-home\xml-data\build-dir\BATCH-BATCHWIN-JOB1\spring-batch-infrastructure\src\main\java\org\springframework\batch\item\data\builder\RepositoryItemWriterBuilder.java:43: warning: [rawtypes] found raw type: RepositoryMethodReference
        private RepositoryMethodReference repositoryMethodReference;
                ^
  missing type arguments for generic class RepositoryMethodReference<T>
  where T is a type-variable:
    T extends Object declared in class RepositoryMethodReference
C:\opt\bamboo-home\xml-data\build-dir\BATCH-BATCHWIN-JOB1\spring-batch-infrastructure\src\main\java\org\springframework\batch\item\data\builder\RepositoryItemWriterBuilder.java:90: warning: [rawtypes] found raw type: RepositoryMethodReference
        public RepositoryItemWriterBuilder<T> repository(RepositoryItemWriterBuilder.RepositoryMethodReference repositoryMethodReference) {
                                                                                    ^
  missing type arguments for generic class RepositoryMethodReference<T>
  where T is a type-variable:
    T extends Object declared in class RepositoryMethodReference
C:\opt\bamboo-home\xml-data\build-dir\BATCH-BATCHWIN-JOB1\spring-batch-infrastructure\src\main\java\org\springframework\batch\item\data\builder\RepositoryItemWriterBuilder.java:104: warning: [unchecked] unchecked conversion
                        this.repository = this.repositoryMethodReference.getRepository();
                                                                                      ^
  required: CrudRepository<T,?>
  found:    CrudRepository
  where T is a type-variable:
    T extends Object declared in class RepositoryItemWriterBuilder
C:\opt\bamboo-home\xml-data\build-dir\BATCH-BATCHWIN-JOB1\spring-batch-infrastructure\src\main\java\org\springframework\batch\item\database\HibernateItemReaderHelper.java:123: warning: [deprecation] Query in org.hibernate has been deprecated
                Query query = createQuery();
                ^
C:\opt\bamboo-home\xml-data\build-dir\BATCH-BATCHWIN-JOB1\spring-batch-infrastructure\src\main\java\org\springframework\batch\item\database\HibernateItemReaderHelper.java:135: warning: [deprecation] Query in org.hibernate has been deprecated
        public Query createQuery() {
               ^
C:\opt\bamboo-home\xml-data\build-dir\BATCH-BATCHWIN-JOB1\spring-batch-infrastructure\src\main\java\org\springframework\batch\item\database\HibernateItemReaderHelper.java:222: warning: [deprecation] Query in org.hibernate has been deprecated
                Query query = createQuery();
                ^
C:\opt\bamboo-home\xml-data\build-dir\BATCH-BATCHWIN-JOB1\spring-batch-infrastructure\src\main\java\org\springframework\batch\item\kafka\KafkaItemReader.java:151: warning: [unchecked] unchecked cast
                        Map<TopicPartition, Long> offsets = (Map<TopicPartition, Long>) executionContext.get(TOPIC_PARTITION_OFFSETS);
                                                                                                            ^
  required: Map<TopicPartition,Long>
  found:    Object
11 warnings
C:\opt\bamboo-home\xml-data\build-dir\BATCH-BATCHWIN-JOB1\spring-batch-core\src\main\java\org\springframework\batch\core\configuration\support\AbstractApplicationContextFactory.java:34: warning: [deprecation] PropertyPlaceholderConfigurer in org.springframework.beans.factory.config has been deprecated
import org.springframework.beans.factory.config.PropertyPlaceholderConfigurer;
                                               ^
C:\opt\bamboo-home\xml-data\build-dir\BATCH-BATCHWIN-JOB1\spring-batch-core\src\main\java\org\springframework\batch\core\configuration\support\ClasspathXmlApplicationContextsFactoryBean.java:27: warning: [deprecation] PropertyPlaceholderConfigurer in org.springframework.beans.factory.config has been deprecated
import org.springframework.beans.factory.config.PropertyPlaceholderConfigurer;
                                               ^
C:\opt\bamboo-home\xml-data\build-dir\BATCH-BATCHWIN-JOB1\spring-batch-core\src\main\java\org\springframework\batch\core\step\builder\SimpleStepBuilder.java:232: warning: [overloads] processor(ItemProcessor<? super I,? extends O>) in SimpleStepBuilder is potentially ambiguous with processor(Function<? super I,? extends O>) in SimpleStepBuilder
        public SimpleStepBuilder<I, O> processor(ItemProcessor<? super I, ? extends O> processor) {
                                       ^
  where I,O are type-variables:
    I extends Object declared in class SimpleStepBuilder
    O extends Object declared in class SimpleStepBuilder
C:\opt\bamboo-home\xml-data\build-dir\BATCH-BATCHWIN-JOB1\spring-batch-core\src\main\java\org\springframework\batch\core\configuration\support\AbstractApplicationContextFactory.java:75: warning: [deprecation] PropertyPlaceholderConfigurer in org.springframework.beans.factory.config has been deprecated
                beanFactoryPostProcessorClasses.add(PropertyPlaceholderConfigurer.class);
                                                    ^
C:\opt\bamboo-home\xml-data\build-dir\BATCH-BATCHWIN-JOB1\spring-batch-core\src\main\java\org\springframework\batch\core\jsr\configuration\support\SpringAutowiredAnnotationBeanPostProcessor.java:264: warning: [deprecation] postProcessPropertyValues(PropertyValues,PropertyDescriptor[],Object,String) in InstantiationAwareBeanPostProcessorAdapter has been deprecated
    public PropertyValues postProcessPropertyValues(
                          ^
C:\opt\bamboo-home\xml-data\build-dir\BATCH-BATCHWIN-JOB1\spring-batch-core\src\main\java\org\springframework\batch\core\jsr\configuration\support\SpringAutowiredAnnotationBeanPostProcessor.java:543: warning: [deprecation] resolveParameterType(MethodParameter,Class<?>) in GenericTypeResolver has been deprecated
                        GenericTypeResolver.resolveParameterType(methodParam, bean.getClass());
                                           ^
C:\opt\bamboo-home\xml-data\build-dir\BATCH-BATCHWIN-JOB1\spring-batch-core\src\main\java\org\springframework\batch\core\repository\dao\Jackson2ExecutionContextStringSerializer.java:58: warning: [deprecation] enableDefaultTyping() in ObjectMapper has been deprecated
        this.objectMapper.enableDefaultTyping();
                         ^
7 warnings
C:\opt\bamboo-home\xml-data\build-dir\BATCH-BATCHWIN-JOB1\spring-batch-infrastructure\src\main\java\org\springframework\batch\item\avro\builder\AvroItemReaderBuilder.java:104: warning: no @return
        public AvroItemReaderBuilder<T> embeddedSchema(boolean embeddedSchema) {
                                        ^

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':makePDF'.
> Error running Asciidoctor

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 29s