Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- C:\Users\subif\maplocation>mvn package -P deploy-web -D deploy.path="C:\Users\subif\openmrs\distro-2-9-0\tmp\openmrs"
- [INFO] Scanning for projects...
- [WARNING]
- [WARNING] Some problems were encountered while building the effective model for org.openmrs.maplocation:maplocation-api:jar:1.0.0-SNAPSHOT
- [WARNING] 'dependencyManagement.dependencies.dependency.scope' for org.openmrs.module:dataexchange-omod:jar:tests must be one of [provided, compile, runtime, test, system, import] but is 'tests'. @ org.openmrs.distro:referenceapplication:2.9.0, C:\Users\subif\.m2\repository\org\openmrs\distro\referenceapplication\2.9.0\referenceapplication-2.9.0.pom, line 834, column 12
- [WARNING] 'dependencyManagement.dependencies.dependency.scope' for org.openmrs.module:allergyui-api:jar:tests must be one of [provided, compile, runtime, test, system, import] but is 'tests'. @ org.openmrs.distro:referenceapplication:2.9.0, C:\Users\subif\.m2\repository\org\openmrs\distro\referenceapplication\2.9.0\referenceapplication-2.9.0.pom, line 847, column 12
- [WARNING] 'dependencyManagement.dependencies.dependency.scope' for org.openmrs.module:formentryapp-api:jar:tests must be one of [provided, compile, runtime, test, system, import] but is 'tests'. @ org.openmrs.distro:referenceapplication:2.9.0, C:\Users\subif\.m2\repository\org\openmrs\distro\referenceapplication\2.9.0\referenceapplication-2.9.0.pom, line 867, column 12
- [WARNING] 'dependencyManagement.dependencies.dependency.scope' for org.openmrs.module:legacyui-api:jar:tests must be one of [provided, compile, runtime, test, system, import] but is 'tests'. @ org.openmrs.distro:referenceapplication:2.9.0, C:\Users\subif\.m2\repository\org\openmrs\distro\referenceapplication\2.9.0\referenceapplication-2.9.0.pom, line 934, column 12
- [WARNING] 'dependencyManagement.dependencies.dependency.scope' for org.openmrs.module:reportingcompatibility-api:jar:tests must be one of [provided, compile, runtime, test, system, import] but is 'tests'. @ org.openmrs.distro:referenceapplication:2.9.0, C:\Users\subif\.m2\repository\org\openmrs\distro\referenceapplication\2.9.0\referenceapplication-2.9.0.pom, line 953, column 12
- [WARNING]
- [WARNING] Some problems were encountered while building the effective model for org.openmrs.maplocation:maplocation-omod:jar:1.0.0-SNAPSHOT
- [WARNING] 'dependencyManagement.dependencies.dependency.scope' for org.openmrs.module:dataexchange-omod:jar:tests must be one of [provided, compile, runtime, test, system, import] but is 'tests'. @ org.openmrs.distro:referenceapplication:2.9.0, C:\Users\subif\.m2\repository\org\openmrs\distro\referenceapplication\2.9.0\referenceapplication-2.9.0.pom, line 834, column 12
- [WARNING] 'dependencyManagement.dependencies.dependency.scope' for org.openmrs.module:allergyui-api:jar:tests must be one of [provided, compile, runtime, test, system, import] but is 'tests'. @ org.openmrs.distro:referenceapplication:2.9.0, C:\Users\subif\.m2\repository\org\openmrs\distro\referenceapplication\2.9.0\referenceapplication-2.9.0.pom, line 847, column 12
- [WARNING] 'dependencyManagement.dependencies.dependency.scope' for org.openmrs.module:formentryapp-api:jar:tests must be one of [provided, compile, runtime, test, system, import] but is 'tests'. @ org.openmrs.distro:referenceapplication:2.9.0, C:\Users\subif\.m2\repository\org\openmrs\distro\referenceapplication\2.9.0\referenceapplication-2.9.0.pom, line 867, column 12
- [WARNING] 'dependencyManagement.dependencies.dependency.scope' for org.openmrs.module:legacyui-api:jar:tests must be one of [provided, compile, runtime, test, system, import] but is 'tests'. @ org.openmrs.distro:referenceapplication:2.9.0, C:\Users\subif\.m2\repository\org\openmrs\distro\referenceapplication\2.9.0\referenceapplication-2.9.0.pom, line 934, column 12
- [WARNING] 'dependencyManagement.dependencies.dependency.scope' for org.openmrs.module:reportingcompatibility-api:jar:tests must be one of [provided, compile, runtime, test, system, import] but is 'tests'. @ org.openmrs.distro:referenceapplication:2.9.0, C:\Users\subif\.m2\repository\org\openmrs\distro\referenceapplication\2.9.0\referenceapplication-2.9.0.pom, line 953, column 12
- [WARNING]
- [WARNING] Some problems were encountered while building the effective model for org.openmrs.maplocation:maplocation:pom:1.0.0-SNAPSHOT
- [WARNING] 'dependencyManagement.dependencies.dependency.scope' for org.openmrs.module:dataexchange-omod:jar:tests must be one of [provided, compile, runtime, test, system, import] but is 'tests'. @ org.openmrs.distro:referenceapplication:2.9.0, C:\Users\subif\.m2\repository\org\openmrs\distro\referenceapplication\2.9.0\referenceapplication-2.9.0.pom, line 834, column 12
- [WARNING] 'dependencyManagement.dependencies.dependency.scope' for org.openmrs.module:allergyui-api:jar:tests must be one of [provided, compile, runtime, test, system, import] but is 'tests'. @ org.openmrs.distro:referenceapplication:2.9.0, C:\Users\subif\.m2\repository\org\openmrs\distro\referenceapplication\2.9.0\referenceapplication-2.9.0.pom, line 847, column 12
- [WARNING] 'dependencyManagement.dependencies.dependency.scope' for org.openmrs.module:formentryapp-api:jar:tests must be one of [provided, compile, runtime, test, system, import] but is 'tests'. @ org.openmrs.distro:referenceapplication:2.9.0, C:\Users\subif\.m2\repository\org\openmrs\distro\referenceapplication\2.9.0\referenceapplication-2.9.0.pom, line 867, column 12
- [WARNING] 'dependencyManagement.dependencies.dependency.scope' for org.openmrs.module:legacyui-api:jar:tests must be one of [provided, compile, runtime, test, system, import] but is 'tests'. @ org.openmrs.distro:referenceapplication:2.9.0, C:\Users\subif\.m2\repository\org\openmrs\distro\referenceapplication\2.9.0\referenceapplication-2.9.0.pom, line 934, column 12
- [WARNING] 'dependencyManagement.dependencies.dependency.scope' for org.openmrs.module:reportingcompatibility-api:jar:tests must be one of [provided, compile, runtime, test, system, import] but is 'tests'. @ org.openmrs.distro:referenceapplication:2.9.0, C:\Users\subif\.m2\repository\org\openmrs\distro\referenceapplication\2.9.0\referenceapplication-2.9.0.pom, line 953, column 12
- [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] Map Location [pom]
- [INFO] Map Location API [jar]
- [INFO] Map Location OMOD [jar]
- [INFO]
- [INFO] ----------------< org.openmrs.maplocation:maplocation >-----------------
- [INFO] Building Map Location 1.0.0-SNAPSHOT [1/3]
- [INFO] --------------------------------[ pom ]---------------------------------
- [INFO]
- [INFO] --- buildnumber-maven-plugin:1.1:create (default) @ maplocation ---
- [INFO] Checking for local modifications: skipped.
- [INFO] Updating project files from SCM: skipped.
- [INFO] ShortRevision tag detected. The value is '6'.
- [INFO] Executing: cmd.exe /X /C "git rev-parse --verify --short=6 HEAD"
- [INFO] Working directory: C:\Users\subif\maplocation
- [INFO] Storing buildNumber: 0 at timestamp: 1563786816903
- [INFO] ShortRevision tag detected. The value is '6'.
- [INFO] Executing: cmd.exe /X /C "git rev-parse --verify --short=6 HEAD"
- [INFO] Working directory: C:\Users\subif\maplocation
- [INFO] Storing buildScmBranch: UNKNOWN_BRANCH
- [INFO]
- [INFO] --- maven-java-formatter-plugin:0.4:format (default) @ maplocation ---
- [INFO] Using 'UTF-8' encoding to format source files.
- [INFO] Number of files to be formatted: 0
- [INFO]
- [INFO] --- maven-antrun-plugin:1.3:run (default) @ maplocation ---
- [INFO] Executing tasks
- [copy] Copying 6 files to C:\Users\subif\openmrs\distro-2-9-0\tmp\openmrs\WEB-INF\view\module\maven-parent-openmrs-module
- [INFO] Executed tasks
- [INFO]
- [INFO] --------------< org.openmrs.maplocation:maplocation-api >---------------
- [INFO] Building Map Location API 1.0.0-SNAPSHOT [2/3]
- [INFO] --------------------------------[ jar ]---------------------------------
- [INFO]
- [INFO] --- buildnumber-maven-plugin:1.1:create (default) @ maplocation-api ---
- [INFO]
- [INFO] --- maven-java-formatter-plugin:0.4:format (default) @ maplocation-api ---
- [INFO] Using 'UTF-8' encoding to format source files.
- [INFO] Number of files to be formatted: 8
- [INFO] Successfully formatted: 0 file(s)
- [INFO] Fail to format : 0 file(s)
- [INFO] Skipped : 8 file(s)
- [INFO] Approximate time taken: 0s
- [INFO]
- [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ maplocation-api ---
- [INFO] Using 'UTF-8' encoding to copy filtered resources.
- [INFO] Copying 5 resources
- [INFO] Copying 0 resource
- [INFO] skip non existing resourceDirectory C:\Users\subif\maplocation\api\src\main\webapp
- [INFO] skip non existing resourceDirectory C:\Users\subif\maplocation\api\src\main\webapp
- [INFO]
- [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ maplocation-api ---
- [INFO] Nothing to compile - all classes are up to date
- [INFO]
- [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ maplocation-api ---
- [INFO] Using 'UTF-8' encoding to copy filtered resources.
- [INFO] skip non existing resourceDirectory C:\Users\subif\maplocation\api\src\test\resources
- [INFO] skip non existing resourceDirectory C:\Users\subif\maplocation\api\src\test\resources
- [INFO]
- [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ maplocation-api ---
- [INFO] Changes detected - recompiling the module!
- [INFO] Compiling 2 source files to C:\Users\subif\maplocation\api\target\test-classes
- [INFO]
- [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ maplocation-api ---
- [INFO] Surefire report directory: C:\Users\subif\maplocation\api\target\surefire-reports
- -------------------------------------------------------
- T E S T S
- -------------------------------------------------------
- Running org.openmrs.module.maplocation.api.dao.MapLocationDaoTest
- Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.858 sec
- Running org.openmrs.module.maplocation.api.MapLocationServiceTest
- Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.131 sec
- Results :
- Tests run: 2, Failures: 0, Errors: 0, Skipped: 0
- [INFO]
- [INFO] --- maven-jar-plugin:2.5:jar (default-jar) @ maplocation-api ---
- [INFO] Building jar: C:\Users\subif\maplocation\api\target\maplocation-api-1.0.0-SNAPSHOT.jar
- [INFO]
- [INFO] --- maven-antrun-plugin:1.3:run (default) @ maplocation-api ---
- [INFO] Executing tasks
- [INFO] ------------------------------------------------------------------------
- [INFO] Reactor Summary for Map Location 1.0.0-SNAPSHOT:
- [INFO]
- [INFO] Map Location ....................................... SUCCESS [ 1.448 s]
- [INFO] Map Location API ................................... FAILURE [ 12.679 s]
- [INFO] Map Location OMOD .................................. SKIPPED
- [INFO] ------------------------------------------------------------------------
- [INFO] BUILD FAILURE
- [INFO] ------------------------------------------------------------------------
- [INFO] Total time: 15.283 s
- [INFO] Finished at: 2019-07-22T02:13:50-07:00
- [INFO] ------------------------------------------------------------------------
- [ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.3:run (default) on project maplocation-api: An Ant BuildException has occured: C:\Users\subif\maplocation\api\omod\src\main\webapp not found. -> [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 :maplocation-api
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement