fix main class of activiti boot
This commit is contained in:
parent
d8d58d8d90
commit
5bfec51157
|
@ -41,9 +41,21 @@
|
|||
<scope>test</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-maven-plugin</artifactId>
|
||||
<version>${spring-boot.version}</version>
|
||||
<configuration>
|
||||
<mainClass>com.baeldung.activitiwithspring.ActivitiWithSpringApplication</mainClass>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
<properties>
|
||||
<start-class>com.example.activitiwithspring.ActivitiWithSpringApplication</start-class>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
||||
<activiti.version>6.0.0</activiti.version>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package com.example.activitiwithspring;
|
||||
package com.baeldung.activitiwithspring;
|
||||
|
||||
import org.activiti.engine.RuntimeService;
|
||||
import org.activiti.engine.TaskService;
|
|
@ -1,4 +1,4 @@
|
|||
package com.example.activitiwithspring;
|
||||
package com.baeldung.activitiwithspring;
|
||||
|
||||
import org.springframework.boot.SpringApplication;
|
||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
|
@ -1,4 +1,4 @@
|
|||
package com.example.activitiwithspring;
|
||||
package com.baeldung.activitiwithspring;
|
||||
|
||||
class TaskRepresentation {
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package com.example.activitiwithspring.servicetasks;
|
||||
package com.baeldung.activitiwithspring.servicetasks;
|
||||
|
||||
import org.activiti.engine.delegate.DelegateExecution;
|
||||
import org.activiti.engine.delegate.JavaDelegate;
|
|
@ -1,11 +1,11 @@
|
|||
package org.baeldung;
|
||||
package com.baeldung;
|
||||
|
||||
import org.junit.Test;
|
||||
import org.junit.runner.RunWith;
|
||||
import org.springframework.boot.test.context.SpringBootTest;
|
||||
import org.springframework.test.context.junit4.SpringRunner;
|
||||
|
||||
import com.example.activitiwithspring.ActivitiWithSpringApplication;
|
||||
import com.baeldung.activitiwithspring.ActivitiWithSpringApplication;
|
||||
|
||||
@RunWith(SpringRunner.class)
|
||||
@SpringBootTest(classes = ActivitiWithSpringApplication.class)
|
|
@ -1,5 +1,6 @@
|
|||
package com.example.activitiwithspring;
|
||||
package com.baeldung.activitiwithspring;
|
||||
|
||||
import com.baeldung.activitiwithspring.TaskRepresentation;
|
||||
import com.fasterxml.jackson.databind.ObjectMapper;
|
||||
import org.activiti.engine.RuntimeService;
|
||||
import org.activiti.engine.runtime.ProcessInstance;
|
|
@ -1,4 +1,4 @@
|
|||
package com.example.activitiwithspring;
|
||||
package com.baeldung.activitiwithspring;
|
||||
|
||||
import org.activiti.engine.IdentityService;
|
||||
import org.junit.Test;
|
|
@ -1,4 +1,4 @@
|
|||
package com.example.activitiwithspring;
|
||||
package com.baeldung.activitiwithspring;
|
||||
|
||||
import org.junit.Test;
|
||||
import org.junit.runner.RunWith;
|
|
@ -1,4 +1,4 @@
|
|||
package com.example.activitiwithspring;
|
||||
package com.baeldung.activitiwithspring;
|
||||
|
||||
import org.activiti.engine.ProcessEngine;
|
||||
import org.activiti.engine.ProcessEngineConfiguration;
|
|
@ -1,4 +1,4 @@
|
|||
package com.example.activitiwithspring;
|
||||
package com.baeldung.activitiwithspring;
|
||||
|
||||
|
||||
import org.activiti.engine.ActivitiException;
|
Loading…
Reference in New Issue