Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ mvn clean test
- [INFO] Scanning for projects...
- [WARNING]
- [WARNING] Some problems were encountered while building the effective model for org.openmrs.module:openhmis-plm-api:jar:1.0-SNAPSHOT
- [WARNING] 'version' contains an expression but should be a constant. @ org.openmrs.module:openhmis-plm-api:${project.parent.version}, D:\Code\Eclipse\openhmis\plm\api\pom.xml, line 15, column 14
- [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] OpenHMIS Persistent List Manager Module
- [INFO] OpenHMIS Persistent List Manager Module API
- [INFO] OpenHMIS Persistent List Manager Module OMOD
- [INFO]
- [INFO] ------------------------------------------------------------------------
- [INFO] Building OpenHMIS Persistent List Manager Module 1.0-SNAPSHOT
- [INFO] ------------------------------------------------------------------------
- [INFO]
- [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ openhmis-plm ---
- [INFO]
- [INFO] ------------------------------------------------------------------------
- [INFO] Building OpenHMIS Persistent List Manager Module API 1.0-SNAPSHOT
- [INFO] ------------------------------------------------------------------------
- [INFO]
- [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ openhmis-plm-api ---
- [INFO] Deleting D:\Code\Eclipse\openhmis\plm\api\target
- [INFO]
- [INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ openhmis-plm-api ---
- [debug] execute contextualize
- [INFO] Using 'UTF-8' encoding to copy filtered resources.
- [INFO] Copying 4 resources
- [INFO]
- [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ openhmis-plm-api ---
- [INFO] Compiling 23 source files to D:\Code\Eclipse\openhmis\plm\api\target\classes
- [INFO]
- [INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ openhmis-plm-api ---
- [debug] execute contextualize
- [INFO] Using 'UTF-8' encoding to copy filtered resources.
- [INFO] Copying 1 resource
- [INFO]
- [INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ openhmis-plm-api ---
- [INFO] Compiling 7 source files to D:\Code\Eclipse\openhmis\plm\api\target\test-classes
- [INFO]
- [INFO] --- maven-surefire-plugin:2.10:test (default-test) @ openhmis-plm-api ---
- [INFO] Surefire report directory: D:\Code\Eclipse\openhmis\plm\api\target\surefire-reports
- -------------------------------------------------------
- T E S T S
- -------------------------------------------------------
- Results :
- Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
- [INFO]
- [INFO] ------------------------------------------------------------------------
- [INFO] Building OpenHMIS Persistent List Manager Module OMOD 1.0-SNAPSHOT
- [INFO] ------------------------------------------------------------------------
- [INFO]
- [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ openhmis-plm-omod ---
- [INFO] Deleting D:\Code\Eclipse\openhmis\plm\omod\target
- [INFO]
- [INFO] --- maven-openmrs-plugin:1.0.1:initialize-module (init) @ openhmis-plm-omod ---
- [INFO]
- [INFO] --- maven-dependency-plugin:2.4:unpack-dependencies (Expand moduleApplicationContext and messages)
- @ openhmis-plm-omod ---
- [INFO] Unpacking D:\Code\Eclipse\openhmis\plm\api\target\classes to D:\Code\Eclipse\openhmis\plm\omod\target\classes with includes "**/*" and excludes ""
- org.codehaus.plexus.archiver.ArchiverException: The source must not be a directory.
- at org.codehaus.plexus.archiver.AbstractUnArchiver.validate(AbstractUnArchiver.java:185)
- at org.codehaus.plexus.archiver.AbstractUnArchiver.extract(AbstractUnArchiver.java:118)
- at org.apache.maven.plugin.dependency.AbstractDependencyMojo.unpack(AbstractDependencyMojo.java:258)
- at org.apache.maven.plugin.dependency.UnpackDependenciesMojo.execute(UnpackDependenciesMojo.java:88)
- at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
- 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)
- [INFO] ------------------------------------------------------------------------
- [INFO] Reactor Summary:
- [INFO]
- [INFO] OpenHMIS Persistent List Manager Module ........... SUCCESS [0.123s]
- [INFO] OpenHMIS Persistent List Manager Module API ....... SUCCESS [3.515s]
- [INFO] OpenHMIS Persistent List Manager Module OMOD ...... FAILURE [0.592s]
- [INFO] ------------------------------------------------------------------------
- [INFO] BUILD FAILURE
- [INFO] ------------------------------------------------------------------------
- [INFO] Total time: 4.763s
- [INFO] Finished at: Mon Jun 25 18:05:09 EAT 2012
- [INFO] Final Memory: 29M/490M
- [INFO] ------------------------------------------------------------------------
- [ERROR] Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:2.4:unpack-dependencies (Expand moduleApplicationContext and messages) on project openhmis-plm-omod: Error unpacking file: D:\Code\Eclipse\openhmis\plm\api\target\classes to: D:\Code\Eclipse\openhmis\plm\omod\target\classes
- [ERROR] org.codehaus.plexus.archiver.ArchiverException: The source must not be a directory.
- [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/MojoExecutionException
- [ERROR]
- [ERROR] After correcting the problems, you can resume the build with the command
- [ERROR] mvn <goals> -rf :openhmis-plm-omod
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement