I want to build a simple project using a existing archetype. But I can’t run mvn archetype:generate
as it keeps telling me the following information
[ERROR] No plugin found for prefix 'archetype' in the current project and in the
plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the
repositories [local (C:Documents and Settingsccen.m2repository), central (ht
tp://repo1.maven.org/maven2)] -> [Help 1]
I was using MS Windows and didn’t use any settings.xml
in my ~/.m2 folder and all stuff is brand new. Could any one help me to figure it out?
asked Jun 24, 2011 at 19:23
Arrow CenArrow Cen
7231 gold badge8 silver badges21 bronze badges
The other thing that could be going wrong is that your machine is behind a firewall or proxy so your box is not able to hit http://repo1.maven.org/maven2
. Try accessing this URL directly in a browser or something to test if you are able to make the request.
answered Jun 24, 2011 at 19:41
Jesse WebbJesse Webb
42.8k27 gold badges106 silver badges143 bronze badges
6
The command you should be using to generate a project with an archetype is…
mvn archetype:generate
The command you posted in your question was wrong (missing the first ‘e’ in archetype). I assume this is just a typo in SO though because the error you posted had archetype spelled correctly.
I believe this error will occur if you are trying to execute this command from a directory that already has a pom.xml
file in it. It will try to find an archetype plugin configuration inside the existing pom.xml
file.
Try the command again in an empty directory, or at least in one that doesn’t have a pom.xml
file and it should work.
answered Jun 24, 2011 at 19:38
Jesse WebbJesse Webb
42.8k27 gold badges106 silver badges143 bronze badges
2
In case you are behind coporate firewall , configure the proxy setting using «settings.xml» under /conf directory
username,password,host&port values need to be provided.
|
<proxy>
<id>optional</id>
<active>true</active>
<protocol>http</protocol>
<username>proxyuser</username>
<password>proxypass</password>
<host>proxy.host.net</host>
<port>80</port>
<nonProxyHosts>local.net|some.host.com</nonProxyHosts>
</proxy>
answered Jan 30, 2013 at 12:18
tejaspillaitejaspillai
3163 silver badges7 bronze badges
This is the issue with your firewall. To check if firewall is on:
Click Start-> click Run-> type wscui.cpl -> click OK.
In Windows Security Center-> click Security
If net work Network Firewall is «on» you need to set the proxy for maven.
Go to /conf -> open settings.xml with notepad
uncomment proxy (if you don’t remember proxy settings u can check in webbrowser u r using)
<proxies>
<proxy>
<id>optional</id>
<active>true</active>
<protocol>http</protocol>
<username></username>
<password></password>
<host>www-proxy.us.oracle.com</host>
<port>80</port>
<nonProxyHosts></nonProxyHosts>
</proxy>
</proxies>
You can leave the username and pwd fields blank and set only host and port.
venerik
5,7382 gold badges33 silver badges43 bronze badges
answered Mar 1, 2014 at 8:59
Pavan EbbadiPavan Ebbadi
8521 gold badge13 silver badges26 bronze badges
1
Another problem with Windows (Vista ,Windows 7 onward) is that the command prompt should be running under Administrative privileges (Right click command prompt shortcut and choose «Run ad Administrator» if UAC is on), so simply run command prompt as Administrator before executing mvn archetype:generate.
I had faced this issue while creating vaadin 7 project under windows 7 using following command.
mvn archetype:generate -DarchetypeGroupId=com.vaadin -DarchetypeArtifactId=vaadin-archetype-application -DarchetypeVersion=7.1.8 -DgroupId=im.sma.testproject -DartifactId=testproject -Dversion=1.0 -Dpackaging=war
- SMA
answered Dec 4, 2013 at 20:37
I was banging with this problem 2 days, I checked proxy , copied settings.xml from conf folder , deleted user local .m2 folder , came out of eclipse and installed maven directly and tried . None of the above worked.
Finallay the problem fixed by upgrading java home form 1.7 to 1.8 . My maven version is Apache Maven 3.6.3 .
Maven should report proper error for the specific issue but it is not.
Up voted the suggestion of java upgrade in this thread , previously they were down voted
answered Mar 14, 2020 at 11:58
- To add Venerik’s answer I would elaborate a bit for the naive users like me;
proxy settings in maven
go to apache-maven-3.3.9conf folder and find settings.xml
open it in any text editor
go to the block of code that looks like below
<proxies>
<!-- proxy
| Specification for one proxy, to be used in connecting to the network.
|
<proxy>
<id>optional</id>
<active>true</active>
<protocol>http</protocol>
<username>proxyuser</username>
<password>proxypass</password>
<host>proxy.host.net</host>
<port>80</port>
<nonProxyHosts>local.net|some.host.com</nonProxyHosts>
</proxy>
-->
</proxies>
- Now uncomment the code from (proxy…/proxy) by cutting it and
pasting it
just after (proxies).
Now change according to your proxy settings
In my case it looks like the following
<proxies>
<proxy>
<id>optional</id>
<active>true</active>
<protocol>http</protocol>
<host>authproxy.serc.iisc.ernet.in</host>
<port>3128</port>
<nonProxyHosts>local.net|some.host.com</nonProxyHosts>
</proxy>
<!-- proxy
| Specification for one proxy, to be used in connecting to the network.
|
-->
</proxies>
Now try running mvn archetype:generate and it should run and download
answered Jun 9, 2016 at 22:34
In my case the solution was just run mvn archtype:generate in Safe Mode under your user profile. After that I could run it in normal boot.
answered Nov 5, 2014 at 1:43
ZhekaZheka
1191 silver badge4 bronze badges
I solved this problem disabling the antivirus for a few time while the project is create .
answered Aug 31, 2016 at 16:41
Got the same issue with maven 3. I just upgraded from jdk7 to jdk8 and the issue was resolved
answered Oct 5, 2018 at 6:58
jonesjones
171 bronze badge
I have face the same problem when using maven 3.6.1 with jdk 1.7.40.
To solve this, i simply update my version of JDk to 1.8.241.
I hope this will help you.
answered May 8, 2019 at 10:04
huberthubert
2,9573 gold badges19 silver badges25 bronze badges
Had same issue and the thing that worked for me was reinstalling java
sudo yum install java
-
Find the path where java is installed, you can use
which java
orwhereis java
orsudo find / -name javac
For me, it was
/usr/lib/jvm/java-11-amazon-corretto.x86_64/bin
-
sudo vi ~/.bashrc
-
add below lines
export PATH=$PATH:/usr/lib/jvm/java-11-amazon-corretto.x86_64/bin
-
source
.bashrc
and then try your command — mvn archetype:generate
.
CKE
1,51319 gold badges18 silver badges29 bronze badges
answered Oct 28, 2019 at 6:06
If this warning is accompanied by the warning:
Received fatal alert: protocol_version
Then check your java version. I was able to solve this issue by upgrading my java version from 7 to 10. See the following:
https://github.com/technomancy/leiningen/issues/2364
answered Jul 13, 2018 at 11:56
Matthew SMatthew S
9002 gold badges12 silver badges26 bronze badges
I had same problem. Root cause: typed mvn generate:archetype instead archetype:generate.
mvn archetype:generate — is correct way.
answered Oct 6, 2016 at 7:58
RobertoRoberto
1,2385 gold badges21 silver badges45 bronze badges
1
At home yes, but I was in a bit of a rush at work and forgot to do that
lol. I also just realized this machine was updated to maven3 at work.
Ok So I ran the clean install then re-ran the same command and received the
same error I received at home, on the work machine.
org.apache.maven.plugins:maven-archetype-plugin:
.2:generate (default-cli) on project spring-mvc-quickstart:
org.apache.maven.ar
hetype.exception.InvalidPackaging: Unable to add module to the current
project
s it is not of packaging type 'pom' -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
goal
rg.apache.maven.plugins:maven-archetype-plugin:2.2:generate (default-cli)
on pr
ject spring-mvc-quickstart:
org.apache.maven.archetype.exception.InvalidPackagi
g: Unable to add module to the current project as it is not of packaging
type '
om'
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecuto
.java:213)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecuto
.java:153)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecuto
.java:145)
at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProj
ct(LifecycleModuleBuilder.java:84)
at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProj
ct(LifecycleModuleBuilder.java:59)
at
org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedB
ild(LifecycleStarter.java:183)
at
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(Lifecyc
eStarter.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:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcce
sorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Lau
cher.java:290)
at
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.ja
a:230)
at
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(L
uncher.java:409)
at
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java
352)
Caused by: org.apache.maven.plugin.MojoFailureException:
org.apache.maven.arche
ype.exception.InvalidPackaging: Unable to add module to the current project
as
t is not of packaging type 'pom'
at
org.apache.maven.archetype.mojos.CreateProjectFromArchetypeMojo.exec
te(CreateProjectFromArchetypeMojo.java:211)
at
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(Defaul
BuildPluginManager.java:101)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecuto
.java:209)
... 19 more
[ERROR]
[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 re
d the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureEx
eption
C:devtestspring-mvc-quickstart-archetype-master>mvn -version
Apache Maven 3.0.5 (r01de14724cdef164cd33c7c8c2fe155faf9602da; 2013-02-19
05:51
28-0800)
Maven home: C:apache-maven-3.0.5
Java version: 1.7.0_10, vendor: Oracle Corporation
Java home: C:Program FilesJavajdk1.7.0_10jre
Default locale: en_US, platform encoding: Cp1252
OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"
C:devtestspring-mvc-quickstart-archetype-master>
On Tue, Mar 18, 2014 at 4:06 PM, Rafal Borowiec notifications@github.comwrote:
> So, when you downloaded the code, did you run: mvn clean install to
> install the archetype in your local repository?
>
> ##
>
> Reply to this email directly or view it on GitHubhttps://github.com/kolorobot/spring-mvc-quickstart-archetype/issues/50#issuecomment-38000145
> .
>
> ```
> ```
I am trying to create a jsf+spring+hibernate from a spring project. Below are the steps i have taken. I have been successful in creating projects in the past using the same method.
I have no idea where i am making the mistake.
Looking for all the hints, where i am going wrong.
NB: I have made the inputs and error messages as bold.
M:SCHOLIONSPRINGmaven>mvn archetype:generate
Choose a number: (1/2/3/4/5/6/7/8/9/10/11/12/13/14/15/16/17/18/19/20/21/22/23/24/25/26/27/28/29/30/31/32/33/34/35/36/37/38/39/40/41/42/43/
**Define value for groupId: : com.unibz
Define value for artifactId: : springacltutorial
Define value for version: 1.0-SNAPSHOT: : 1.0
Define value for package: : springacltutorial
Confirm properties configuration:
groupId: com.unibz
artifactId: springacltutorial
version: 1.0
package: springacltutorial**
Y: : y
[INFO] ----------------------------------------------------------------------------
[INFO] Using following parameters for creating OldArchetype: appfuse-basic-jsf:2.0
[INFO] ----------------------------------------------------------------------------
[INFO] Parameter: groupId, Value: com.unibz
[INFO] Parameter: packageName, Value: springacltutorial
[INFO] Parameter: package, Value: springacltutorial
[INFO] Parameter: artifactId, Value: springacltutorial
[INFO] Parameter: basedir, Value: M:SCHOLIONSPRINGmaven
[INFO] Parameter: version, Value: 1.0
********************* End of debug info from resources from generated POM ***********************
[INFO] OldArchetype created in dir: M:SCHOLIONSPRINGmavenspringacltutorial
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2 minutes 1 second
[INFO] Finished at: Wed Jun 03 11:15:59 CEST 2009
[INFO] Final Memory: 8M/15M
[INFO] ------------------------------------------------------------------------
M:SCHOLIONSPRINGmaven>cd springacltutorial
M:SCHOLIONSPRINGmavenspringacltutorial>dir
Volume in drive M is Data
Volume Serial Number is 76A4-1C35
Directory of M:SCHOLIONSPRINGmavenspringacltutorial
03.06.09 11:15 <DIR> .
03.06.09 11:15 <DIR> ..
03.06.09 11:15 32.930 pom.xml
03.06.09 11:15 826 README.txt
03.06.09 11:15 <DIR> src
2 File(s) 33.756 bytes
3 Dir(s) 8.521.940.992 bytes free
M:SCHOLIONSPRINGmavenspringacltutorial>**mvn compile**
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] **Error building POM (may not be this project's POM).**
Project ID: org.appfuse:maven-warpath-plugin
Reason: POM 'org.appfuse:maven-warpath-plugin' not found in repository: Unable to download the artifact from any repository
org.appfuse:maven-warpath-plugin:pom:2.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1 second
[INFO] Finished at: Wed Jun 03 11:16:12 CEST 2009
[INFO] Final Memory: 1M/4M
[INFO] ------------------------------------------------------------------------
Thank you so much for the quick response. Answer to your questions.
1) I am using maven 3.3.9
2) there is no network issues. I am able to open the urls from the browser
3) All are not working
4) dump is below
C:workVRO>mvn -e -X archetype:generate -DarchetypeCatalog=https://15.218.171.196:8281/vco-repo/archetype-catalog.xml -DrepoUrl=https://15.218.171.196:8281/vco-repo -Dmaven.repo.remote=https://15.218.171.196:8281/vco-repo -Dmave
.wagon.http.ssl.insecure=true -Dmaven.wagon.http.ssl.allowall=true
Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T22:11:47+05:30)
Maven home: C:optapache-maven-3.3.9
Java version: 1.7.0_21, vendor: Oracle Corporation
Java home: C:optJavajdk1.7.0_45jre
Default locale: en_US, platform encoding: Cp1252
OS name: «windows server 2012», version: «6.2», arch: «x86», family: «windows»
[DEBUG] Created new class realm maven.api
[DEBUG] Importing foreign packages into class realm maven.api
[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.slf4j.* < 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] Reading global settings from C:optapache-maven-3.3.9confsettings.xml
[DEBUG] Reading user settings from C:UsersAdministrator.m2settings.xml
[DEBUG] Reading global toolchains from C:optapache-maven-3.3.9conftoolchains.xml
[DEBUG] Reading user toolchains from C:UsersAdministrator.m2toolchains.xml
[DEBUG] Using local repository at C:UsersAdministrator.m2repository
[DEBUG] Using manager EnhancedLocalRepositoryManager with priority 10.0 for C:UsersAdministrator.m2repository
[INFO] Scanning for projects…
[DEBUG] Extension realms for project org.apache.maven:standalone-pom:pom:1: (none)
[DEBUG] Looking up lifecyle mappings for packaging pom from ClassRealm[plexus.core, parent: null]
[DEBUG] Resolving plugin prefix archetype from [org.apache.maven.plugins, org.codehaus.mojo]
[DEBUG] Could not find metadata org.apache.maven.plugins/maven-metadata.xml in local (C:UsersAdministrator.m2repository)
[DEBUG] Skipped remote request for org.apache.maven.plugins/maven-metadata.xml, locally cached metadata up-to-date.
[DEBUG] Could not find metadata org.codehaus.mojo/maven-metadata.xml in local (C:UsersAdministrator.m2repository)
[DEBUG] Skipped remote request for org.codehaus.mojo/maven-metadata.xml, locally cached metadata up-to-date.
[DEBUG] Resolved plugin prefix archetype to org.apache.maven.plugins:maven-archetype-plugin from repository central
[DEBUG] Resolving plugin version for org.apache.maven.plugins:maven-archetype-plugin
[DEBUG] Could not find metadata org.apache.maven.plugins:maven-archetype-plugin/maven-metadata.xml in local (C:UsersAdministrator.m2repository)
[DEBUG] Skipped remote request for org.apache.maven.plugins:maven-archetype-plugin/maven-metadata.xml, locally cached metadata up-to-date.
[DEBUG] Resolved plugin version for org.apache.maven.plugins:maven-archetype-plugin to 2.4 from repository central (https://repo.maven.apache.org/maven2, default, releases)
[DEBUG] === REACTOR BUILD PLAN ================================================
[DEBUG] Project: org.apache.maven:standalone-pom:pom:1
[DEBUG] Tasks: [archetype:generate]
[DEBUG] Style: Aggregating
[DEBUG] =======================================================================
[INFO]
[INFO] ————————————————————————
[INFO] Building Maven Stub Project (No POM) 1
[INFO] ————————————————————————
[DEBUG] Resolving plugin prefix archetype from [org.apache.maven.plugins, org.codehaus.mojo]
[DEBUG] Could not find metadata org.apache.maven.plugins/maven-metadata.xml in local (C:UsersAdministrator.m2repository)
[DEBUG] Skipped remote request for org.apache.maven.plugins/maven-metadata.xml, locally cached metadata up-to-date.
[DEBUG] Could not find metadata org.codehaus.mojo/maven-metadata.xml in local (C:UsersAdministrator.m2repository)
[DEBUG] Skipped remote request for org.codehaus.mojo/maven-metadata.xml, locally cached metadata up-to-date.
[DEBUG] Resolved plugin prefix archetype to org.apache.maven.plugins:maven-archetype-plugin from repository central
[DEBUG] Resolving plugin version for org.apache.maven.plugins:maven-archetype-plugin
[DEBUG] Could not find metadata org.apache.maven.plugins:maven-archetype-plugin/maven-metadata.xml in local (C:UsersAdministrator.m2repository)
[DEBUG] Skipped remote request for org.apache.maven.plugins:maven-archetype-plugin/maven-metadata.xml, locally cached metadata up-to-date.
[DEBUG] Resolved plugin version for org.apache.maven.plugins:maven-archetype-plugin to 2.4 from repository central (https://repo.maven.apache.org/maven2, default, releases)
[DEBUG] 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]
[DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean]
[DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy]
[DEBUG] 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]
[DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean]
[DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy]
[DEBUG] === PROJECT BUILD PLAN ================================================
[DEBUG] Project: org.apache.maven:standalone-pom:1
[DEBUG] Dependencies (collect): []
[DEBUG] Dependencies (resolve): []
[DEBUG] Repositories (dependencies): [central (https://repo.maven.apache.org/maven2, default, releases)]
[DEBUG] Repositories (plugins) : [central (https://repo.maven.apache.org/maven2, default, releases)]
[DEBUG] — init fork of org.apache.maven:standalone-pom:1 for org.apache.maven.plugins:maven-archetype-plugin:2.4:generate (default-cli) —
[DEBUG] Dependencies (collect): []
[DEBUG] Dependencies (resolve): []
[DEBUG] — exit fork of org.apache.maven:standalone-pom:1 for org.apache.maven.plugins:maven-archetype-plugin:2.4:generate (default-cli) —
[DEBUG] ————————————————————————
[DEBUG] Goal: org.apache.maven.plugins:maven-archetype-plugin:2.4:generate (default-cli)
[DEBUG] Style: Regular
[DEBUG] Configuration: <?xml version=»1.0″ encoding=»UTF-8″?>
<configuration>
<archetypeArtifactId>${archetypeArtifactId}</archetypeArtifactId>
<archetypeCatalog default-value=»remote,local»>${archetypeCatalog}</archetypeCatalog>
<archetypeGroupId>${archetypeGroupId}</archetypeGroupId>
<archetypeRepository>${archetypeRepository}</archetypeRepository>
<archetypeVersion>${archetypeVersion}</archetypeVersion>
<basedir default-value=»${basedir}»/>
<filter>${filter}</filter>
<goals>${goals}</goals>
<interactiveMode default-value=»${settings.interactiveMode}»>${interactiveMode}</interactiveMode>
<localRepository default-value=»${localRepository}»/>
<remoteArtifactRepositories default-value=»${project.remoteArtifactRepositories}»/>
<session default-value=»${session}»/>
</configuration>
[DEBUG] =======================================================================
[INFO]
[INFO] >>> maven-archetype-plugin:2.4:generate (default-cli) > generate-sources @ standalone-pom >>>
[INFO]
[INFO] <<< maven-archetype-plugin:2.4:generate (default-cli) < generate-sources @ standalone-pom <<<
[INFO]
[INFO] — maven-archetype-plugin:2.4:generate (default-cli) @ standalone-pom —
[DEBUG] Dependency collection stats: {ConflictMarker.analyzeTime=0, ConflictMarker.markTime=0, ConflictMarker.nodeCount=134, ConflictIdSorter.graphTime=0, ConflictIdSorter.topsortTime=0, ConflictIdSorter.conflictIdCount=60, Confl
ctIdSorter.conflictIdCycleCount=0, ConflictResolver.totalTime=15, ConflictResolver.conflictItemCount=125, DefaultDependencyCollector.collectTime=313, DefaultDependencyCollector.transformTime=15}
[DEBUG] org.apache.maven.plugins:maven-archetype-plugin:jar:2.4:
[DEBUG] org.apache.maven.archetype:archetype-catalog:jar:2.4:compile
[DEBUG] org.apache.maven.archetype:archetype-descriptor:jar:2.4:compile
[DEBUG] org.apache.maven.archetype:archetype-registry:jar:2.4:compile
[DEBUG] org.apache.maven.archetype:archetype-common:jar:2.4:compile
[DEBUG] net.sourceforge.jchardet:jchardet:jar:1.0:compile
[DEBUG] org.codehaus.plexus:plexus-component-annotations:jar:1.5.5:compile
[DEBUG] dom4j:dom4j:jar:1.6.1:compile
[DEBUG] xml-apis:xml-apis:jar:1.0.b2:compile
[DEBUG] jdom:jdom:jar:1.0:compile
[DEBUG] org.apache.maven:maven-model:jar:2.2.1:compile
[DEBUG] org.apache.maven:maven-project:jar:2.2.1:compile
[DEBUG] org.apache.maven:maven-plugin-registry:jar:2.2.1:compile
[DEBUG] org.codehaus.plexus:plexus-interpolation:jar:1.11:compile
[DEBUG] org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9-stable-1:compile
[DEBUG] junit:junit:jar:4.11:test
[DEBUG] org.hamcrest:hamcrest-core:jar:1.3:test
[DEBUG] org.codehaus.plexus:plexus-velocity:jar:1.1.8:compile
[DEBUG] org.apache.velocity:velocity:jar:1.5:compile
[DEBUG] commons-lang:commons-lang:jar:2.1:compile
[DEBUG] oro:oro:jar:2.0.8:compile
[DEBUG] org.codehaus.plexus:plexus-utils:jar:3.0.21:compile
[DEBUG] commons-io:commons-io:jar:2.2:compile
[DEBUG] org.apache.maven:maven-plugin-api:jar:2.2.1:compile
[DEBUG] org.apache.maven:maven-core:jar:2.2.1:compile
[DEBUG] org.apache.maven:maven-settings:jar:2.2.1:compile
[DEBUG] org.apache.maven:maven-plugin-parameter-documenter:jar:2.2.1:compile
[DEBUG] org.slf4j:slf4j-jdk14:jar:1.5.6:runtime
[DEBUG] org.slf4j:slf4j-api:jar:1.5.6:runtime
[DEBUG] org.slf4j:jcl-over-slf4j:jar:1.5.6:runtime
[DEBUG] org.apache.maven.reporting:maven-reporting-api:jar:2.2.1:compile
[DEBUG] org.apache.maven.doxia:doxia-sink-api:jar:1.1:compile
[DEBUG] org.apache.maven.doxia:doxia-logging-api:jar:1.1:compile
[DEBUG] org.apache.maven:maven-profile:jar:2.2.1:compile
[DEBUG] org.apache.maven:maven-artifact:jar:2.2.1:compile
[DEBUG] org.apache.maven:maven-repository-metadata:jar:2.2.1:compile
[DEBUG] org.apache.maven:maven-error-diagnostics:jar:2.2.1:compile
[DEBUG] commons-cli:commons-cli:jar:1.2:compile
[DEBUG] org.apache.maven:maven-plugin-descriptor:jar:2.2.1:compile
[DEBUG] org.codehaus.plexus:plexus-interactivity-api:jar:1.0-alpha-6:compile
[DEBUG] org.codehaus.plexus:plexus-component-api:jar:1.0-alpha-16:compile
[DEBUG] org.codehaus.plexus:plexus-classworlds:jar:1.2-alpha-7:compile
[DEBUG] org.apache.maven:maven-artifact-manager:jar:2.2.1:compile
[DEBUG] backport-util-concurrent:backport-util-concurrent:jar:3.1:compile
[DEBUG] org.apache.maven:maven-monitor:jar:2.2.1:compile
[DEBUG] classworlds:classworlds:jar:1.1:compile
[DEBUG] org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3:compile
[DEBUG] org.sonatype.plexus:plexus-cipher:jar:1.4:compile
[DEBUG] org.apache.maven.shared:maven-invoker:jar:2.1.1:compile
[DEBUG] commons-collections:commons-collections:jar:3.2.1:compile
[DEBUG] org.codehaus.groovy:groovy:jar:1.8.3:compile
[DEBUG] antlr:antlr:jar:2.7.7:compile
[DEBUG] asm:asm:jar:3.2:compile
[DEBUG] asm:asm-commons:jar:3.2:compile
[DEBUG] asm:asm-util:jar:3.2:compile
[DEBUG] asm:asm-analysis:jar:3.2:compile
[DEBUG] asm:asm-tree:jar:3.2:compile
[DEBUG] org.beanshell:bsh:jar:2.0b4:compile
[DEBUG] org.apache.maven.shared:maven-script-interpreter:jar:1.0:compile
[DEBUG] org.apache.ant:ant:jar:1.8.1:compile
[DEBUG] Created new class realm plugin>org.apache.maven.plugins:maven-archetype-plugin:2.4
[DEBUG] Importing foreign packages into class realm plugin>org.apache.maven.plugins:maven-archetype-plugin:2.4
[DEBUG] Imported: < maven.api
[DEBUG] Populating class realm plugin>org.apache.maven.plugins:maven-archetype-plugin:2.4
[DEBUG] Included: org.apache.maven.plugins:maven-archetype-plugin:jar:2.4
[DEBUG] Included: org.apache.maven.archetype:archetype-catalog:jar:2.4
[DEBUG] Included: org.apache.maven.archetype:archetype-descriptor:jar:2.4
[DEBUG] Included: org.apache.maven.archetype:archetype-registry:jar:2.4
[DEBUG] Included: org.apache.maven.archetype:archetype-common:jar:2.4
[DEBUG] Included: net.sourceforge.jchardet:jchardet:jar:1.0
[DEBUG] Included: org.codehaus.plexus:plexus-component-annotations:jar:1.5.5
[DEBUG] Included: dom4j:dom4j:jar:1.6.1
[DEBUG] Included: xml-apis:xml-apis:jar:1.0.b2
[DEBUG] Included: jdom:jdom:jar:1.0
[DEBUG] Included: org.codehaus.plexus:plexus-interpolation:jar:1.11
[DEBUG] Included: org.codehaus.plexus:plexus-velocity:jar:1.1.8
[DEBUG] Included: org.apache.velocity:velocity:jar:1.5
[DEBUG] Included: commons-lang:commons-lang:jar:2.1
[DEBUG] Included: oro:oro:jar:2.0.8
[DEBUG] Included: org.codehaus.plexus:plexus-utils:jar:3.0.21
[DEBUG] Included: commons-io:commons-io:jar:2.2
[DEBUG] Included: org.slf4j:slf4j-jdk14:jar:1.5.6
[DEBUG] Included: org.slf4j:jcl-over-slf4j:jar:1.5.6
[DEBUG] Included: org.apache.maven.reporting:maven-reporting-api:jar:2.2.1
[DEBUG] Included: org.apache.maven.doxia:doxia-sink-api:jar:1.1
[DEBUG] Included: org.apache.maven.doxia:doxia-logging-api:jar:1.1
[DEBUG] Included: commons-cli:commons-cli:jar:1.2
[DEBUG] Included: org.codehaus.plexus:plexus-interactivity-api:jar:1.0-alpha-6
[DEBUG] Included: backport-util-concurrent:backport-util-concurrent:jar:3.1
[DEBUG] Included: org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3
[DEBUG] Included: org.sonatype.plexus:plexus-cipher:jar:1.4
[DEBUG] Included: org.apache.maven.shared:maven-invoker:jar:2.1.1
[DEBUG] Included: commons-collections:commons-collections:jar:3.2.1
[DEBUG] Included: org.codehaus.groovy:groovy:jar:1.8.3
[DEBUG] Included: antlr:antlr:jar:2.7.7
[DEBUG] Included: asm:asm:jar:3.2
[DEBUG] Included: asm:asm-commons:jar:3.2
[DEBUG] Included: asm:asm-util:jar:3.2
[DEBUG] Included: asm:asm-analysis:jar:3.2
[DEBUG] Included: asm:asm-tree:jar:3.2
[DEBUG] Included: org.beanshell:bsh:jar:2.0b4
[DEBUG] Included: org.apache.maven.shared:maven-script-interpreter:jar:1.0
[DEBUG] Included: org.apache.ant:ant:jar:1.8.1
[DEBUG] Configuring mojo org.apache.maven.plugins:maven-archetype-plugin:2.4:generate from plugin realm ClassRealm[plugin>org.apache.maven.plugins:maven-archetype-plugin:2.4, parent: sun.misc.Launcher$AppClassLoader@1365360]
[DEBUG] Setting property: classpath.resource.loader.class => ‘org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader’.
[DEBUG] Setting property: site.resource.loader.class => ‘org.codehaus.plexus.velocity.SiteResourceLoader’.
[DEBUG] Setting property: velocimacro.messages.on => ‘false’.
[DEBUG] Setting property: resource.loader => ‘classpath,site’.
[DEBUG] Setting property: runtime.log.invalid.references => ‘false’.
[DEBUG] Setting property: resource.manager.logwhenfound => ‘false’.
[DEBUG] *******************************************************************
[DEBUG] Starting Apache Velocity v1.5 (compiled: 2007-02-22 08:52:29)
[DEBUG] RuntimeInstance initializing.
[DEBUG] Default Properties File: orgapachevelocityruntimedefaultsvelocity.properties
[DEBUG] LogSystem has been deprecated. Please use a LogChute implementation.
[DEBUG] Default ResourceManager initializing. (class org.apache.velocity.runtime.resource.ResourceManagerImpl)
[DEBUG] ResourceLoader instantiated: org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader
[DEBUG] ResourceLoader instantiated: org.codehaus.plexus.velocity.SiteResourceLoader
[DEBUG] ResourceCache: initialized (class org.apache.velocity.runtime.resource.ResourceCacheImpl)
[DEBUG] Default ResourceManager initialization complete.
[DEBUG] Loaded System Directive: org.apache.velocity.runtime.directive.Literal
[DEBUG] Loaded System Directive: org.apache.velocity.runtime.directive.Macro
[DEBUG] Loaded System Directive: org.apache.velocity.runtime.directive.Parse
[DEBUG] Loaded System Directive: org.apache.velocity.runtime.directive.Include
[DEBUG] Loaded System Directive: org.apache.velocity.runtime.directive.Foreach
[DEBUG] Created ’20’ parsers.
[DEBUG] Velocimacro : initialization starting.
[DEBUG] Velocimacro : allowInline = true : VMs can be defined inline in templates
[DEBUG] Velocimacro : allowInlineToOverride = false : VMs defined inline may NOT replace previous VM definitions
[DEBUG] Velocimacro : allowInlineLocal = false : VMs defined inline will be global in scope if allowed.
[DEBUG] Velocimacro : autoload off : VM system will not automatically reload global library macros
[DEBUG] Velocimacro : Velocimacro : initialization complete.
[DEBUG] RuntimeInstance successfully initialized.
[DEBUG] Configuring mojo ‘org.apache.maven.plugins:maven-archetype-plugin:2.4:generate’ with basic configurator —>
[DEBUG] (f) archetypeCatalog = https://15.218.171.196:8281/vco-repo/archetype-catalog.xml
[DEBUG] (f) basedir = C:workVRO
[DEBUG] (f) interactiveMode = true
[DEBUG] (f) localRepository = id: local
url: file:///C:/Users/Administrator/.m2/repository/
layout: default
snapshots: [enabled => true, update => always]
releases: [enabled => true, update => always]
[DEBUG] (f) remoteArtifactRepositories = [ id: central
url: https://repo.maven.apache.org/maven2
layout: default
proxy: web-proxy.in.hpecorp.net:8088
snapshots: [enabled => false, update => daily]
releases: [enabled => true, update => daily]
]
[DEBUG] (f) session = org.apache.maven.execution.MavenSession@100588d
[DEBUG] — end configuration —
[INFO] Generating project in Interactive mode
[DEBUG] Searching for remote catalog: https://15.218.171.196:8281/vco-repo/archetype-catalog.xml/archetype-catalog.xml
[DEBUG] Searching for remote catalog: https://15.218.171.196:8281/vco-repo/archetype-catalog.xml
[INFO] No archetype defined. Using maven-archetype-quickstart (org.apache.maven.archetypes:maven-archetype-quickstart:1.0)
Choose archetype:
1: https://15.218.171.196:8281/vco-repo/archetype-catalog.xml -> com.vmware.o11n:o11n-plugin-archetype-inventory (o11nplugin-project-archetype)
2: https://15.218.171.196:8281/vco-repo/archetype-catalog.xml -> com.vmware.o11n:o11n-package-archetype (o11nplugin-project-archetype)
3: https://15.218.171.196:8281/vco-repo/archetype-catalog.xml -> com.vmware.o11n:o11n-archetype-inventory-annotation (o11nplugin-project-archetype)
4: https://15.218.171.196:8281/vco-repo/archetype-catalog.xml -> com.vmware.o11n:o11n-plugin-archetype-simple (o11nplugin-project-archetype)
5: https://15.218.171.196:8281/vco-repo/archetype-catalog.xml -> com.vmware.o11n:o11n-archetype-spring (o11nplugin-spring-archetype)
6: https://15.218.171.196:8281/vco-repo/archetype-catalog.xml -> com.vmware.o11n:o11n-plugin-archetype-modeldriven (o11nplugin-project-archetype)
7: https://15.218.171.196:8281/vco-repo/archetype-catalog.xml -> com.vmware.o11n:o11n-client-archetype-rest (o11nplugin-project-archetype)
Choose a number or apply filter (format: [groupId:]artifactId, case sensitive contains): : 1
[DEBUG] Not found archetype com.vmware.o11n:o11n-plugin-archetype-inventory:7.0.0 in cache
[DEBUG] Using transporter WagonTransporter with priority -1.0 for https://15.218.171.196:8281/vco-repo
[DEBUG] Using connector BasicRepositoryConnector with priority 0.0 for https://15.218.171.196:8281/vco-repo via web-proxy.in.hpecorp.net:8088
Downloading: https://15.218.171.196:8281/vco-repo/com/vmware/o11n/o11n-plugin-archetype-inventory/7.0.0/o11n-plug…
[DEBUG] Writing tracking file C:UsersAdministrator.m2repositorycomvmwareo11no11n-plugin-archetype-inventory7.0.0o11n-plugin-archetype-inventory-7.0.0.jar.lastUpdated
[DEBUG] Archetype com.vmware.o11n:o11n-plugin-archetype-inventory:7.0.0 doesn’t exist
org.apache.maven.archetype.downloader.DownloadException: Error downloading com.vmware.o11n:o11n-plugin-archetype-inventory:jar:7.0.0.
at org.apache.maven.archetype.downloader.DefaultDownloader.download(DefaultDownloader.java:74)
at org.apache.maven.archetype.common.DefaultArchetypeArtifactManager.exists(DefaultArchetypeArtifactManager.java:278)
at org.apache.maven.archetype.ui.generation.DefaultArchetypeGenerationConfigurator.configureArchetype(DefaultArchetypeGenerationConfigurator.java:116)
at org.apache.maven.archetype.mojos.CreateProjectFromArchetypeMojo.execute(CreateProjectFromArchetypeMojo.java:189)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
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:116)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: org.apache.maven.artifact.resolver.ArtifactResolutionException: Could not transfer artifact com.vmware.o11n:o11n-plugin-archetype-inventory:jar:7.0.0 from/to o11n-plugin-archetype-inventory-repo (https://15.218.171.196:
8281/vco-repo): Failed to transfer file: https://15.218.171.196:8281/vco-repo/com/vmware/o11n/o11n-plugin-archetype-inventory/7.0.0/o11n-plug…. Return code is: 503 , ReasonPhrase:Service Unavailable.
com.vmware.o11n:o11n-plugin-archetype-inventory:jar:7.0.0
from the specified remote repositories:
o11n-plugin-archetype-inventory-repo (https://15.218.171.196:8281/vco-repo, releases=true, snapshots=true),
central (https://repo.maven.apache.org/maven2, releases=true, snapshots=false)
at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:225)
at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:154)
at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:555)
at org.apache.maven.archetype.downloader.DefaultDownloader.download(DefaultDownloader.java:70)
… 25 more
Caused by: org.eclipse.aether.resolution.ArtifactResolutionException: Could not transfer artifact com.vmware.o11n:o11n-plugin-archetype-inventory:jar:7.0.0 from/to o11n-plugin-archetype-inventory-repo (https://15.218.171.196:8281/
vco-repo): Failed to transfer file: https://15.218.171.196:8281/vco-repo/com/vmware/o11n/o11n-plugin-archetype-inventory/7.0.0/o11n-plug…. Return code is: 503 , ReasonPhrase:Service Unavailable.
at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:444)
at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:246)
at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:223)
at org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveArtifact(DefaultRepositorySystem.java:294)
at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:215)
… 28 more
Caused by: org.eclipse.aether.transfer.ArtifactTransferException: Could not transfer artifact com.vmware.o11n:o11n-plugin-archetype-inventory:jar:7.0.0 from/to o11n-plugin-archetype-inventory-repo (https://15.218.171.196:8281/vco-
repo): Failed to transfer file: https://15.218.171.196:8281/vco-repo/com/vmware/o11n/o11n-plugin-archetype-inventory/7.0.0/o11n-plug…. Return code is: 503 , ReasonPhrase:Service Unavailable.
at org.eclipse.aether.connector.basic.ArtifactTransportListener.transferFailed(ArtifactTransportListener.java:43)
at org.eclipse.aether.connector.basic.BasicRepositoryConnector$TaskRunner.run(BasicRepositoryConnector.java:355)
at org.eclipse.aether.util.concurrency.RunnableErrorForwarder$1.run(RunnableErrorForwarder.java:67)
at org.eclipse.aether.connector.basic.BasicRepositoryConnector$DirectExecutor.execute(BasicRepositoryConnector.java:581)
at org.eclipse.aether.connector.basic.BasicRepositoryConnector.get(BasicRepositoryConnector.java:249)
at org.eclipse.aether.internal.impl.DefaultArtifactResolver.performDownloads(DefaultArtifactResolver.java:520)
at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:421)
… 32 more
Caused by: org.apache.maven.wagon.TransferFailedException: Failed to transfer file: https://15.218.171.196:8281/vco-repo/com/vmware/o11n/o11n-plugin-archetype-inventory/7.0.0/o11n-plug…. Return code
is: 503 , ReasonPhrase:Service Unavailable.
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.eclipse.aether.transport.wagon.WagonTransporter$GetTaskRunner.run(WagonTransporter.java:560)
at org.eclipse.aether.transport.wagon.WagonTransporter.execute(WagonTransporter.java:427)
at org.eclipse.aether.transport.wagon.WagonTransporter.get(WagonTransporter.java:404)
at org.eclipse.aether.connector.basic.BasicRepositoryConnector$GetTaskRunner.runTask(BasicRepositoryConnector.java:447)
at org.eclipse.aether.connector.basic.BasicRepositoryConnector$TaskRunner.run(BasicRepositoryConnector.java:350)
… 37 more
[INFO] ————————————————————————
[INFO] BUILD FAILURE
[INFO] ————————————————————————
[INFO] Total time: 01:34 min
[INFO] Finished at: 2016-06-09T16:37:36+05:30
[INFO] Final Memory: 13M/31M
[INFO] ————————————————————————
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:2.4:generate (default-cli) on project standalone-pom: The desired archetype does not exist (com.vmware.o11n:o11n-plugin-archetype-inventory:7.0.0) -> [
Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:2.4:generate (default-cli) on project standalone-pom: The desired archetype does not exist (com.vmware.
o11n:o11n-plugin-archetype-inventory:7.0.0)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)
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:116)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: org.apache.maven.plugin.MojoFailureException: The desired archetype does not exist (com.vmware.o11n:o11n-plugin-archetype-inventory:7.0.0)
at org.apache.maven.archetype.mojos.CreateProjectFromArchetypeMojo.execute(CreateProjectFromArchetypeMojo.java:205)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
… 20 more
Caused by: org.apache.maven.archetype.exception.UnknownArchetype: The desired archetype does not exist (com.vmware.o11n:o11n-plugin-archetype-inventory:7.0.0)
at org.apache.maven.archetype.ui.generation.DefaultArchetypeGenerationConfigurator.configureArchetype(DefaultArchetypeGenerationConfigurator.java:119)
at org.apache.maven.archetype.mojos.CreateProjectFromArchetypeMojo.execute(CreateProjectFromArchetypeMojo.java:189)
… 22 more
[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/MojoFailureException
Regards….