cancel
Showing results for 
Search instead for 
Did you mean: 

it is possible to integrate Activiti with Alfresco Community without using AMP project?

g_segalla
Champ in-the-making
Champ in-the-making
Hi my name is Gabriel, I was studying a lot about activiti and alfresco, and what is perceived by many users the documentation is poor. Jeff Potts made a tutorial that has been the solution for many, But this tutorial use project Amp (maven). In my working environment the connection with maven is not allowed under the proxy. I need to know if there is any way to do Activiti integrate with Alfresco Community without using AMP project.

Await response.
4 REPLIES 4

afaust
Legendary Innovator
Legendary Innovator
Hello,

it is technically possible to create an Alfresco ECM Activiti workflow project as a JAR project, but that still requires Maven to build to project, if you want to use the SDK or any other Maven-based build system that automatically takes care of all the dependencies for you.

I find it strange that using Maven would be prevented by mere proxy configuration - it should only be using standard ports 80/443 which should not be blocked per se by any proxy unless the target host is being blocked. I would assume you can access normal web pages fine using the same proxy, right? My advice would be to check your Maven configuration and properly <a href="https://maven.apache.org/guides/mini/guide-proxies.html">configure the proxy</a> (by default, Maven may not actually use the proxy server correctly).

I often can't understand the sentiment of "the documentation is poor". Yes, it isn't serving everything on a golden platter or for every of the thousands possible variations that users may want to use it, but it includes everything relevant to the actual Activiti engine (Activiti user guid) and how it is included in Alfresco (Alfresco documentation web site), and should support 80-90% of use cases.

Regards
Axel

eswbitto
Confirmed Champ
Confirmed Champ
@AFaust,

We have a similar issue out our work with maven not working with our firewall. I think the main issue is when updating maven has a lot of small jar files that firewalls block. So for me if I want to update maven I actually have to take my laptop home and update it there. lol

g_segalla
Champ in-the-making
Champ in-the-making
Ok, I set the desktop to run the maven,but I wonder if there is how to integrate Alfresco with the activiti using the War files  downloaded directly from the official website Alfresco. My goal is to publish a custom workflow in Alfresco community , someone can tell me how this is possible in alfresco comunnity ?

afaust
Legendary Innovator
Legendary Innovator
You do not need the Activiti WARs to integrate Activiti with Alfresco. Activiti is already bundled as an internal engine within Alfresco. I thought you wanted to develop / deploy actual workflows using Activiti that are to be run within the Alfresco Repository server.

If you want to use Maven, there is virtually no way to work without being able to fetch all the dependencies from the internet at least once (you can work in an offline mode later). Technically, it is possible to unpack the WARs and use all the JARs from that to build your project, but that'll only work for the direct project dependencies and not any of the Maven build plugins included with the SDK. Also, this way, your dependencies are effectively unmanaged as you include everything the Alfresco WAR contains, even if you may not want to or should not use some of the transitive / technical JARs.

Regards
Axel