JBoss Community

problem about compile source code of jbpm5

created by HUI LIU in jBPM - View the full discussion

Hello

I am trying to compile the source code of jbpm5.

I have downloaded krisv-jbpm-5.0-CR1-35-gc7bef4e.zip and apache-maven-2.2.1-bin.zip.

I have extracted the source code and installed maven (including setting configurations of mvn, environment Variables and proxy server ).

I have created a sample project by maven,  compiled and packaged and run it, all is fine.

However when I use mvn to package source code of jbpm5, some problems come out.

Firstly, it can't find droolsl-api jar, (however I can find it through my google chrome).

=========

[INFO] skip non existing resourceDirectory G:\krisv-jbpm\jbpm-flow\src\main\resources

Downloading: https://repository.jboss.org/nexus/content/groups/public//org/drools/drools-api/5.2.0-alpha1/drools-api-5.2.0-alpha1.pom

[WARNING] Unable to get resource 'org.drools:drools-api:pom:5.2.0-alpha1' from repository jboss-public-repository-group (https://repository.jboss.org/nexus/content/groups/public/): Error transferring file: Connection refused: connect

Downloading: http://people.apache.org/repo/m2-snapshot-repository//org/drools/drools-api/5.2.0-alpha1/drools-api-5.2.0-alpha1.pom

=========

Secondly, when compiling jbpm5, it can't find mvel2 jar, even after I have downloaded  it from internet and installed it into local repository of maven (

<groupId>org.mvel</groupId>

<artifactId>mvel2</artifactId>

<version>2.0.18-RC5</version>

).

=========

(There are lots of compilation errors, the following is just an example)

[ERROR] /krisv-jbpm/jbpm-flow/src/main/java/org/jbpm/workflow/instance/impl/NodeInstanceResolverFactory.java:[23,34] package org.mvel2.integration.impl does not exist

=========

anybody can give some help?

Thanks

Reply to this message by going to Community

Start a new discussion in jBPM at Community