Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mvn install
- [INFO] Scanning for projects...
- [WARNING] The POM for org.codehaus.plexus:plexus-archiver:jar:1.0-alpha-7 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
- [WARNING]
- [WARNING] Some problems were encountered while building the effective model for org.openmrs.module:formentry-release-tests:jar:5.0.7-SNAPSHOT
- [WARNING] The expression ${parent.version} is deprecated. Please use ${project.parent.version} instead.
- [WARNING]
- [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
- [WARNING]
- [WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
- [WARNING]
- [INFO] ------------------------------------------------------------------------
- [INFO] Reactor Build Order:
- [INFO]
- [INFO] FormEntry
- [INFO] FormEntry API
- [INFO] FormEntry OMOD
- [INFO] formentry-release-tests
- [INFO]
- [INFO] ------------------------------------------------------------------------
- [INFO] Building FormEntry 5.0.7-SNAPSHOT
- [INFO] ------------------------------------------------------------------------
- [INFO]
- [INFO] --- maven-install-plugin:2.3.1:install (default-install) @ formentry ---
- [INFO] Installing /media/KJoseph/Projects/openMRS/Modules/openmrs-module-formentry/pom.xml to /home/k-joseph/.m2/repository/org/openmrs/module/formentry/5.0.7-SNAPSHOT/formentry-5.0.7-SNAPSHOT.pom
- [INFO]
- [INFO] ------------------------------------------------------------------------
- [INFO] Building FormEntry API 5.0.7-SNAPSHOT
- [INFO] ------------------------------------------------------------------------
- [INFO]
- [INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ formentry-api ---
- [debug] execute contextualize
- [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
- [INFO] Copying 11 resources
- [INFO]
- [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ formentry-api ---
- [INFO] Nothing to compile - all classes are up to date
- [INFO]
- [INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ formentry-api ---
- [debug] execute contextualize
- [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
- [INFO] skip non existing resourceDirectory /media/KJoseph/Projects/openMRS/Modules/openmrs-module-formentry/api/src/test/resources
- [INFO]
- [INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ formentry-api ---
- [INFO] No sources to compile
- [INFO]
- [INFO] --- maven-surefire-plugin:2.10:test (default-test) @ formentry-api ---
- [INFO] Surefire report directory: /media/KJoseph/Projects/openMRS/Modules/openmrs-module-formentry/api/target/surefire-reports
- -------------------------------------------------------
- T E S T S
- -------------------------------------------------------
- Results :
- Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
- [INFO]
- [INFO] --- maven-jar-plugin:2.3.2:jar (default-jar) @ formentry-api ---
- [INFO]
- [INFO] --- maven-install-plugin:2.3.1:install (default-install) @ formentry-api ---
- [INFO] Installing /media/KJoseph/Projects/openMRS/Modules/openmrs-module-formentry/api/target/formentry-api-5.0.7-SNAPSHOT.jar to /home/k-joseph/.m2/repository/org/openmrs/module/formentry-api/5.0.7-SNAPSHOT/formentry-api-5.0.7-SNAPSHOT.jar
- [INFO] Installing /media/KJoseph/Projects/openMRS/Modules/openmrs-module-formentry/api/pom.xml to /home/k-joseph/.m2/repository/org/openmrs/module/formentry-api/5.0.7-SNAPSHOT/formentry-api-5.0.7-SNAPSHOT.pom
- [INFO]
- [INFO] ------------------------------------------------------------------------
- [INFO] Building FormEntry OMOD 5.0.7-SNAPSHOT
- [INFO] ------------------------------------------------------------------------
- [INFO]
- [INFO] --- maven-openmrs-plugin:1.0.1:initialize-module (init) @ formentry-omod ---
- [INFO]
- [INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ formentry-omod ---
- [debug] execute contextualize
- [WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
- [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
- [INFO] Copying 13 resources
- [INFO] Copying 33 resources to web/module
- [INFO] Copying 0 resource to web/module
- [INFO] Copying 33 resources to web/module
- [INFO]
- [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ formentry-omod ---
- [INFO] Nothing to compile - all classes are up to date
- [INFO]
- [INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ formentry-omod ---
- [debug] execute contextualize
- [WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
- [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
- [INFO] Copying 4 resources
- [INFO] Copying 1 resource
- [INFO]
- [INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ formentry-omod ---
- [INFO] Nothing to compile - all classes are up to date
- [INFO]
- [INFO] --- maven-surefire-plugin:2.10:test (default-test) @ formentry-omod ---
- [INFO] Surefire report directory: /media/KJoseph/Projects/openMRS/Modules/openmrs-module-formentry/omod/target/surefire-reports
- -------------------------------------------------------
- T E S T S
- -------------------------------------------------------
- Running org.openmrs.module.formentry.FormEntryUtilTest
- Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 21.325 sec
- Running org.openmrs.module.formentry.test.PublishInfoPathTest
- Tests run: 10, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 1.615 sec
- Running org.openmrs.module.formentry.test.TestFormEntryError
- FormEntryService.class.getClassLoader(): sun.misc.Launcher$AppClassLoader@18d107f
- Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.168 sec
- Running org.openmrs.module.formentry.test.TestFormSchemaBuilder
- Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.01 sec
- Results :
- Tests run: 20, Failures: 0, Errors: 0, Skipped: 1
- [INFO]
- [INFO] --- maven-jar-plugin:2.3.2:jar (default-jar) @ formentry-omod ---
- [INFO] Building jar: /media/KJoseph/Projects/openMRS/Modules/openmrs-module-formentry/omod/target/formentry-5.0.7-SNAPSHOT.jar
- [INFO] META-INF/maven/org.openmrs.module/formentry-omod/pom.xml already added, skipping
- [INFO] META-INF/maven/org.openmrs.module/formentry-omod/pom.properties already added, skipping
- [INFO]
- [INFO] --- maven-openmrs-plugin:1.0.1:package-module (pack) @ formentry-omod ---
- Mar 7, 2013 6:06:56 PM org.sonatype.guice.bean.reflect.Logs$JULSink warn
- WARNING: Error injecting: org.motech.openmrs.plugin.PackageModuleMojo
- java.lang.NoClassDefFoundError: org/codehaus/plexus/archiver/AbstractArchiver
- at java.lang.Class.getDeclaredConstructors0(Native Method)
- at java.lang.Class.privateGetDeclaredConstructors(Class.java:2389)
- at java.lang.Class.getDeclaredConstructors(Class.java:1836)
- at com.google.inject.spi.InjectionPoint.forConstructorOf(InjectionPoint.java:245)
- at com.google.inject.internal.ConstructorBindingImpl.create(ConstructorBindingImpl.java:98)
- at com.google.inject.internal.InjectorImpl.createUninitializedBinding(InjectorImpl.java:629)
- at com.google.inject.internal.InjectorImpl.createJustInTimeBinding(InjectorImpl.java:831)
- at com.google.inject.internal.InjectorImpl.createJustInTimeBindingRecursive(InjectorImpl.java:758)
- at com.google.inject.internal.InjectorImpl.getJustInTimeBinding(InjectorImpl.java:255)
- at com.google.inject.internal.InjectorImpl.getBindingOrThrow(InjectorImpl.java:204)
- at com.google.inject.internal.InjectorImpl.getProviderOrThrow(InjectorImpl.java:954)
- at com.google.inject.internal.InjectorImpl.getProvider(InjectorImpl.java:987)
- at com.google.inject.internal.InjectorImpl.getProvider(InjectorImpl.java:950)
- at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1000)
- at org.sonatype.guice.bean.reflect.AbstractDeferredClass.get(AbstractDeferredClass.java:45)
- at com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:84)
- at com.google.inject.internal.InternalFactoryToInitializableAdapter.provision(InternalFactoryToInitializableAdapter.java:52)
- at com.google.inject.internal.ProviderInternalFactory$1.call(ProviderInternalFactory.java:70)
- at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:100)
- at org.sonatype.guice.plexus.lifecycles.PlexusLifecycleManager.onProvision(PlexusLifecycleManager.java:138)
- at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:108)
- at com.google.inject.internal.ProvisionListenerStackCallback.provision(ProvisionListenerStackCallback.java:55)
- at com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:68)
- at com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:45)
- at com.google.inject.internal.InjectorImpl$3$1.call(InjectorImpl.java:965)
- at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1011)
- at com.google.inject.internal.InjectorImpl$3.get(InjectorImpl.java:961)
- at com.google.inject.Scopes$1$1.get(Scopes.java:59)
- at org.sonatype.guice.bean.locators.LazyBeanEntry.getValue(LazyBeanEntry.java:83)
- at org.sonatype.guice.plexus.locators.LazyPlexusBean.getValue(LazyPlexusBean.java:49)
- at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:253)
- at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:245)
- at org.apache.maven.plugin.internal.DefaultMavenPluginManager.getConfiguredMojo(DefaultMavenPluginManager.java:455)
- at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:92)
- at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
- at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
- at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
- at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
- at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
- at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
- at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
- at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
- at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
- at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
- at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
- at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
- at java.lang.reflect.Method.invoke(Method.java:597)
- 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.ClassNotFoundException: org.codehaus.plexus.archiver.AbstractArchiver
- at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50)
- at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:244)
- at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:230)
- ... 54 more
- [INFO] ------------------------------------------------------------------------
- [INFO] Reactor Summary:
- [INFO]
- [INFO] FormEntry ......................................... SUCCESS [0.371s]
- [INFO] FormEntry API ..................................... SUCCESS [3.579s]
- [INFO] FormEntry OMOD .................................... FAILURE [26.843s]
- [INFO] formentry-release-tests ........................... SKIPPED
- [INFO] ------------------------------------------------------------------------
- [INFO] BUILD FAILURE
- [INFO] ------------------------------------------------------------------------
- [INFO] Total time: 31.618s
- [INFO] Finished at: Thu Mar 07 18:06:56 EAT 2013
- [INFO] Final Memory: 9M/309M
- [INFO] ------------------------------------------------------------------------
- [ERROR] Failed to execute goal org.openmrs.maven.plugins:maven-openmrs-plugin:1.0.1:package-module (pack) on project formentry-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/archiver/AbstractArchiver
- [ERROR] -----------------------------------------------------
- [ERROR] realm = plugin>org.openmrs.maven.plugins:maven-openmrs-plugin:1.0.1
- [ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
- [ERROR] urls[0] = file:/home/k-joseph/.m2/repository/org/openmrs/maven/plugins/maven-openmrs-plugin/1.0.1/maven-openmrs-plugin-1.0.1.jar
- [ERROR] urls[1] = file:/home/k-joseph/.m2/repository/org/apache/maven/maven-archiver/2.2/maven-archiver-2.2.jar
- [ERROR] urls[2] = file:/home/k-joseph/.m2/repository/org/codehaus/plexus/plexus-archiver/1.0-alpha-7/plexus-archiver-1.0-alpha-7.jar
- [ERROR] urls[3] = file:/home/k-joseph/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.1/plexus-interpolation-1.1.jar
- [ERROR] urls[4] = file:/home/k-joseph/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar
- [ERROR] urls[5] = file:/home/k-joseph/.m2/repository/org/apache/maven/shared/file-management/1.2.1/file-management-1.2.1.jar
- [ERROR] urls[6] = file:/home/k-joseph/.m2/repository/org/apache/maven/shared/maven-shared-io/1.1/maven-shared-io-1.1.jar
- [ERROR] urls[7] = file:/home/k-joseph/.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[project>org.openmrs.module:formentry-omod:5.0.7-SNAPSHOT, parent: ClassRealm[maven.api, parent: null]]]
- [ERROR]
- [ERROR] -----------------------------------------------------: org.codehaus.plexus.archiver.AbstractArchiver
- [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 <goals> -rf :formentry-omod
Advertisement
Add Comment
Please, Sign In to add comment