cancel
Showing results for 
Search instead for 
Did you mean: 

Help with building the Activiti source

ani123
Champ in-the-making
Champ in-the-making
Hello
  I imported all the activity modules in eclipse.
I am trying to build the "activiti-webapp-explorer2" module.

When I run the "deploy" target , it tries to dowload the dependencies, but the buid fails. What is surprising is that , it seems to be downloading all required dependencies from the repositories.  But for some reason it says it cannot find them

May be I am doing something wrong here. Any help is appreciated

Thanks

The log output is shown below


Building Activiti - Webapp - Explorer V2 5.18.0-SNAPSHOT
[INFO] ————————————————————————
[INFO] Downloading: https://oss.sonatype.org/content/repositories/snapshots/org/activiti/activiti-engine/5.18.0-SNAPSHOT...
[INFO] Downloading: http://maven.vaadin.com/vaadin-addons/org/activiti/activiti-engine/5.18.0-SNAPSHOT/maven-metadata.xm...
[INFO] Downloading: http://maven.vaadin.com/vaadin-addons/org/activiti/activiti-engine/5.18.0-SNAPSHOT/activiti-engine-5...
[INFO] Downloading: https://oss.sonatype.org/content/repositories/snapshots/org/activiti/activiti-engine/5.18.0-SNAPSHOT...

[WARNING] The POM for org.activiti:activiti-engine:jar:5.18.0-SNAPSHOT is missing, no dependency information available

[INFO] Downloading: https://oss.sonatype.org/content/repositories/snapshots/org/activiti/activiti-spring/5.18.0-SNAPSHOT...
[INFO] Downloading: http://maven.vaadin.com/vaadin-addons/org/activiti/activiti-spring/5.18.0-SNAPSHOT/maven-metadata.xm...
[INFO] Downloading: http://maven.vaadin.com/vaadin-addons/org/activiti/activiti-spring/5.18.0-SNAPSHOT/activiti-spring-5...
[INFO] Downloading: https://oss.sonatype.org/content/repositories/snapshots/org/activiti/activiti-spring/5.18.0-SNAPSHOT...

[WARNING] The POM for org.activiti:activiti-spring:jar:5.18.0-SNAPSHOT is missing, no dependency information available

