Merge branch 'master' of https://github.com/eugenp/tutorials into BAEL-9696

This commit is contained in:
amit2103 2018-10-21 18:39:55 +05:30
commit 2eefb41ecd
12 changed files with 30 additions and 16 deletions

View File

@ -17,7 +17,7 @@
<dependency> <dependency>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-dependencies</artifactId> <artifactId>spring-boot-dependencies</artifactId>
<version>1.5.16.RELEASE</version> <version>${spring-boot.version}</version>
<type>pom</type> <type>pom</type>
<scope>import</scope> <scope>import</scope>
</dependency> </dependency>
@ -42,7 +42,7 @@
<plugin> <plugin>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId> <artifactId>spring-boot-maven-plugin</artifactId>
<version>1.5.15.RELEASE</version> <version>${spring-boot.version}</version>
</plugin> </plugin>
</plugins> </plugins>
</pluginManagement> </pluginManagement>
@ -50,6 +50,7 @@
<properties> <properties>
<rest-assured.version>3.1.0</rest-assured.version> <rest-assured.version>3.1.0</rest-assured.version>
<spring-boot.version>1.5.16.RELEASE</spring-boot.version>
</properties> </properties>
</project> </project>

View File

@ -42,8 +42,20 @@
</dependency> </dependency>
</dependencies> </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> <properties>
<start-class>com.example.activitiwithspring.ActivitiWithSpringApplication</start-class>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<activiti.version>6.0.0</activiti.version> <activiti.version>6.0.0</activiti.version>

View File

@ -1,4 +1,4 @@
package com.example.activitiwithspring; package com.baeldung.activitiwithspring;
import org.activiti.engine.RuntimeService; import org.activiti.engine.RuntimeService;
import org.activiti.engine.TaskService; import org.activiti.engine.TaskService;

View File

@ -1,4 +1,4 @@
package com.example.activitiwithspring; package com.baeldung.activitiwithspring;
import org.springframework.boot.SpringApplication; import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.autoconfigure.SpringBootApplication;

View File

@ -1,4 +1,4 @@
package com.example.activitiwithspring; package com.baeldung.activitiwithspring;
class TaskRepresentation { class TaskRepresentation {

View File

@ -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.DelegateExecution;
import org.activiti.engine.delegate.JavaDelegate; import org.activiti.engine.delegate.JavaDelegate;

View File

@ -1,11 +1,11 @@
package org.baeldung; package com.baeldung;
import org.junit.Test; import org.junit.Test;
import org.junit.runner.RunWith; import org.junit.runner.RunWith;
import org.springframework.boot.test.context.SpringBootTest; import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner; import org.springframework.test.context.junit4.SpringRunner;
import com.example.activitiwithspring.ActivitiWithSpringApplication; import com.baeldung.activitiwithspring.ActivitiWithSpringApplication;
@RunWith(SpringRunner.class) @RunWith(SpringRunner.class)
@SpringBootTest(classes = ActivitiWithSpringApplication.class) @SpringBootTest(classes = ActivitiWithSpringApplication.class)

View File

@ -1,5 +1,6 @@
package com.example.activitiwithspring; package com.baeldung.activitiwithspring;
import com.baeldung.activitiwithspring.TaskRepresentation;
import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.databind.ObjectMapper;
import org.activiti.engine.RuntimeService; import org.activiti.engine.RuntimeService;
import org.activiti.engine.runtime.ProcessInstance; import org.activiti.engine.runtime.ProcessInstance;

View File

@ -1,4 +1,4 @@
package com.example.activitiwithspring; package com.baeldung.activitiwithspring;
import org.activiti.engine.IdentityService; import org.activiti.engine.IdentityService;
import org.junit.Test; import org.junit.Test;

View File

@ -1,4 +1,4 @@
package com.example.activitiwithspring; package com.baeldung.activitiwithspring;
import org.junit.Test; import org.junit.Test;
import org.junit.runner.RunWith; import org.junit.runner.RunWith;

View File

@ -1,4 +1,4 @@
package com.example.activitiwithspring; package com.baeldung.activitiwithspring;
import org.activiti.engine.ProcessEngine; import org.activiti.engine.ProcessEngine;
import org.activiti.engine.ProcessEngineConfiguration; import org.activiti.engine.ProcessEngineConfiguration;

View File

@ -1,4 +1,4 @@
package com.example.activitiwithspring; package com.baeldung.activitiwithspring;
import org.activiti.engine.ActivitiException; import org.activiti.engine.ActivitiException;