Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Windows PowerShell
- Copyright (C) Microsoft Corporation. All rights reserved.
- Try the new cross-platform PowerShell https://aka.ms/pscore6
- PS C:\Users\DELL> del C:\Users\DELL\.m2\settings.xml
- PS C:\Users\DELL> mvn org.openmrs.maven.plugins:openmrs-sdk-maven-plugin:4.0.0:setup-sdk
- [INFO] Scanning for projects...
- Downloading from central: https://repo.maven.apache.org/maven2/org/openmrs/maven/plugins/openmrs-sdk-maven-plugin/4.0.0/openmrs-sdk-maven-plugin-4.0.0.pom
- [WARNING] The POM for org.openmrs.maven.plugins:openmrs-sdk-maven-plugin:jar:4.0.0 is missing, no dependency information available
- Downloading from central: https://repo.maven.apache.org/maven2/org/openmrs/maven/plugins/openmrs-sdk-maven-plugin/4.0.0/openmrs-sdk-maven-plugin-4.0.0.jar
- [INFO] ------------------------------------------------------------------------
- [INFO] BUILD FAILURE
- [INFO] ------------------------------------------------------------------------
- [INFO] Total time: 3.689 s
- [INFO] Finished at: 2021-05-04T20:10:05+03:00
- [INFO] ------------------------------------------------------------------------
- [ERROR] Plugin org.openmrs.maven.plugins:openmrs-sdk-maven-plugin:4.0.0 or one of its dependencies could not be resolved: Could not find artifact org.openmrs.maven.plugins:openmrs-sdk-maven-plugin:jar:4.0.0 in central (https://repo.maven.apache.org/maven2) -> [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/PluginResolutionException
- PS C:\Users\DELL> mvn -X
- Apache Maven 3.8.1 (05c21c65bdfed0f71a2f2ada8b84da59348c4c5d)
- Maven home: C:\Users\DELL\Downloads\apache-maven-3.8.1-bin\apache-maven-3.8.1\bin\..
- Java version: 1.8.0_281, vendor: Oracle Corporation, runtime: C:\Program Files\Java\jdk1.8.0_281\jre
- Default locale: en_US, platform encoding: Cp1252
- OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"
- [DEBUG] Created new class realm maven.api
- [DEBUG] Importing foreign packages into class realm maven.api
- [DEBUG] Imported: javax.annotation.* < plexus.core
- [DEBUG] Imported: javax.annotation.security.* < plexus.core
- [DEBUG] Imported: javax.enterprise.inject.* < plexus.core
- [DEBUG] Imported: javax.enterprise.util.* < plexus.core
- [DEBUG] Imported: javax.inject.* < plexus.core
- [DEBUG] Imported: org.apache.maven.* < plexus.core
- [DEBUG] Imported: org.apache.maven.artifact < plexus.core
- [DEBUG] Imported: org.apache.maven.classrealm < plexus.core
- [DEBUG] Imported: org.apache.maven.cli < plexus.core
- [DEBUG] Imported: org.apache.maven.configuration < plexus.core
- [DEBUG] Imported: org.apache.maven.exception < plexus.core
- [DEBUG] Imported: org.apache.maven.execution < plexus.core
- [DEBUG] Imported: org.apache.maven.execution.scope < plexus.core
- [DEBUG] Imported: org.apache.maven.lifecycle < plexus.core
- [DEBUG] Imported: org.apache.maven.model < plexus.core
- [DEBUG] Imported: org.apache.maven.monitor < plexus.core
- [DEBUG] Imported: org.apache.maven.plugin < plexus.core
- [DEBUG] Imported: org.apache.maven.profiles < plexus.core
- [DEBUG] Imported: org.apache.maven.project < plexus.core
- [DEBUG] Imported: org.apache.maven.reporting < plexus.core
- [DEBUG] Imported: org.apache.maven.repository < plexus.core
- [DEBUG] Imported: org.apache.maven.rtinfo < plexus.core
- [DEBUG] Imported: org.apache.maven.settings < plexus.core
- [DEBUG] Imported: org.apache.maven.toolchain < plexus.core
- [DEBUG] Imported: org.apache.maven.usability < plexus.core
- [DEBUG] Imported: org.apache.maven.wagon.* < plexus.core
- [DEBUG] Imported: org.apache.maven.wagon.authentication < plexus.core
- [DEBUG] Imported: org.apache.maven.wagon.authorization < plexus.core
- [DEBUG] Imported: org.apache.maven.wagon.events < plexus.core
- [DEBUG] Imported: org.apache.maven.wagon.observers < plexus.core
- [DEBUG] Imported: org.apache.maven.wagon.proxy < plexus.core
- [DEBUG] Imported: org.apache.maven.wagon.repository < plexus.core
- [DEBUG] Imported: org.apache.maven.wagon.resource < plexus.core
- [DEBUG] Imported: org.codehaus.classworlds < plexus.core
- [DEBUG] Imported: org.codehaus.plexus.* < plexus.core
- [DEBUG] Imported: org.codehaus.plexus.classworlds < plexus.core
- [DEBUG] Imported: org.codehaus.plexus.component < plexus.core
- [DEBUG] Imported: org.codehaus.plexus.configuration < plexus.core
- [DEBUG] Imported: org.codehaus.plexus.container < plexus.core
- [DEBUG] Imported: org.codehaus.plexus.context < plexus.core
- [DEBUG] Imported: org.codehaus.plexus.lifecycle < plexus.core
- [DEBUG] Imported: org.codehaus.plexus.logging < plexus.core
- [DEBUG] Imported: org.codehaus.plexus.personality < plexus.core
- [DEBUG] Imported: org.codehaus.plexus.util.xml.Xpp3Dom < plexus.core
- [DEBUG] Imported: org.codehaus.plexus.util.xml.pull.XmlPullParser < plexus.core
- [DEBUG] Imported: org.codehaus.plexus.util.xml.pull.XmlPullParserException < plexus.core
- [DEBUG] Imported: org.codehaus.plexus.util.xml.pull.XmlSerializer < plexus.core
- [DEBUG] Imported: org.eclipse.aether.* < plexus.core
- [DEBUG] Imported: org.eclipse.aether.artifact < plexus.core
- [DEBUG] Imported: org.eclipse.aether.collection < plexus.core
- [DEBUG] Imported: org.eclipse.aether.deployment < plexus.core
- [DEBUG] Imported: org.eclipse.aether.graph < plexus.core
- [DEBUG] Imported: org.eclipse.aether.impl < plexus.core
- [DEBUG] Imported: org.eclipse.aether.installation < plexus.core
- [DEBUG] Imported: org.eclipse.aether.internal.impl < plexus.core
- [DEBUG] Imported: org.eclipse.aether.metadata < plexus.core
- [DEBUG] Imported: org.eclipse.aether.repository < plexus.core
- [DEBUG] Imported: org.eclipse.aether.resolution < plexus.core
- [DEBUG] Imported: org.eclipse.aether.spi < plexus.core
- [DEBUG] Imported: org.eclipse.aether.transfer < plexus.core
- [DEBUG] Imported: org.eclipse.aether.version < plexus.core
- [DEBUG] Imported: org.fusesource.jansi.* < plexus.core
- [DEBUG] Imported: org.slf4j.* < plexus.core
- [DEBUG] Imported: org.slf4j.event.* < plexus.core
- [DEBUG] Imported: org.slf4j.helpers.* < plexus.core
- [DEBUG] Imported: org.slf4j.spi.* < plexus.core
- [DEBUG] Populating class realm maven.api
- [INFO] Error stacktraces are turned on.
- [DEBUG] Message scheme: color
- [DEBUG] Message styles: debug info warning error success failure strong mojo project
- [DEBUG] Reading global settings from C:\Users\DELL\Downloads\apache-maven-3.8.1-bin\apache-maven-3.8.1\bin\..\conf\settings.xml
- [DEBUG] Reading user settings from C:\Users\DELL\.m2\settings.xml
- [DEBUG] Reading global toolchains from C:\Users\DELL\Downloads\apache-maven-3.8.1-bin\apache-maven-3.8.1\bin\..\conf\toolchains.xml
- [DEBUG] Reading user toolchains from C:\Users\DELL\.m2\toolchains.xml
- [DEBUG] Using local repository at C:\Users\DELL\.m2\repository
- [DEBUG] Using manager EnhancedLocalRepositoryManager with priority 10.0 for C:\Users\DELL\.m2\repository
- [INFO] Scanning for projects...
- [DEBUG] Extension realms for project org.apache.maven:standalone-pom:pom:1: (none)
- [DEBUG] Looking up lifecycle mappings for packaging pom from ClassRealm[plexus.core, parent: null]
- [INFO] ------------------------------------------------------------------------
- [INFO] BUILD FAILURE
- [INFO] ------------------------------------------------------------------------
- [INFO] Total time: 0.132 s
- [INFO] Finished at: 2021-05-04T20:11:47+03:00
- [INFO] ------------------------------------------------------------------------
- [ERROR] No goals have been specified for this build. You must specify a valid lifecycle phase or a goal in the format <plugin-prefix>:<goal> or <plugin-group-id>:<plugin-artifact-id>[:<plugin-version>]:<goal>. Available lifecycle phases are: validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy, pre-clean, clean, post-clean, pre-site, site, post-site, site-deploy. -> [Help 1]
- org.apache.maven.lifecycle.NoGoalSpecifiedException: No goals have been specified for this build. You must specify a valid lifecycle phase or a goal in the format <plugin-prefix>:<goal> or <plugin-group-id>:<plugin-artifact-id>[:<plugin-version>]:<goal>. Available lifecycle phases are: validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy, pre-clean, clean, post-clean, pre-site, site, post-site, site-deploy.
- at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:97)
- at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
- at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
- at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
- at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
- at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
- at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
- at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke (Method.java:498)
- at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
- at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
- at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
- at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
- [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/NoGoalSpecifiedException
- PS C:\Users\DELL>
Add Comment
Please, Sign In to add comment