tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Smith <d...@cornell.edu>
Subject [OT] Re: mvn command line failed with archetype....
Date Fri, 08 Aug 2008 14:11:38 GMT
That's not what I'm seeing in the command run you posted.  You might 
also want to move this very off-topic discussion to a maven user list.

--David

Sam Wun wrote:
> Actually I tried that with what you said, this is the error message
> getting from that ONE command line. There is no \ at the end.
>
> Thanks
>
>
> On Sat, Aug 9, 2008 at 12:04 AM, David Smith <dns4@cornell.edu> wrote:
>   
>> Might also want to try putting the whole command on the same line instead of
>> trying to do the continuation '\' operator which may not work on Windows.
>>  That last '\' character is being interpreted by mvn as a parameter.
>>
>> --David
>>
>> Christopher Schultz wrote:
>>     
>>> -----BEGIN PGP SIGNED MESSAGE-----
>>> Hash: SHA1
>>>
>>> Sam,
>>>
>>> This is probably a question best asked on the Maven mailing list.
>>>
>>> - -chris
>>>
>>> Sam Wun wrote:
>>> | Hi,
>>> |
>>> | I am wondering how to fix the following attached error (mvn command
>>> run)?
>>> | I tried to follow the instruction shown in the following website, but
>>> got error.
>>> |
>>> http://struts.apache.org/2.x/docs/developing-a-portlet-using-eclipse.html
>>> |
>>> |
>>> | =========== attached mvn command run ===========
>>> | Maven version: 2.0.9
>>> | Java version: 1.6.0_10-beta
>>> | OS name: "windows vista" version: "6.0" arch: "x86" Family: "windows"
>>> |
>>> | D:\workspace\samples\portlet>mvn archetype:create
>>> - -DgroupId=com.mycompany.mypor
>>> | let \
>>> | [INFO] Scanning for projects...
>>> | [INFO] Searching repository for plugin with prefix: 'archetype'.
>>> | [INFO]
>>> - ------------------------------------------------------------------------
>>> | [ERROR] BUILD FAILURE
>>> | [INFO]
>>> - ------------------------------------------------------------------------
>>> | [INFO] Invalid task '\': you must specify a valid lifecycle phase, or
>>> a goal in
>>> | the format plugin:goal or
>>> pluginGroupId:pluginArtifactId:pluginVersion:goal
>>> | [INFO]
>>> - ------------------------------------------------------------------------
>>> | [INFO] For more information, run Maven with the -e switch
>>> | [INFO]
>>> - ------------------------------------------------------------------------
>>> | [INFO] Total time: < 1 second
>>> | [INFO] Finished at: Fri Aug 08 17:32:51 EST 2008
>>> | [INFO] Final Memory: 2M/4M
>>> | [INFO]
>>> - ------------------------------------------------------------------------
>>> |
>>> | D:\workspace\samples\portlet>mvn archetype:create
>>> - -DgroupId=com.mycompany.mypor
>>> | let  -DartifactId=myportlet -DarchetypeGroupId=org.apache.struts
>>> - -DarchetypeAr
>>> | ifactId=struts2-archetype-portlet  -DarchetypeVersion=2.0.9-SNAPSHOT
>>>  -Dremote
>>> | epositories=http://people.apache.org/repo/m2-snapshot-repository
>>> | [INFO] Scanning for projects...
>>> | [INFO] Searching repository for plugin with prefix: 'archetype'.
>>> | [INFO]
>>> - ------------------------------------------------------------------------
>>> | [INFO] Building Maven Default Project
>>> | [INFO]    task-segment: [archetype:create] (aggregator-style)
>>> | [INFO]
>>> - ------------------------------------------------------------------------
>>> | [INFO] Setting property: classpath.resource.loader.class =>
>>> 'org.codehaus.plexu
>>> | .velocity.ContextClassLoaderResourceLoader'.
>>> | [INFO] Setting property: velocimacro.messages.on => 'false'.
>>> | [INFO] Setting property: resource.loader => 'classpath'.
>>> | [INFO] Setting property: resource.manager.logwhenfound => 'false'.
>>> | [INFO] [archetype:create]
>>> | [WARNING] This goal is deprecated. Please use mvn archetype:generate
>>> instead
>>> | [INFO] Defaulting package to group ID: com.mycompany.myportlet
>>> | [INFO] We are using command line specified remote repositories:
>>> http://people.a
>>> | ache.org/repo/m2-snapshot-repository
>>> | [INFO] snapshot
>>> org.apache.struts:struts2-archetype-portlet:2.0.9-SNAPSHOT: che
>>> | king for updates from id0
>>> | Downloading:
>>> http://people.apache.org/repo/m2-snapshot-repository/org/apache/st
>>> |
>>>
>>> uts/struts2-archetype-portlet/2.0.9-SNAPSHOT/struts2-archetype-portlet-2.0.9-SN
>>> | PSHOT.jar
>>> | [INFO]
>>> - ------------------------------------------------------------------------
>>> | [ERROR] BUILD ERROR
>>> | [INFO]
>>> - ------------------------------------------------------------------------
>>> | [INFO] Error creating from archetype
>>> |
>>> | Embedded error: OldArchetype does not exist.
>>> | Unable to download the artifact from any repository
>>> | [INFO]
>>> - ------------------------------------------------------------------------
>>> | [INFO] For more information, run Maven with the -e switch
>>> | [INFO]
>>> - ------------------------------------------------------------------------
>>> | [INFO] Total time: 10 seconds
>>> | [INFO] Finished at: Fri Aug 08 17:33:37 EST 2008
>>> | [INFO] Final Memory: 8M/15M
>>> | [INFO]
>>> - ------------------------------------------------------------------------
>>> |
>>> | ---------------------------------------------------------------------
>>> | To start a new topic, e-mail: users@tomcat.apache.org
>>> | To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>>> | For additional commands, e-mail: users-help@tomcat.apache.org
>>> |
>>> -----BEGIN PGP SIGNATURE-----
>>> Version: GnuPG v1.4.9 (MingW32)
>>> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>>>
>>> iEYEARECAAYFAkicUCEACgkQ9CaO5/Lv0PD1DQCgliGUPwyRJEbjlt8C3IK2Kk+D
>>> IvAAoInN2BtRpEQNgJ62F8cs0oVyTiQm
>>> =JUG4
>>> -----END PGP SIGNATURE-----
>>>
>>>       


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message