cancel
Showing results for 
Search instead for 
Did you mean: 

pom.xml

dev1
Champ in-the-making
Champ in-the-making
Hi,

I checked out the code for ACTIVITI projet from "
http://svn.codehaus.org/activiti/projects/"…..
and just as your source code i couldn't find any build file in it…instead i found some 10 pom.xml(Maven) files…I have to build all these pom.xml individually or have to write one ant or Maven file  to get the required jars for IDE …is this the only hard way to do it ??
I have one more way of easily updating my eclipse IDE from the "update software" option..but i don't want to do it..I want to build and generate my own jars….

Regards,
Dev
11 REPLIES 11

tiesebarrell
Champ in-the-making
Champ in-the-making
DEV,

if you're trying to install Activiti Designer from source, you will need to use Maven 3 and perform a "mvn install" command on the parent project only; that will make sure the other projects are installed as well. Note: to do this, you will also need to have an Eclipse Runtime available. The easiest way to accomplish this, is to checkout all of the projects into Eclipse and perform a "mvn eclipse:clean eclipse:eclipse" command on each project. That will setup the project so you can perform the install.

dev1
Champ in-the-making
Champ in-the-making
hi,
As mentioned in the reply I downloaded every thing and did "mvn eclipse:clean"….and getting this error….



[INFO] Scanning for projects…
[INFO] Resolving target platform for project MavenProject: org.activiti.designerSmiley Surprisedrg.activiti.designer.eclipse:0.6.0 @ C:\Documents and Settings\rashmi_shenoy\Desktop\ActivitiDEsigner_code\designer\org.activiti.designer.eclipse\pom.xml
[INFO] Adding repository http://download.eclipse.org/releases/helios
[INFO] Adding repository http://download.eclipse.org/releases/helios
[INFO] Adding repository http://download.eclipse.org/graphiti/updates/0.7.0/
[INFO] Adding repository http://download.eclipse.org/graphiti/updates/0.7.0/
[INFO] Adding repository http://download.eclipse.org/tools/orbit/downloads/drops/R20100519200754/updateSite/
[INFO] Adding repository http://download.eclipse.org/tools/orbit/downloads/drops/R20100519200754/updateSite/
[INFO] Cannot complete the request.  Generating details.
[INFO] {org.osgi.framework.executionenvironment=OSGi/Minimum-1.0,OSGi/Minimum-1.1, osgi.ws=gtk, osgi.arch=x86_64, osgi.os=linux, org.eclipse.update.install.features=true, org.osgi.framework.system.packages=}
[INFO] [Software being installed: org.activiti.designer.eclipse 0.6.0, Missing requirement: org.activiti.designer.eclipse 0.6.0 requires 'bundle org.activiti.designer.model 0.5.1' but it could not be found]
[ERROR] Internal error: java.lang.RuntimeException: org.eclipse.equinox.p2.core.ProvisionException: No solution found because the problem is unsatisfiable. -> [Help 1]
org.apache.maven.InternalErrorException: Internal error: java.lang.RuntimeException: org.eclipse.equinox.p2.core.ProvisionException: No solution found because the problem is unsatisfiable.
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:163)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:445)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:168)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:132)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
Caused by: java.lang.RuntimeException: org.eclipse.equinox.p2.core.ProvisionException: No solution found because the problem is unsatisfiable.
at org.sonatype.tycho.p2.impl.resolver.ProjectorResolutionStrategy.resolve(ProjectorResolutionStrategy.java:98)
at org.sonatype.tycho.p2.impl.resolver.P2ResolverImpl.resolveProject(P2ResolverImpl.java:335)
at org.sonatype.tycho.p2.impl.resolver.P2ResolverImpl.resolveProject(P2ResolverImpl.java:300)
at org.sonatype.tycho.p2.facade.P2TargetPlatformResolver.doResolvePlatform(P2TargetPlatformResolver.java:406)
at org.sonatype.tycho.p2.facade.P2TargetPlatformResolver.resolvePlatform(P2TargetPlatformResolver.java:105)
at org.codehaus.tycho.resolver.DefaultTychoDependencyResolver.resolveProject(DefaultTychoDependencyResolver.java:68)
at org.codehaus.tycho.maven.TychoMavenLifecycleParticipant.afterProjectsRead(TychoMavenLifecycleParticipant.java:94)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:268)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:151)
… 11 more
Caused by: org.eclipse.equinox.p2.core.ProvisionException: No solution found because the problem is unsatisfiable.
… 20 more
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/InternalErrorException

tiesebarrell
Champ in-the-making
Champ in-the-making
DEV,

try changing the dependency in the eclipse project to 0.6.0 for the model project. The version dependency in subversion hasn't been bumped yet and you apparently don't have the 0.5.1 version in your local repo. If you use 0.6.0 you should be okay because that's the one you have in your Eclipse workspace.

