cancel
Showing results for 
Search instead for 
Did you mean: 

Reference problem while extending activiti Designer

simonetogno
Champ in-the-making
Champ in-the-making
Hi all,

This is my problem:

I'm trying to extend the palette of activiti designer. I have followed the user guide but when I launch the command mvn eclipse:eclipse occur some error.
I've tried to extend the palet with te same example reported on the guide, thaken the pom.xml file from activiti source, updated the version ov designer reference (5.5), but it doesn't run well.
I think that one problem is the repository of extension file
http://maven.alfresco.com/nexus/content/repositories/activiti/

In thir repository the latest version is 0.7.0 (some version ago)

This is my pom.xml file

<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
   <modelVersion>4.0.0</modelVersion>
   <groupId>MoneyTask</groupId>
   <artifactId>MoneyTask</artifactId>
   <packaging>jar</packaging>
   <name>Acme Corporation Money Task</name>
   <version>1.0.0</version>
   
   <dependencies>
      <dependency>
         <groupId>org.activiti.designer</groupId>
         <artifactId>org.activiti.designer.integration</artifactId>
         <version>5.5</version>
         <scope>compile</scope>
         <optional>false</optional>
      </dependency>
   </dependencies>
   <repositories>
        <repository>
            <id>Activiti</id>
            <url>http://maven.alfresco.com/nexus/content/repositories/activiti/</url>
         </repository>
   </repositories>
   <build>
   <plugins>
         <plugin>
            <artifactId>maven-compiler-plugin</artifactId>
            <configuration>
               <source>1.5</source>
               <target>1.5</target>
               <showDeprecation>true</showDeprecation>
               <showWarnings>true</showWarnings>
               <optimize>true</optimize>
            </configuration>
         </plugin>
         <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-jar-plugin</artifactId>
            <version>2.3.1</version>
            <configuration>
               <archive>
                  <index>true</index>
                  <manifest>
                     <addClasspath>false</addClasspath>
                     <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
                  </manifest>
                  <manifestEntries>
                     <ActivitiDesigner-Extension-Name>Acme Money</ActivitiDesigner-Extension-Name>
                  </manifestEntries>
               </archive>
            </configuration>
         </plugin>
      </plugins>
    </build>
</project>

I hope that someone can help me.
Regards
Simone
4 REPLIES 4

simonetogno
Champ in-the-making
Champ in-the-making
This is the error i get in eclipse

Unbound classpath variable: 'M2_REPO/org/activiti/designer/org.activiti.designer.integration/5.5/org.activiti.designer.integration-5.5.jar' in project 'MoneyTask' MoneyTask  Build path Build Path Problem

trademak
Star Contributor
Star Contributor
Hi,

This can be a problem caused by the Alfresco Maven repository being done.
The easiest thing to do would be to install the integration JAR to your local repository by building the org.activiti.designer.integration source project.

Best regards,

firebird0001
Champ in-the-making
Champ in-the-making
Hi,

I've got similar problem with 5.8 version. I've followed the guide, but no new node is displayed in palette. There is no errors in log.
Where might be the problem?

Thanks in advance!

trademak
Star Contributor
Star Contributor
Are you using this dependency?

<groupId>org.activiti</groupId>
<artifactId>activiti-designer-integration</artifactId>
<version>5.8</version>

Best regards,