cancel
Showing results for 
Search instead for 
Did you mean: 

mvn error while downloading activiti 5.13 dependencies

bsnl
Champ in-the-making
Champ in-the-making
I am simply trying to download all activiti dependencies to my local repository but I am not sure if I am following right steps or if there is a genuine issue here.

I picked up the pom.xml from here -> https://github.com/Activiti/Activiti/blob/activiti-5.13/pom.xml
then I simply ran this command where my application folder was -> mvn clean dependency:copy-dependencies
It downloaded many jars but it ended in error.
{user guide says 'All the dependencies can easily be downloaded using mvn dependency:copy-dependencies on a module of the Activiti source code. ' but I didn't really get it, do I need to go to each module and take the pom file and run dependency:copy-dependencies?}
Error:
[DEBUG] Looking up lifecyle mappings for packaging pom from ClassRealm[project>org.activiti:activiti-root:5.13, parent: ClassReal
m[maven.api, parent: null]]
[ERROR] The build could not read 1 project -> [Help 1]
org.apache.maven.project.ProjectBuildingException: Some problems were encountered while processing the POMs:
[ERROR] Child module C:\Users\md\Documents\GitHub\activiti\my-app\modules\activiti-bpmn-model of C:\Users\md\Documents\GitH
ub\activiti\my-app\pom.xml does not exist @
[ERROR] Child module C:\Users\md\Documents\GitHub\activiti\my-app\modules\activiti-bpmn-converter of C:\Users\md\Documents\
GitHub\activiti\my-app\pom.xml does not exist @
[ERROR] Child module C:\Users\md\Documents\GitHub\activiti\my-app\modules\activiti-engine of C:\Users\md\Documents\GitHub\a
ctiviti\my-app\pom.xml does not exist @

        at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:364)
        at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:672)
        at org.apache.maven.DefaultMaven.getProjectsForMavenReactor(DefaultMaven.java:663)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:250)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155)
        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)
        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:213)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:157)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
        at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
        at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
[ERROR]
[ERROR]   The project org.activiti:activiti-root:5.13 (C:\Users\md\Documents\GitHub\activiti\my-app\pom.xml) has 3 errors
[ERROR]     Child module C:\Users\md\Documents\GitHub\activiti\my-app\modules\activiti-bpmn-model of C:\Users\md\Documents\
GitHub\activiti\my-app\pom.xml does not exist
[ERROR]     Child module C:\Users\md\Documents\GitHub\activiti\my-app\modules\activiti-bpmn-converter of C:\Users\md\Docume
nts\GitHub\activiti\my-app\pom.xml does not exist
[ERROR]     Child module C:\Users\md\Documents\GitHub\activiti\my-app\modules\activiti-engine of C:\Users\md\Documents\GitH
ub\activiti\my-app\pom.xml does not exist
[ERROR]
[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/ProjectBuildingException
1 REPLY 1

jbarrez
Star Contributor
Star Contributor
What is the 'my-app' doing there?

The idea is simple: clone the activiti repository, and do a 'mvn clean dependency:copy-dependencies' in the root folder.