AnsweredAssumed Answered

custom palette

Question asked by hamepal on Jun 14, 2011
Latest reply on Jun 17, 2011 by trademak
   I am trying to build one custom palette by following the userguide. When I give the command
mvn eclipse:eclipse
it gives me the following output

E:\CA\software\jbpm-installer\workspace\CustomPalette>mvn eclipse:eclipse
[INFO] Scanning for projects…
[WARNING] Some problems were encountered while building the effective model for org.acme:money-tasks:jar:1.0.0-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 26, column 12
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[INFO] ————————————————————————
[INFO] Building Acme Corporation Money Tasks 1.0.0-SNAPSHOT
[INFO] ————————————————————————
[INFO] >>> maven-eclipse-plugin:2.8:eclipse (default-cli) @ money-tasks >>>
[INFO] <<< maven-eclipse-plugin:2.8:eclipse (default-cli) @ money-tasks <<<
[INFO] — maven-eclipse-plugin:2.8:eclipse (default-cli) @ money-tasks —
[INFO] Using Eclipse Workspace: E:\CA\software\jbpm-installer\workspace
[WARNING] Workspace defines a VM that does not contain a valid jre/lib/rt.jar: C:\Java_program_files\jre6
[INFO] Adding default classpath container: org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.Stan
[WARNING] Missing POM for org.activiti.designer:org.activiti.designer.integration:jar:5.6
[WARNING] An error occurred during dependency resolution.
    Failed to retrieve org.activiti.designer:org.activiti.designer.integration-5.6
Caused by: Could not find artifact org.activiti.designer:org.activiti.designer.integration:jar:5.6 in central (http://repo1.maven.

Try downloading the file manually from the project website.

Then, install it using the command:
    mvn install:install-file -DgroupId=org.activiti.designer -DartifactId=org.activiti.designer.integration -Dversion=5.6 -Dpackag
ing=jar -Dfile=/path/to/file

Alternatively, if you host your own repository you can deploy the file there:
    mvn deploy:deploy-file -DgroupId=org.activiti.designer -DartifactId=org.activiti.designer.integration -Dversion=5.6 -Dpackagin
g=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

Path to dependency:
        1) org.acme:money-tasks:jar:1.0.0-SNAPSHOT
        2) org.activiti.designer:org.activiti.designer.integration:jar:5.6


from the specified remote repositories:
  central (, releases=true, snapshots=false)

[INFO] Unable to read jar manifest from C:\Users\hame\.m2\repository\org\activiti\designer\org.activiti.designer.integration\5.6\o
[INFO] File E:\CA\software\jbpm-installer\workspace\CustomPalette\.project already exists.
       Additional settings will be preserved, run mvn eclipse:clean if you want old settings to be removed.
[INFO] Wrote Eclipse project for "money-tasks" to E:\CA\software\jbpm-installer\workspace\CustomPalette.
[INFO] ————————————————————————
[INFO] ————————————————————————
[INFO] Total time: 7.377s
[INFO] Finished at: Tue Jun 14 09:44:21 EDT 2011
[INFO] Final Memory: 5M/15M

It seems the pom.xml present at projects\designer\trunk\examples\money-tasks is not updated according to the latest Activiti release version. Earlier the pom.xml was looking for 5.5 version and giving the same output, after changing t0 5.6 doesn't help me in removing the dependencies. I am not  able to remove the Path dependencies:
        1) org.acme:money-tasks:jar:1.0.0-SNAPSHOT
        2) org.activiti.designer:org.activiti.designer.integration:jar:5.6
Can any one tell me how to remove these path dependencies and how to get these jar files?

Any kind of help is highly appreciated.  :)

PS: when I run this command
mvn -ver
the following output is given by the maven.
E:\CA\software\jbpm-installer\workspace\CustomPalette>mvn -ver
Apache Maven 3.0.3 (r1075438; 2011-02-28 12:31:09-0500)
Maven home: E:\CA\softwareInstalledfiles\apache-maven-3.0.3\bin\..
Java version: 1.6.0_23, vendor: Sun Microsystems Inc.
Java home: C:\Java_program_files\jdk1.6.0_23\jre
Default locale: en_US, platform encoding: Cp1252
OS name: "windows 7", version: "6.1", arch: "x86", family: "windows"