[INFO] Downloading: http://maven.vaadin.com/vaadin-addons/org/activiti/activiti-explorer/5.18.0-SNAPSHOT/maven-metadata....
[INFO] Downloading: https://oss.sonatype.org/content/repositories/snapshots/org/activiti/activiti-explorer/5.18.0-SNAPSH...
[INFO] Downloading: http://maven.vaadin.com/vaadin-addons/org/activiti/activiti-explorer/5.18.0-SNAPSHOT/activiti-explor...
[INFO] Downloading: https://oss.sonatype.org/content/repositories/snapshots/org/activiti/activiti-explorer/5.18.0-SNAPSH...
[WARNING] The POM for org.activiti:activiti-explorer:jar:5.18.0-SNAPSHOT is missing, no dependency information available
[INFO] Downloading: https://oss.sonatype.org/content/repositories/snapshots/org/activiti/activiti-modeler/5.18.0-SNAPSHO...
[INFO] Downloading: http://maven.vaadin.com/vaadin-addons/org/activiti/activiti-modeler/5.18.0-SNAPSHOT/maven-metadata.x...
[INFO] Downloading: http://maven.vaadin.com/vaadin-addons/org/activiti/activiti-modeler/5.18.0-SNAPSHOT/activiti-modeler...
[INFO] Downloading: https://oss.sonatype.org/content/repositories/snapshots/org/activiti/activiti-modeler/5.18.0-SNAPSHO...
[WARNING] The POM for org.activiti:activiti-modeler:jar:5.18.0-SNAPSHOT is missing, no dependency information available
[INFO] Downloading: http://maven.vaadin.com/vaadin-addons/org/activiti/activiti-diagram-rest/5.18.0-SNAPSHOT/maven-metad...
[INFO] Downloading: https://oss.sonatype.org/content/repositories/snapshots/org/activiti/activiti-diagram-rest/5.18.0-SN...
[INFO] Downloading: http://maven.vaadin.com/vaadin-addons/org/activiti/activiti-diagram-rest/5.18.0-SNAPSHOT/activiti-di...
[INFO] Downloading: https://oss.sonatype.org/content/repositories/snapshots/org/activiti/activiti-diagram-rest/5.18.0-SN...
[WARNING] The POM for org.activiti:activiti-diagram-rest:jar:5.18.0-SNAPSHOT is missing, no dependency information available
[INFO] Downloading: http://maven.vaadin.com/vaadin-addons/org/activiti/activiti-simple-workflow/5.18.0-SNAPSHOT/maven-me...
[INFO] Downloading: https://oss.sonatype.org/content/repositories/snapshots/org/activiti/activiti-simple-workflow/5.18.0...
[INFO] Downloading: http://maven.vaadin.com/vaadin-addons/org/activiti/activiti-simple-workflow/5.18.0-SNAPSHOT/activiti...
[INFO] Downloading: https://oss.sonatype.org/content/repositories/snapshots/org/activiti/activiti-simple-workflow/5.18.0...
[WARNING] The POM for org.activiti:activiti-simple-workflow:jar:5.18.0-SNAPSHOT is missing, no dependency information available
[INFO] Downloading: http://maven.vaadin.com/vaadin-addons/org/activiti/activiti-engine/5.18.0-SNAPSHOT/activiti-engine-5...
[INFO] Downloading: http://maven.vaadin.com/vaadin-addons/org/activiti/activiti-spring/5.18.0-SNAPSHOT/activiti-spring-5...
[INFO] Downloading: http://maven.vaadin.com/vaadin-addons/org/activiti/activiti-explorer/5.18.0-SNAPSHOT/activiti-explor...
[INFO] Downloading: http://maven.vaadin.com/vaadin-addons/org/activiti/activiti-modeler/5.18.0-SNAPSHOT/activiti-modeler...
[INFO] Downloading: http://maven.vaadin.com/vaadin-addons/org/activiti/activiti-diagram-rest/5.18.0-SNAPSHOT/activiti-di...
[INFO] Downloading: http://maven.vaadin.com/vaadin-addons/org/activiti/activiti-simple-workflow/5.18.0-SNAPSHOT/activiti...
[INFO] Downloading: https://oss.sonatype.org/content/repositories/snapshots/org/activiti/activiti-engine/5.18.0-SNAPSHOT...
[INFO] Downloading: https://oss.sonatype.org/content/repositories/snapshots/org/activiti/activiti-spring/5.18.0-SNAPSHOT...
[INFO] Downloading: https://oss.sonatype.org/content/repositories/snapshots/org/activiti/activiti-explorer/5.18.0-SNAPSH...
[INFO] Downloading: https://oss.sonatype.org/content/repositories/snapshots/org/activiti/activiti-modeler/5.18.0-SNAPSHO...
[INFO] Downloading: https://oss.sonatype.org/content/repositories/snapshots/org/activiti/activiti-diagram-rest/5.18.0-SN...
[INFO] Downloading: https://oss.sonatype.org/content/repositories/snapshots/org/activiti/activiti-simple-workflow/5.18.0...
[INFO] ————————————————————————
[INFO] BUILD FAILURE
[INFO] ————————————————————————
[INFO] Total time: 24.456 s
[INFO] Finished at: 2015-06-16T15:13:23-08:00
[INFO] Final Memory: 12M/127M
[INFO] ————————————————————————
[ERROR] Failed to execute goal on project activiti-webapp-explorer2:
Could not resolve dependencies for project org.activiti:activiti-webapp-explorer2:war:5.18.0-SNAPSHOT:
The following artifacts could not be resolved:
org.activiti:activiti-engine:jar:5.18.0-SNAPSHOT,
org.activiti:activiti-spring:jar:5.18.0-SNAPSHOT,
org.activiti:activiti-explorer:jar:5.18.0-SNAPSHOT,
org.activiti:activiti-modeler:jar:5.18.0-SNAPSHOT,
org.activiti:activiti-diagram-rest:jar:5.18.0-SNAPSHOT,
  org.activiti:activiti-simple-workflow:jar:5.18.0-SNAPSHOT:
   Could not find artifact org.activiti:activiti-engine:jar:5.18.0-SNAPSHOT
       in vaadin-addons (http://maven.vaadin.com/vaadin-addons) -> [Help 1]
4 REPLIES 4

martin_grofcik
Confirmed Champ
Confirmed Champ
Hi,

Try to build whole project first to create SNAPSHOT dependencies locally

mvn clean install

Regards
Martin

prabhusejava
Champ in-the-making
Champ in-the-making
when i build the source code i am getting build failure error


Results :

Tests in error:
  testCatchErrorThrownByJavaDelegateProvidedByDelegateExpressionOnServiceTask(org.activiti.engine.test.bpmn.event.error.BoundaryErrorEventTest)
  testUncaughtErrorOnScriptTaskWithEmptyErrorEventDefinition(org.activiti.engine.test.bpmn.event.error.BoundaryErrorEventTest)
  testCatchErrorThrownByJavaDelegateOnServiceTaskWithErrorCode(org.activiti.engine.test.bpmn.event.error.BoundaryErrorEventTest)
  testCatchErrorThrownByJavaDelegateOnMultiInstanceServiceTaskSequential(org.activiti.engine.test.bpmn.event.error.BoundaryErrorEventTest)
  testUncaughtErrorThrownByJavaDelegateOnCallActivity(org.activiti.engine.test.bpmn.event.error.BoundaryErrorEventTest)
  testCatchErrorInConcurrentEmbeddedSubprocessesThrownByScriptTask(org.activiti.engine.test.bpmn.event.error.BoundaryErrorEventTest)
  testCatchErrorThrownByJavaDelegateOnServiceTaskNotCancelActivity(org.activiti.engine.test.bpmn.event.error.BoundaryErrorEventTest)
  testCatchErrorThrownByJavaDelegateOnEmbeddedSubProcessInduction(org.activiti.engine.test.bpmn.event.error.BoundaryErrorEventTest)
  testCatchErrorThrownByJavaDelegateOnMultiInstanceServiceTaskParallel(org.activiti.engine.test.bpmn.event.error.BoundaryErrorEventTest)
  testCatchErrorThrownByScriptTaskInsideSubProcessInTopLevelProcess(org.activiti.engine.test.bpmn.event.error.ErrorEventSubProcessTest)
  testThrowErrorInScriptTaskInsideCallActivitiCatchInTopLevelProcess(org.activiti.engine.test.bpmn.event.error.ErrorEventSubProcessTest)
  testCatchErrorThrownByScriptTaskInEmbeddedSubProcessWithErrorCode(org.activiti.engine.test.bpmn.event.error.ErrorEventSubProcessTest)
  testBoundaryMessageEventOnSubprocessAndInsideSubprocessMultiInstance(org.activiti.engine.test.bpmn.event.message.MessageBoundaryEventTest)
  testBoundaryMessageEventOnSubprocessAndInsideSubprocess(org.activiti.engine.test.bpmn.event.message.MessageBoundaryEventTest)
  testSingleNonInterruptingBoundaryMessageEvent(org.activiti.engine.test.bpmn.event.message.MessageNonInterruptingBoundaryEventTest)
  testSetServiceResultToProcessVariablesWithSkipExpression(org.activiti.examples.bpmn.servicetask.MethodExpressionServiceTaskTest)
  testProcessDefinitionListenerDefinitionEntities(org.activiti.standalone.event.ProcessDefinitionScopedEventListenerDefinitionTest)

Tests run: 1584, Failures: 0, Errors: 17, Skipped: 0

[INFO] ————————————————————————
[INFO] Reactor Summary:
[INFO]
[INFO] Activiti ……………………………………. SUCCESS [ 13.544 s]
[INFO] Activiti - BPMN Model ………………………… SUCCESS [ 12.013 s]
[INFO] Activiti - Process Validation …………………. SUCCESS [  1.658 s]
[INFO] Activiti - BPMN Layout ……………………….. SUCCESS [  1.313 s]
[INFO] Activiti - Image Generator ……………………. SUCCESS [  1.434 s]
[INFO] Activiti - BPMN Converter …………………….. SUCCESS [ 28.019 s]
[INFO] Activiti - Engine ……………………………. FAILURE [06:45 min]
[INFO] ————————————————————————
[INFO] BUILD FAILURE
[INFO] ————————————————————————
[INFO] Total time: 07:48 min
[INFO] Finished at: 2016-01-27T15:43:53+05:30
[INFO] Final Memory: 52M/314M
[INFO] ————————————————————————
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.7.1:test (default-test) on project activiti-engine: There are test failures.
[ERROR]
[ERROR] Please refer to C:\BPM\Activiti-activiti-5.18.0\modules\activiti-engine\target\surefire-reports for the individual test results.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :activiti-engine



Any one can please help….

martin_grofcik
Confirmed Champ
Confirmed Champ
Hi,

any stack trace?

Regards
Martin

rcalandrella
Champ in-the-making
Champ in-the-making
Hi,

try to build skipping tests (mvn clean install -DskipTests). I think that your problem is due to permgen out of memory when running lot of tests with mock objects and so on. If you still want to run all the tests try increasing your permgen for Maven (try using MAVEN_OPTS env variable and export -XX:MaxPermSize=1024m for example).