cancel
Showing results for 
Search instead for 
Did you mean: 

Problems with Activiti 5.8 Engine and Eclipse Helios

jcosano
Champ in-the-making
Champ in-the-making
Hello!

When I'm importing Activiti Engine 5.8 into mi Eclipse Helios I find this error (and project not compile, old versions of activiti always works fine)

24/10/11 10:19:26 CEST: Maven Builder: FULL_BUILD requireFullBuild
24/10/11 10:19:26 CEST: [WARN]
24/10/11 10:19:26 CEST: [WARN] Some problems were encountered while building the effective model for org.activiti:activiti-engine:jar:5.8
24/10/11 10:19:26 CEST: [WARN] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ org.activiti:activiti-root:5.8, C:\workspaces\activiti58\activiti-5.8\pom.xml, line 470, column 15
24/10/11 10:19:26 CEST: [WARN] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-jar-plugin is missing. @ line 152, column 15
24/10/11 10:19:26 CEST: [WARN] The expression ${version} is deprecated. Please use ${project.version} instead.
24/10/11 10:19:26 CEST: [WARN] The expression ${version} is deprecated. Please use ${project.version} instead.
24/10/11 10:19:26 CEST: [WARN] The expression ${version} is deprecated. Please use ${project.version} instead.
24/10/11 10:19:26 CEST: [WARN] The expression ${version} is deprecated. Please use ${project.version} instead.
24/10/11 10:19:26 CEST: [WARN]
24/10/11 10:19:26 CEST: [WARN] It is highly recommended to fix these problems because they threaten the stability of your build.
24/10/11 10:19:26 CEST: [WARN]
24/10/11 10:19:26 CEST: [WARN] For this reason, future Maven versions might no longer support building such malformed projects.
24/10/11 10:19:26 CEST: [WARN]
24/10/11 10:19:26 CEST: [WARN] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
24/10/11 10:19:26 CEST: [INFO] Copying 135 resources
24/10/11 10:19:46 CEST: [INFO] Nothing to compile - all classes are up to date
24/10/11 10:20:05 CEST: [WARN] Warning in manifest for org.activiti:activiti-engine:jar:5.8 : Did not find matching referal for com.sun*
24/10/11 10:20:05 CEST: [WARN] Warning in manifest for org.activiti:activiti-engine:jar:5.8 : Did not find matching referal for javax.persistence*
24/10/11 10:20:05 CEST: [WARN] Warning in manifest for org.activiti:activiti-engine:jar:5.8 : Did not find matching referal for junit*
24/10/11 10:20:05 CEST: [WARN] Warning in manifest for org.activiti:activiti-engine:jar:5.8 : Did not find matching referal for org.activiti.*
24/10/11 10:20:05 CEST: [WARN] Warning in manifest for org.activiti:activiti-engine:jar:5.8 : Did not find matching referal for org.activiti.osgi*
24/10/11 10:20:05 CEST: [WARN] Warning in manifest for org.activiti:activiti-engine:jar:5.8 : Did not find matching referal for org.apache.tools.ant*
24/10/11 10:20:05 CEST: [WARN] Warning in manifest for org.activiti:activiti-engine:jar:5.8 : Did not find matching referal for org.apache.xerces*
24/10/11 10:20:05 CEST: [WARN] Warning in manifest for org.activiti:activiti-engine:jar:5.8 : Did not find matching referal for org.junit*
24/10/11 10:20:05 CEST: [ERROR] Error in manifest for org.activiti:activiti-engine:jar:5.8 : The default package '.' is not permitted by the Import-Package syntax.
This can be caused by compile errors in Eclipse because Eclipse creates
valid class files regardless of compile errors.
The following package(s) import from the default package [org.activiti.engine.impl.ant, org.activiti.engine.impl.bpmn.behavior, org.activiti.engine.impl.cfg, org.activiti.engine.impl.db, org.activiti.engine.impl.interceptor, org.activiti.engine.impl.mail, org.activiti.engine.impl.persistence, org.activiti.engine.impl.rules, org.activiti.engine.impl.test, org.activiti.engine.impl.variable, org.activiti.engine.test]
24/10/11 10:20:05 CEST: [ERROR] Error(s) found in manifest configuration
24/10/11 10:20:18 CEST: Build errors for activiti-engine; org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.felix:maven-bundle-plugin:2.1.0:manifest (bundle-manifest) on project activiti-engine: Error(s) found in manifest configuration
24/10/11 10:20:19 CEST: Maven Builder: AUTO_BUILD

Can you help me?
7 REPLIES 7

hamed
Champ in-the-making
Champ in-the-making
hi
don't use the Eclipse Helios for this purpose (generally Smiley Wink ) ,there are a lots of other problems !
Try eclipse indigo
goodLuck

jcosano
Champ in-the-making
Champ in-the-making
Ok Solve!

Finally I use Indigo with:

- Subversive
- Maven (using Maven runtime 3.0.3)

And I obtain same error than Helios… with quick fix it suggest install "Tycho project" from sonatype (then I install it)

And now all works fine!

ksperner
Champ in-the-making
Champ in-the-making
Hi jcosano,

how did you install the tycho project via quick fix? I'm encountering the same problem like you with the current trunk, but I didn't manage to fix it.
After adding tycho the way it is described in the documentation ( http://wiki.eclipse.org/Tycho/Reference_Card ) the problem remains.
I also removed the "*" entry from <activiti.osgi.import.pkg> in the parent pom, but the apache felix maven-bundle-plugin still complains about the default package on the import path.
Does anybody know a solution to this problem?

Thanks in advance,
Klaus

jcosano
Champ in-the-making
Champ in-the-making
Hi!

I use quick fix option from eclipse (http://wiki.eclipse.org/FAQ_What_is_a_Quick_Fix%3F)

good luck!

ksperner
Champ in-the-making
Champ in-the-making
Hi jcosano,

thank you for the quick reply. I know, what a quick fix in Eclipse is, but I don't understand how to apply one in this situation. The error message (which is the one shown in your first post) appears in the Maven Console in the Console View after cleaning the activiti-engine project, but Eclipse doesn't facilitate the usage of a quick fix there. I can apply a quick fix in the markers view or in the editor pane, but there I don't see anything related to maven or tycho.
Do you remember, how you applied the quick fix?

Thanks and best regards,
Klaus

jcosano
Champ in-the-making
Champ in-the-making
I remember that quickfix suggest to me that I need install tycho… I accept this, and eclipse download and install automatically this feature.

ksperner
Champ in-the-making
Champ in-the-making
Hmm, unfortunately, this does not work for me 😞

Nevertheless, thank you for your help.