cancel
Showing results for 
Search instead for 
Did you mean: 

Run Activiti from sources

dchecke
Champ in-the-making
Champ in-the-making
Hi community, I try to run activiti from sources(github), and found here, that need to do
mvn clean install
.

I did it and get message:

[INFO] Activiti …………………………………… SUCCESS [0.723s]
[INFO] Activiti - BPMN Model ……………………….. SUCCESS [1.140s]
[INFO] Activiti - Process Validation ………………… SUCCESS [0.092s]
[INFO] Activiti - BPMN Layout ………………………. SUCCESS [0.082s]
[INFO] Activiti - Image Generator …………………… SUCCESS [0.069s]
[INFO] Activiti - BPMN Converter ……………………. SUCCESS [0.181s]
[INFO] Activiti - Engine …………………………… SUCCESS [1.468s]
[INFO] ————————————————————————
[INFO] BUILD SUCCESS


But how run application after that? use mvn exec? In this case what is the main class?
mvn exec:java -Dexec.mainClass="module.Main"


Please help - how to start application after mvn clean install?

Thanks a lot for help
11 REPLIES 11

Thank you for a help. I tired to do that, but get errors:

<code>
T E S T S                                                                                                                                                   ——————————————————-                                                                                                      Running org.activiti.osgi.blueprint.BlueprintBasicTest                                                                                                       Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 35.703 sec <<< FAILURE!                                                                                                                                                                                                                                   Results :                                                                                                                                                                                                                                                                                                                 Tests in error:                                                                                                                                                exportedServices(org.activiti.osgi.blueprint.BlueprintBasicTest)                                                                                             exportJavaDelegate(org.activiti.osgi.blueprint.BlueprintBasicTest)                                                                                                                                                                                                                                                      Tests run: 2, Failures: 0, Errors: 2, Skipped: 0                                                                                                                                                                                                                                                                          [INFO] ————————————————————————                                                                              [INFO] Reactor Summary:                                                                                                                                      [INFO]                                                                                                                                                       [INFO] Activiti ……………………………………. SUCCESS [  1.715 s]                                                                              [INFO] Activiti - BPMN Model ………………………… SUCCESS [ 10.779 s]                                                                              [INFO] Activiti - Process Validation …………………. SUCCESS [  5.779 s]                                                                              [INFO] Activiti - BPMN Layout ……………………….. SUCCESS [  3.270 s]                                                                              [INFO] Activiti - Image Generator ……………………. SUCCESS [  4.518 s]                                                                              [INFO] Activiti - BPMN Converter …………………….. SUCCESS [ 13.501 s]                                                                              [INFO] Activiti - Engine ……………………………. SUCCESS [08:32 min]                                                                              [INFO] Activiti - JSON Converter …………………….. SUCCESS [ 18.966 s]                                                                              [INFO] Activiti - Secure Scripting …………………… SUCCESS [ 24.158 s]                                                                              [INFO] Activiti - Simple Workflow ……………………. SUCCESS [ 19.828 s]                                                                              [INFO] Activiti - Spring ……………………………. SUCCESS [01:24 min]                                                                              [INFO] Activiti - REST - Common ……………………… SUCCESS [  4.909 s]                                                                              [INFO] Activiti - Rest - Classes …………………….. SUCCESS [02:30 min]                                                                              [INFO] activiti-spring-boot …………………………. SUCCESS [  1.849 s]                                                                              [INFO] activiti-spring-boot-starters …………………. SUCCESS [  0.361 s]                                                                              [INFO] activiti-spring-boot-starter-basic …………….. SUCCESS [01:48 min]                                                                              [INFO] activiti-spring-boot-starter-rest-api ………….. SUCCESS [  0.536 s]                                                                              [INFO] activiti-spring-boot-starter-integration ……….. SUCCESS [ 51.872 s]                                                                              [INFO] activiti-spring-boot-starter-actuator ………….. SUCCESS [  0.588 s]                                                                              [INFO] activiti-spring-boot-starter-security ………….. SUCCESS [  0.566 s]                                                                              [INFO] activiti-spring-boot-starter-jpa ………………. SUCCESS [  0.611 s]                                                                              [INFO] activiti-spring-boot-samples ………………….. SUCCESS [  0.080 s]                                                                              [INFO] spring-boot-sample-basic ……………………… SUCCESS [ 12.737 s]                                                                              [INFO] spring-boot-sample-jpa ……………………….. SUCCESS [ 23.894 s]                                                                              [INFO] spring-boot-sample-security …………………… SUCCESS [  0.372 s]                                                                              [INFO] spring-boot-sample-rest-api …………………… SUCCESS [ 19.913 s]                                                                              [INFO] spring-boot-sample-rest-api-security …………… SUCCESS [ 16.803 s]                                                                              [INFO] spring-boot-sample-actuator …………………… SUCCESS [  8.763 s]                                                                              [INFO] spring-boot-sample-integration ………………… SUCCESS [ 18.103 s]                                                                              [INFO] spring-boot-sample-custom-mybatis-mapper ……….. SUCCESS [ 10.755 s]                                                                              [INFO] Activiti - Modeler …………………………… SUCCESS [02:14 min]                                                                              [INFO] Activiti - Diagram - REST …………………….. SUCCESS [  3.475 s]                                                                              [INFO] Activiti - CrystalBall ……………………….. SUCCESS [ 29.996 s]                                                                              [INFO] Activiti - Explorer ………………………….. SUCCESS [01:47 min]                                                                              [INFO] Activiti - Rest ……………………………… SUCCESS [ 18.800 s]                                                                              [INFO] Activiti - Webapp - Explorer V2 ……………….. SUCCESS [ 33.840 s]                                                                              [INFO] Activiti - Cxf ………………………………. SUCCESS [01:37 min]                                                                              [INFO] Activiti - OSGi ……………………………… FAILURE [01:51 min]                                                                              [INFO] Activiti - Camel …………………………….. SKIPPED                                                                                          [INFO] Activiti - Mule ……………………………… SKIPPED                                                                                          [INFO] Activiti - Cdi ………………………………. SKIPPED                                                                                          [INFO] Activiti - LDAP ……………………………… SKIPPED                                                                                          [INFO] Activiti - JMX ………………………………. SKIPPED                                                                                          [INFO] activiti-archetype-unittest …………………… SKIPPED                                                                                          [INFO] ————————————————————————                                                                              [INFO] BUILD FAILURE                                                                                                                                         [INFO] ————————————————————————                                                                              [INFO] Total time: 27:50 min                                                                                                                                 [INFO] Finished at: 2016-07-18T15:20:15+03:00                                                                                                                [INFO] Final Memory: 402M/1325M                                             
</code>

How I can fix that?
I use version from git - nothing changes

Finally, I did it!!!
But your command work only in modules/activiti-engine2, I mean only in this directory compiling in .war, in other directories only in .jar.
One more time - thanks you for help… First step was not easy Smiley Happy