dev1
Champ in-the-making
Champ in-the-making
Hi,
I checked out the code from http://svn.codehaus.org/activiti/projects …..and tried building it through eclipse…the same (previously mentioned) error is filling my console……is the repository updated ??….
or I fear there are some classes which have not been updated as its still looking for older version….

Regards,
Dev.

tiesebarrell
Champ in-the-making
Champ in-the-making
Dev,

have you tried changing the dependency in the eclipse project to 0.6.0 for the model project as I mentioned above?

dev1
Champ in-the-making
Champ in-the-making
Hi,
i am attaching the snapshot of the changes i did in the files….earlier the point where i have marked red, it was 5.1.0…which i changed to 0.6.0…and i am still getting this error..which is no different than than the one which i have posted u earlier….


[INFO] Scanning for projects…
[INFO] Resolving target platform for project MavenProject: org.activiti.designerSmiley Surprisedrg.activiti.designer.eclipse:0.6.0 @ D:\eclipse-SDK-3.6.1-win32\eclipse\workspace\activitiDesigner\designer\org.activiti.designer.eclipse\pom.xml
[INFO] Adding repository http://download.eclipse.org/releases/helios
[INFO] Adding repository http://download.eclipse.org/releases/helios
[INFO] Adding repository http://download.eclipse.org/graphiti/updates/0.7.0/
[INFO] Adding repository http://download.eclipse.org/graphiti/updates/0.7.0/
[INFO] Adding repository http://download.eclipse.org/tools/orbit/downloads/drops/R20100519200754/updateSite/
[INFO] Adding repository http://download.eclipse.org/tools/orbit/downloads/drops/R20100519200754/updateSite/
[INFO] Cannot complete the request.  Generating details.
[INFO] {org.osgi.framework.executionenvironment=OSGi/Minimum-1.0,OSGi/Minimum-1.1, osgi.ws=gtk, osgi.arch=x86_64, osgi.os=linux, org.eclipse.update.install.features=true, org.osgi.framework.system.packages=}
[INFO] [Software being installed: org.activiti.designer.eclipse 0.6.0, Missing requirement: org.activiti.designer.eclipse 0.6.0 requires 'bundle org.activiti.designer.model 0.6.0' but it could not be found]
[ERROR] Internal error: java.lang.RuntimeException: org.eclipse.equinox.p2.core.ProvisionException: No solution found because the problem is unsatisfiable. -> [Help 1]
org.apache.maven.InternalErrorException: Internal error: java.lang.RuntimeException: org.eclipse.equinox.p2.core.ProvisionException: No solution found because the problem is unsatisfiable.
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:163)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:445)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:168)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:132)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
Caused by: java.lang.RuntimeException: org.eclipse.equinox.p2.core.ProvisionException: No solution found because the problem is unsatisfiable.
at org.sonatype.tycho.p2.impl.resolver.ProjectorResolutionStrategy.resolve(ProjectorResolutionStrategy.java:98)
at org.sonatype.tycho.p2.impl.resolver.P2ResolverImpl.resolveProject(P2ResolverImpl.java:335)
at org.sonatype.tycho.p2.impl.resolver.P2ResolverImpl.resolveProject(P2ResolverImpl.java:300)
at org.sonatype.tycho.p2.facade.P2TargetPlatformResolver.doResolvePlatform(P2TargetPlatformResolver.java:406)
at org.sonatype.tycho.p2.facade.P2TargetPlatformResolver.resolvePlatform(P2TargetPlatformResolver.java:105)
at org.codehaus.tycho.resolver.DefaultTychoDependencyResolver.resolveProject(DefaultTychoDependencyResolver.java:68)
at org.codehaus.tycho.maven.TychoMavenLifecycleParticipant.afterProjectsRead(TychoMavenLifecycleParticipant.java:94)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:268)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:151)
… 11 more
Caused by: org.eclipse.equinox.p2.core.ProvisionException: No solution found because the problem is unsatisfiable.
… 20 more
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/InternalErrorException

tiesebarrell
Champ in-the-making
Champ in-the-making
Well, you need to check out the sub projects separately as top level projects in Eclipse. The project you have now probably has no PDE nature, which the Maven build requires. It has no way of resolving the dependencies without the bundle context it gets from PDE.

dev1
Champ in-the-making
Champ in-the-making
hi Tiese,

can you please  e·lab·o·rate  a little on the steps which you are asking me to do..i am badly confused with my next step.

Regards,
DEV

tiesebarrell
Champ in-the-making
Champ in-the-making
Dev,

you need to have each module of Activiti Designer as a TOP level Eclipse project. I've included a screenshot for clarification. So you need to check out the projects individually. Then you have to go to the folder of the parent project, open a command prompt and perform mvn eclipse:clean eclipse:eclipse. Go back to Eclipse and refresh the projects.
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.