Update pom and make batch project can be compile
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
package com.ossez.spring.batch;
|
||||
|
||||
import org.baeldung.batch.model.Transaction;
|
||||
import org.baeldung.batch.service.CustomItemProcessor;
|
||||
import org.baeldung.batch.service.CustomSkipPolicy;
|
||||
import org.baeldung.batch.service.MissingUsernameException;
|
||||
import org.baeldung.batch.service.NegativeAmountException;
|
||||
import org.baeldung.batch.service.RecordFieldSetMapper;
|
||||
import org.baeldung.batch.service.SkippingItemProcessor;
|
||||
import com.ossez.spring.batch.model.Transaction;
|
||||
import com.ossez.spring.batch.service.CustomItemProcessor;
|
||||
import com.ossez.spring.batch.service.CustomSkipPolicy;
|
||||
import com.ossez.spring.batch.service.MissingUsernameException;
|
||||
import com.ossez.spring.batch.service.NegativeAmountException;
|
||||
import com.ossez.spring.batch.service.RecordFieldSetMapper;
|
||||
import com.ossez.spring.batch.service.SkippingItemProcessor;
|
||||
import org.springframework.batch.core.Job;
|
||||
import org.springframework.batch.core.Step;
|
||||
import org.springframework.batch.core.configuration.annotation.JobBuilderFactory;
|
||||
|
||||
@@ -1,8 +1,7 @@
|
||||
package org.baeldung.batch.model;
|
||||
|
||||
import java.util.Date;
|
||||
package com.ossez.spring.batch.model;
|
||||
|
||||
import javax.xml.bind.annotation.XmlRootElement;
|
||||
import java.util.Date;
|
||||
|
||||
@SuppressWarnings("restriction")
|
||||
@XmlRootElement(name = "transactionRecord")
|
||||
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
package com.ossez.spring.batch.partitioner;
|
||||
|
||||
import org.baeldung.batch.model.Transaction;
|
||||
import org.baeldung.batch.service.RecordFieldSetMapper;
|
||||
import com.ossez.spring.batch.model.Transaction;
|
||||
import com.ossez.spring.batch.service.RecordFieldSetMapper;
|
||||
import org.springframework.batch.core.Job;
|
||||
import org.springframework.batch.core.Step;
|
||||
import org.springframework.batch.core.configuration.annotation.EnableBatchProcessing;
|
||||
|
||||
@@ -3,7 +3,7 @@ package com.ossez.spring.batch.service;
|
||||
import java.text.ParseException;
|
||||
import java.text.SimpleDateFormat;
|
||||
|
||||
import org.baeldung.batch.model.Transaction;
|
||||
import com.ossez.spring.batch.model.Transaction;
|
||||
import org.springframework.batch.item.file.mapping.FieldSetMapper;
|
||||
import org.springframework.batch.item.file.transform.FieldSet;
|
||||
import org.springframework.validation.BindException;
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
package com.ossez.spring.batch.service;
|
||||
|
||||
import org.baeldung.batch.model.Transaction;
|
||||
import com.ossez.spring.batch.model.Transaction;
|
||||
import org.springframework.batch.item.ItemProcessor;
|
||||
|
||||
public class SkippingItemProcessor implements ItemProcessor<Transaction, Transaction> {
|
||||
|
||||
Reference in New Issue
Block a user