I created a new module. When i run 'mvn clean install openmrs-sdk:run` i get the following error.
[ERROR] Failed to execute goal org.openmrs.maven.plugins:maven-openmrs-plugin:1.0.1:package-module (pack) on project basicexample-omod: Execution pack of goal org.openmrs.maven.plugins:maven-openmrs-plugin:1.0.1:package-module failed: A required class was missing while executing org.openmrs.maven.plugins:maven-openmrs-plugin:1.0.1:package-module: org/codehaus/plexus/util/FileUtils [ERROR] ----------------------------------------------------- [ERROR] realm = extension>org.openmrs.maven.plugins:maven-openmrs-plugin:1.0.1 [ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy [ERROR] urls[0] = file:/home/courage/.m2/repository/org/openmrs/maven/plugins/maven-openmrs-plugin/1.0.1/maven-openmrs-plugin-1.0.1.jar [ERROR] urls[1] = file:/home/courage/.m2/repository/org/apache/maven/maven-archiver/2.2/maven-archiver-2.2.jar [ERROR] urls[2] = file:/home/courage/.m2/repository/org/codehaus/plexus/plexus-archiver/1.0-alpha-7/plexus-archiver-1.0-alpha-7.jar [ERROR] urls[3] = file:/home/courage/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.1/plexus-interpolation-1.1.jar [ERROR] urls[4] = file:/home/courage/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar [ERROR] urls[5] = file:/home/courage/.m2/repository/org/apache/maven/shared/file-management/1.2.1/file-management-1.2.1.jar [ERROR] urls[6] = file:/home/courage/.m2/repository/org/apache/maven/shared/maven-shared-io/1.1/maven-shared-io-1.1.jar [ERROR] urls[7] = file:/home/courage/.m2/repository/org/codehaus/plexus/plexus-utils/1.5.5/plexus-utils-1.5.5.jar [ERROR] Number of foreign imports: 1 [ERROR] import: Entry[import from realm ClassRealm[maven.api, parent: null]] [ERROR] [ERROR] -----------------------------------------------------: org.codehaus.plexus.util.FileUtils [ERROR] -> [Help 1] [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/PluginContainerException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn -rf :basicexample-omod
Any help will be appreciated. Thanks