Estou tentando criar uma aplicação web utilizando maven no netbeans…
Nunca fiz isso…
selecionei novo projeto
maven
e depois aplicação web
e me da um retorno na criação do projeto
colocar o -e-X para tentar descobrir nas propriedades de execução do maven
e me retorna tudo isso ai:
cd C:\MasterJava; “JAVA_HOME=C:\Program Files\Java\jdk1.8.0_201” cmd /c “”“C:\Program Files\NetBeans 8.2\java\maven\bin\mvn.bat” -DarchetypeGroupId=org.codehaus.mojo.archetypes -DarchetypeArtifactId=webapp-javaee7 -DarchetypeVersion=1.1 -DarchetypeRepository=http://repo.maven.apache.org/maven2 -DgroupId=br.com.jgs -DartifactId=JgsTesteMaven -Dversion=1.0-SNAPSHOT -Dpackage=br.com.jgs.jgstestemaven -Dbasedir=C:\MasterJava -Darchetype.interactive=false -Dmaven.ext.class.path=“C:\Program Files\NetBeans 8.2\java\maven-nblib\netbeans-eventspy.jar” --batch-mode --errors -e-X archetype:generate""
Apache Maven 3.0.5 (r01de14724cdef164cd33c7c8c2fe155faf9602da; 2013-02-19 10:51:28-0300)
Maven home: C:\Program Files\NetBeans 8.2\java\maven
Java version: 1.8.0_201, vendor: Oracle Corporation
Java home: C:\Program Files\Java\jdk1.8.0_201\jre
Default locale: pt_BR, platform encoding: Cp1252
OS name: “windows 10”, version: “10.0”, arch: “amd64”, family: “dos”
Populating class realm maven.ext
Included C:\Program Files\NetBeans 8.2\java\maven-nblib\netbeans-eventspy.jar
Error stacktraces are turned on.
Reading global settings from C:\Program Files\NetBeans 8.2\java\maven\conf\settings.xml
Reading user settings from C:\Users\Admin.m2\settings.xml
Using local repository at C:\Users\Admin.m2\repository
Using manager EnhancedLocalRepositoryManager with priority 10 for C:\Users\Admin.m2\repository
Scanning for projects…
Extension realms for project org.apache.maven:standalone-pom:pom:1: (none)
Looking up lifecyle mappings for packaging pom from ClassRealm[maven.ext, parent: ClassRealm[plexus.core, parent: null]]
Resolving plugin prefix archetype from [org.apache.maven.plugins, org.codehaus.mojo]
Could not find metadata org.apache.maven.plugins/maven-metadata.xml in local (C:\Users\Admin.m2\repository)
Skipped remote update check for org.apache.maven.plugins/maven-metadata.xml, locally cached metadata up-to-date.
Could not find metadata org.codehaus.mojo/maven-metadata.xml in local (C:\Users\Admin.m2\repository)
Skipped remote update check for org.codehaus.mojo/maven-metadata.xml, locally cached metadata up-to-date.
Resolved plugin prefix archetype to org.apache.maven.plugins:maven-archetype-plugin from repository central
Resolving plugin version for org.apache.maven.plugins:maven-archetype-plugin
Could not find metadata org.apache.maven.plugins:maven-archetype-plugin/maven-metadata.xml in local (C:\Users\Admin.m2\repository)
Skipped remote update check for org.apache.maven.plugins:maven-archetype-plugin/maven-metadata.xml, locally cached metadata up-to-date.
Resolved plugin version for org.apache.maven.plugins:maven-archetype-plugin to 3.1.1 from repository central (http://repo.maven.apache.org/maven2, releases)
=== REACTOR BUILD PLAN ================================================
Project: org.apache.maven:standalone-pom:pom:1
Tasks: [archetype:generate]
Style: Aggregating
Building Maven Stub Project (No POM) 1
Resolving plugin prefix archetype from [org.apache.maven.plugins, org.codehaus.mojo]
Could not find metadata org.apache.maven.plugins/maven-metadata.xml in local (C:\Users\Admin.m2\repository)
Skipped remote update check for org.apache.maven.plugins/maven-metadata.xml, locally cached metadata up-to-date.
Could not find metadata org.codehaus.mojo/maven-metadata.xml in local (C:\Users\Admin.m2\repository)
Skipped remote update check for org.codehaus.mojo/maven-metadata.xml, locally cached metadata up-to-date.
Resolved plugin prefix archetype to org.apache.maven.plugins:maven-archetype-plugin from repository central
Resolving plugin version for org.apache.maven.plugins:maven-archetype-plugin
Could not find metadata org.apache.maven.plugins:maven-archetype-plugin/maven-metadata.xml in local (C:\Users\Admin.m2\repository)
Skipped remote update check for org.apache.maven.plugins:maven-archetype-plugin/maven-metadata.xml, locally cached metadata up-to-date.
Resolved plugin version for org.apache.maven.plugins:maven-archetype-plugin to 3.1.1 from repository central (http://repo.maven.apache.org/maven2, releases)
Lifecycle default -> [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]
Lifecycle clean -> [pre-clean, clean, post-clean]
Lifecycle site -> [pre-site, site, post-site, site-deploy]
Lifecycle default -> [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]
Lifecycle clean -> [pre-clean, clean, post-clean]
Lifecycle site -> [pre-site, site, post-site, site-deploy]
=== PROJECT BUILD PLAN ================================================
Project: org.apache.maven:standalone-pom:1
Dependencies (collect): []
Dependencies (resolve): []
Repositories (dependencies): [central (http://repo.maven.apache.org/maven2, releases)]
Repositories (plugins) : [central (http://repo.maven.apache.org/maven2, releases)]
— init fork of org.apache.maven:standalone-pom:1 for org.apache.maven.plugins:maven-archetype-plugin:3.1.1:generate (default-cli) —
Dependencies (collect): []
Dependencies (resolve): []
— exit fork of org.apache.maven:standalone-pom:1 for org.apache.maven.plugins:maven-archetype-plugin:3.1.1:generate (default-cli) —
Goal: org.apache.maven.plugins:maven-archetype-plugin:3.1.1:generate (default-cli)
Style: Regular
Configuration: <?xml version="1.0" encoding="UTF-8"?>
${archetypeArtifactId}
${archetypeCatalog}
${archetypeGroupId}
${archetypeVersion}
${filter}
${goals}
${interactiveMode}
${outputDirectory}
maven-archetype-plugin:3.1.1:generate (default-cli) @ standalone-pom >>>
<<< maven-archetype-plugin:3.1.1:generate (default-cli) @ standalone-pom <<<
— maven-archetype-plugin:3.1.1:generate (default-cli) @ standalone-pom —
Created new class realm maven.api
Importing foreign packages into class realm maven.api
Imported: org.apache.maven.cli < maven.ext
Imported: org.codehaus.plexus.lifecycle < maven.ext
Imported: org.apache.maven.lifecycle < maven.ext
Imported: org.apache.maven.repository < maven.ext
Imported: org.codehaus.plexus.personality < maven.ext
Imported: org.apache.maven.usability < maven.ext
Imported: org.codehaus.plexus.configuration < maven.ext
Imported: org.sonatype.aether.version < maven.ext
Imported: org.sonatype.aether.* < maven.ext
Imported: org.sonatype.aether.artifact < maven.ext
Imported: org.apache.maven.* < maven.ext
Imported: org.apache.maven.project < maven.ext
Imported: org.sonatype.aether.repository < maven.ext
Imported: org.sonatype.aether.impl < maven.ext
Imported: org.apache.maven.exception < maven.ext
Imported: org.apache.maven.plugin < maven.ext
Imported: org.sonatype.aether.collection < maven.ext
Imported: org.codehaus.plexus.* < maven.ext
Imported: org.codehaus.plexus.logging < maven.ext
Imported: org.apache.maven.profiles < maven.ext
Imported: org.sonatype.aether.metadata < maven.ext
Imported: org.sonatype.aether.spi < maven.ext
Imported: org.codehaus.plexus.util.xml.pull.XmlPullParserException < maven.ext
Imported: org.apache.maven.wagon.* < maven.ext
Imported: org.sonatype.aether.graph < maven.ext
Imported: org.apache.maven.rtinfo < maven.ext
Imported: org.sonatype.aether.installation < maven.ext
Imported: org.apache.maven.monitor < maven.ext
Imported: org.sonatype.aether.transfer < maven.ext
Imported: org.codehaus.plexus.context < maven.ext
Imported: org.apache.maven.wagon.observers < maven.ext
Imported: org.apache.maven.wagon.resource < maven.ext
Imported: org.sonatype.aether.deployment < maven.ext
Imported: org.apache.maven.model < maven.ext
Imported: org.codehaus.plexus.util.xml.Xpp3Dom < maven.ext
Imported: org.apache.maven.artifact < maven.ext
Imported: org.apache.maven.toolchain < maven.ext
Imported: org.codehaus.plexus.util.xml.pull.XmlSerializer < maven.ext
Imported: org.apache.maven.settings < maven.ext
Imported: org.apache.maven.wagon.authorization < maven.ext
Imported: org.apache.maven.wagon.events < maven.ext
Imported: org.apache.maven.wagon.authentication < maven.ext
Imported: org.apache.maven.reporting < maven.ext
Imported: org.apache.maven.wagon.repository < maven.ext
Imported: org.apache.maven.configuration < maven.ext
Imported: org.codehaus.plexus.classworlds < maven.ext
Imported: org.codehaus.classworlds < maven.ext
Imported: org.codehaus.plexus.util.xml.pull.XmlPullParser < maven.ext
Imported: org.apache.maven.classrealm < maven.ext
Imported: org.sonatype.aether.resolution < maven.ext
Imported: org.apache.maven.execution < maven.ext
Imported: org.apache.maven.wagon.proxy < maven.ext
Imported: org.codehaus.plexus.container < maven.ext
Imported: org.codehaus.plexus.component < maven.ext
Populating class realm maven.api
org.apache.maven.plugins:maven-archetype-plugin:jar:3.1.1:
org.apache.maven.archetype:archetype-catalog:jar:3.1.1:compile
org.apache.maven.archetype:archetype-descriptor:jar:3.1.1:compile
org.apache.maven.archetype:archetype-common:jar:3.1.1:compile
org.codehaus.groovy:groovy:jar:2.4.16:compile
org.apache.ivy:ivy:jar:2.4.0:runtime
net.sourceforge.jchardet:jchardet:jar:1.0:compile
org.codehaus.plexus:plexus-component-annotations:jar:1.7.1:compile (version managed from 1.5.5)
jdom:jdom:jar:1.0:compile
org.apache.maven:maven-artifact:jar:3.0:compile
org.apache.maven:maven-settings-builder:jar:3.0:compile
commons-io:commons-io:jar:2.2:compile
org.codehaus.plexus:plexus-velocity:jar:1.1.8:compile
org.apache.velocity:velocity:jar:1.7:compile
commons-lang:commons-lang:jar:2.4:compile
org.apache.maven.wagon:wagon-provider-api:jar:2.8:compile
org.codehaus.plexus:plexus-utils:jar:3.0.21:compile
org.codehaus.plexus:plexus-interactivity-api:jar:1.0-alpha-6:compile
org.apache.maven:maven-plugin-api:jar:3.0:compile
org.sonatype.sisu:sisu-inject-plexus:jar:1.4.2:compile
org.sonatype.sisu:sisu-inject-bean:jar:1.4.2:compile
org.sonatype.sisu:sisu-guice:jar:noaop:2.1.7:compile
org.apache.maven:maven-core:jar:3.0:compile
org.apache.maven:maven-repository-metadata:jar:3.0:compile
org.apache.maven:maven-model-builder:jar:3.0:compile
org.apache.maven:maven-aether-provider:jar:3.0:runtime
org.sonatype.aether:aether-impl:jar:1.7:compile
org.sonatype.aether:aether-spi:jar:1.7:compile
org.sonatype.aether:aether-api:jar:1.7:compile
org.sonatype.aether:aether-util:jar:1.7:compile
org.codehaus.plexus:plexus-interpolation:jar:1.14:compile
org.codehaus.plexus:plexus-classworlds:jar:2.2.3:compile
org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3:compile
org.sonatype.plexus:plexus-cipher:jar:1.4:compile
org.apache.maven:maven-model:jar:3.0:compile
org.apache.maven:maven-settings:jar:3.0:compile
org.apache.maven.shared:maven-invoker:jar:3.0.1:compile
org.apache.maven.shared:maven-shared-utils:jar:3.2.1:compile
org.apache.maven.shared:maven-artifact-transfer:jar:0.9.0:compile
org.apache.maven.shared:maven-common-artifact-filters:jar:3.0.0:compile
commons-codec:commons-codec:jar:1.6:compile
org.slf4j:slf4j-api:jar:1.7.5:compile
commons-collections:commons-collections:jar:3.2.1:compile
org.apache.maven.shared:maven-script-interpreter:jar:1.0:compile
org.beanshell:bsh:jar:2.0b4:compile
org.apache.ant:ant:jar:1.8.1:compile
Created new class realm plugin>org.apache.maven.plugins:maven-archetype-plugin:3.1.1
Importing foreign packages into class realm plugin>org.apache.maven.plugins:maven-archetype-plugin:3.1.1
Imported: < maven.api
Populating class realm plugin>org.apache.maven.plugins:maven-archetype-plugin:3.1.1
Included: org.apache.maven.plugins:maven-archetype-plugin:jar:3.1.1
Included: org.apache.maven.archetype:archetype-catalog:jar:3.1.1
Included: org.apache.maven.archetype:archetype-descriptor:jar:3.1.1
Included: org.apache.maven.archetype:archetype-common:jar:3.1.1
Included: org.codehaus.groovy:groovy:jar:2.4.16
Included: org.apache.ivy:ivy:jar:2.4.0
Included: net.sourceforge.jchardet:jchardet:jar:1.0
Included: org.codehaus.plexus:plexus-component-annotations:jar:1.7.1
Included: jdom:jdom:jar:1.0
Included: commons-io:commons-io:jar:2.2
Included: org.codehaus.plexus:plexus-velocity:jar:1.1.8
Included: org.apache.velocity:velocity:jar:1.7
Included: commons-lang:commons-lang:jar:2.4
Included: org.codehaus.plexus:plexus-utils:jar:3.0.21
Included: org.codehaus.plexus:plexus-interactivity-api:jar:1.0-alpha-6
Included: org.sonatype.sisu:sisu-inject-bean:jar:1.4.2
Included: org.sonatype.sisu:sisu-guice:jar:noaop:2.1.7
Included: org.sonatype.aether:aether-util:jar:1.7
Included: org.codehaus.plexus:plexus-interpolation:jar:1.14
Included: org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3
Included: org.sonatype.plexus:plexus-cipher:jar:1.4
Included: org.apache.maven.shared:maven-invoker:jar:3.0.1
Included: org.apache.maven.shared:maven-shared-utils:jar:3.2.1
Included: org.apache.maven.shared:maven-artifact-transfer:jar:0.9.0
Included: org.apache.maven.shared:maven-common-artifact-filters:jar:3.0.0
Included: commons-codec:commons-codec:jar:1.6
Included: org.slf4j:slf4j-api:jar:1.7.5
Included: commons-collections:commons-collections:jar:3.2.1
Included: org.apache.maven.shared:maven-script-interpreter:jar:1.0
Included: org.beanshell:bsh:jar:2.0b4
Included: org.apache.ant:ant:jar:1.8.1
Excluded: org.apache.maven:maven-artifact:jar:3.0
Excluded: org.apache.maven:maven-settings-builder:jar:3.0
Excluded: org.apache.maven.wagon:wagon-provider-api:jar:2.8
Excluded: org.apache.maven:maven-plugin-api:jar:3.0
Excluded: org.sonatype.sisu:sisu-inject-plexus:jar:1.4.2
Excluded: org.apache.maven:maven-core:jar:3.0
Excluded: org.apache.maven:maven-repository-metadata:jar:3.0
Excluded: org.apache.maven:maven-model-builder:jar:3.0
Excluded: org.apache.maven:maven-aether-provider:jar:3.0
Excluded: org.sonatype.aether:aether-impl:jar:1.7
Excluded: org.sonatype.aether:aether-spi:jar:1.7
Excluded: org.sonatype.aether:aether-api:jar:1.7
Excluded: org.codehaus.plexus:plexus-classworlds:jar:2.2.3
Excluded: org.apache.maven:maven-model:jar:3.0
Excluded: org.apache.maven:maven-settings:jar:3.0
Configuring mojo org.apache.maven.plugins:maven-archetype-plugin:3.1.1:generate from plugin realm ClassRealm[plugin>org.apache.maven.plugins:maven-archetype-plugin:3.1.1, parent: sun.misc.Launcher$AppClassLoader@4e25154f]
Setting property: classpath.resource.loader.class => ‘org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader’.
Setting property: site.resource.loader.class => ‘org.codehaus.plexus.velocity.SiteResourceLoader’.
Setting property: velocimacro.messages.on => ‘false’.
Setting property: resource.loader => ‘classpath,site’.
Setting property: runtime.log.invalid.references => ‘false’.
Setting property: resource.manager.logwhenfound => ‘false’.
Initializing Velocity, Calling init()…
Starting Apache Velocity v1.7 (compiled: 2010-11-19 12:14:37)
RuntimeInstance initializing.
Default Properties File: org\apache\velocity\runtime\defaults\velocity.properties
LogSystem has been deprecated. Please use a LogChute implementation.
Default ResourceManager initializing. (class org.apache.velocity.runtime.resource.ResourceManagerImpl)
ResourceLoader instantiated: org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader
ResourceLoader instantiated: org.codehaus.plexus.velocity.SiteResourceLoader
ResourceCache: initialized (class org.apache.velocity.runtime.resource.ResourceCacheImpl) with class java.util.Collections$SynchronizedMap cache map.
Default ResourceManager initialization complete.
Loaded System Directive: org.apache.velocity.runtime.directive.Stop
Loaded System Directive: org.apache.velocity.runtime.directive.Define
Loaded System Directive: org.apache.velocity.runtime.directive.Break
Loaded System Directive: org.apache.velocity.runtime.directive.Evaluate
Loaded System Directive: org.apache.velocity.runtime.directive.Literal
Loaded System Directive: org.apache.velocity.runtime.directive.Macro
Loaded System Directive: org.apache.velocity.runtime.directive.Parse
Loaded System Directive: org.apache.velocity.runtime.directive.Include
Loaded System Directive: org.apache.velocity.runtime.directive.Foreach
Created ‘20’ parsers.
Velocimacro : initialization starting.
Velocimacro : allowInline = true : VMs can be defined inline in templates
Velocimacro : allowInlineToOverride = false : VMs defined inline may NOT replace previous VM definitions
Velocimacro : allowInlineLocal = false : VMs defined inline will be global in scope if allowed.
Velocimacro : autoload off : VM system will not automatically reload global library macros
Velocimacro : Velocimacro : initialization complete.
RuntimeInstance successfully initialized.
Configuring mojo ‘org.apache.maven.plugins:maven-archetype-plugin:3.1.1:generate’ with basic configurator -->
(f) archetypeArtifactId = webapp-javaee7
(f) archetypeCatalog = remote,local
(f) archetypeGroupId = org.codehaus.mojo.archetypes
(f) archetypeVersion = 1.1
(f) interactiveMode = false
(f) localRepository = id: local
url: file:///C:/Users/Admin/.m2/repository/
layout: none
(f) outputDirectory = C:\MasterJava
(f) remoteArtifactRepositories = [ id: central
url: http://repo.maven.apache.org/maven2
layout: default
snapshots: [enabled => false, update => daily]
releases: [enabled => true, update => daily]
]
(f) session = org.apache.maven.execution.MavenSession@29df4d43
– end configuration –
Generating project in Batch mode
Searching for remote catalog: http://repo.maven.apache.org/maven2/archetype-catalog.xml
No archetype found in remote catalog. Defaulting to internal catalog
Using catalog C:\Users\Admin.m2\repository\archetype-catalog.xml
Archetype not found in any catalog. Falling back to central repository.
Add a repository with id ‘archetype’ in your settings.xml if archetype’s repository is elsewhere.
Not found archetype org.codehaus.mojo.archetypes:webapp-javaee7:1.1 in cache
Using connector WagonRepositoryConnector with priority 0 for http://repo.maven.apache.org/maven2
Downloading: http://repo.maven.apache.org/maven2/org/codehaus/mojo/archetypes/webapp-javaee7/1.1/webapp-javaee7-1.1.pom
Writing resolution tracking file C:\Users\Admin.m2\repository\org\codehaus\mojo\archetypes\webapp-javaee7\1.1\webapp-javaee7-1.1.pom.lastUpdated
Archetype org.codehaus.mojo.archetypes:webapp-javaee7:1.1 doesn’t exist
org.apache.maven.archetype.downloader.DownloadException: Error downloading org.codehaus.mojo.archetypes:webapp-javaee7:jar:1.1.
at org.apache.maven.archetype.downloader.DefaultDownloader.download(DefaultDownloader.java:84)
at org.apache.maven.archetype.common.DefaultArchetypeArtifactManager.exists(DefaultArchetypeArtifactManager.java:248)
at org.apache.maven.archetype.ui.generation.DefaultArchetypeGenerationConfigurator.configureArchetype(DefaultArchetypeGenerationConfigurator.java:121)
at org.apache.maven.archetype.mojos.CreateProjectFromArchetypeMojo.execute(CreateProjectFromArchetypeMojo.java:201)
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: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: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: org.apache.maven.shared.artifact.resolve.ArtifactResolverException: Failed to read artifact descriptor for org.codehaus.mojo.archetypes:webapp-javaee7:jar:1.1
at org.apache.maven.shared.artifact.resolve.internal.Maven30ArtifactResolver.resolveArtifact(Maven30ArtifactResolver.java:112)
at org.apache.maven.shared.artifact.resolve.internal.Maven30ArtifactResolver.resolveArtifact(Maven30ArtifactResolver.java:80)
at org.apache.maven.shared.artifact.resolve.internal.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:73)
at org.apache.maven.archetype.downloader.DefaultDownloader.download(DefaultDownloader.java:80)
… 24 more
Caused by: org.sonatype.aether.resolution.ArtifactDescriptorException: Failed to read artifact descriptor for org.codehaus.mojo.archetypes:webapp-javaee7:jar:1.1
at org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.loadPom(DefaultArtifactDescriptorReader.java:296)
at org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.readArtifactDescriptor(DefaultArtifactDescriptorReader.java:186)
at org.sonatype.aether.impl.internal.DefaultRepositorySystem.readArtifactDescriptor(DefaultRepositorySystem.java:279)
at org.apache.maven.shared.artifact.resolve.internal.Maven30ArtifactResolver.resolveArtifact(Maven30ArtifactResolver.java:103)
… 27 more
Caused by: org.sonatype.aether.resolution.ArtifactResolutionException: Could not transfer artifact org.codehaus.mojo.archetypes:webapp-javaee7:pom:1.1 from/to central (http://repo.maven.apache.org/maven2): Failed to transfer file: http://repo.maven.apache.org/maven2/org/codehaus/mojo/archetypes/webapp-javaee7/1.1/webapp-javaee7-1.1.pom. Return code is: 501 , ReasonPhrase:HTTPS Required.
at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:538)
at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:216)
at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:193)
at org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.loadPom(DefaultArtifactDescriptorReader.java:281)
… 30 more
Caused by: org.sonatype.aether.transfer.ArtifactTransferException: Could not transfer artifact org.codehaus.mojo.archetypes:webapp-javaee7:pom:1.1 from/to central (http://repo.maven.apache.org/maven2): Failed to transfer file: http://repo.maven.apache.org/maven2/org/codehaus/mojo/archetypes/webapp-javaee7/1.1/webapp-javaee7-1.1.pom. Return code is: 501 , ReasonPhrase:HTTPS Required.
at org.sonatype.aether.connector.wagon.WagonRepositoryConnector$4.wrap(WagonRepositoryConnector.java:951)
at org.sonatype.aether.connector.wagon.WagonRepositoryConnector$4.wrap(WagonRepositoryConnector.java:941)
at org.sonatype.aether.connector.wagon.WagonRepositoryConnector$GetTask.run(WagonRepositoryConnector.java:669)
at org.sonatype.aether.util.concurrency.RunnableErrorForwarder$1.run(RunnableErrorForwarder.java:60)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: org.apache.maven.wagon.TransferFailedException: Failed to transfer file: http://repo.maven.apache.org/maven2/org/codehaus/mojo/archetypes/webapp-javaee7/1.1/webapp-javaee7-1.1.pom. Return code is: 501 , ReasonPhrase:HTTPS Required.
at org.apache.maven.wagon.providers.http.AbstractHttpClientWagon.fillInputData(AbstractHttpClientWagon.java:1021)
at org.apache.maven.wagon.providers.http.AbstractHttpClientWagon.fillInputData(AbstractHttpClientWagon.java:960)
at org.apache.maven.wagon.StreamWagon.getInputStream(StreamWagon.java:116)
at org.apache.maven.wagon.StreamWagon.getIfNewer(StreamWagon.java:88)
at org.apache.maven.wagon.StreamWagon.get(StreamWagon.java:61)
at org.sonatype.aether.connector.wagon.WagonRepositoryConnector$GetTask.run(WagonRepositoryConnector.java:601)
… 4 more
BUILD FAILURE
Total time: 3.030s
Finished at: Mon Feb 10 12:08:37 BRST 2020
Final Memory: 14M/123M
Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:3.1.1:generate (default-cli) on project standalone-pom: The desired archetype does not exist (org.codehaus.mojo.archetypes:webapp-javaee7:1.1) -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:3.1.1:generate (default-cli) on project standalone-pom: The desired archetype does not exist (org.codehaus.mojo.archetypes:webapp-javaee7:1.1)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213)
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: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: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: org.apache.maven.plugin.MojoFailureException: The desired archetype does not exist (org.codehaus.mojo.archetypes:webapp-javaee7:1.1)
at org.apache.maven.archetype.mojos.CreateProjectFromArchetypeMojo.execute(CreateProjectFromArchetypeMojo.java:217)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
… 19 more
Caused by: org.apache.maven.archetype.exception.UnknownArchetype: The desired archetype does not exist (org.codehaus.mojo.archetypes:webapp-javaee7:1.1)
at org.apache.maven.archetype.ui.generation.DefaultArchetypeGenerationConfigurator.configureArchetype(DefaultArchetypeGenerationConfigurator.java:126)
at org.apache.maven.archetype.mojos.CreateProjectFromArchetypeMojo.execute(CreateProjectFromArchetypeMojo.java:201)
… 21 more
For more information about the errors and possible solutions, please read the following articles:
[Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
se alguém poder me dar uma dica eu agradeço