I have just run into *exactly* the same and did the same thing - tried new
lifecycle; tried deprecated; cleared Artifactory cache, renamed and rebuild
the entire local repository.... what a pain-in-the-U-Know-What.

There is a thread at:
http://www.nabble.com/Archetype-generate-error-tt16963766.html#a16963766 I
just found.

Path is Software | Java Software | Artifactory-Users

search for "velocity 1.5" within there... I'm researching the thread now.
Looks like a suggested solution.

All while being beaten up by all the anti-maven people screaming "See, I
told you this is the wrong tool to use." This is *really*, *really*
annoying...
-- dke



nodje wrote:
> 
> mvn archetype:generate produce the same error.
> 
> Could it have something to do with the velocity-1.5.pom that it doesn't
> find?
> 
> 
> nodje wrote:
>> 
>> Sorry didn't pay attention to that.
>> But the result is exactly the same with generate anyway.
>> Looks like you don't have the problem, so it's probably a local config
>> problem.
>> 
>> How could that possibly happen?
>> 
>> 
>> Marc SCHNEIDER-5 wrote:
>>> 
>>> Hi,
>>> 
>>> And what about using mvn archetype:generate instead of create ?
>>> create goal is deprecated as far as I know.
>>> 
>>> Marc.
>>> 
>>> nodje a écrit :
>>>> What's with the archetype:create?
>>>>
>>>> I suddenly get this error when trying to create a new project:
>>>>
>>>> mvn archetype:create -DgroupId=com.company.commons -DartifactId=xml
>>>> [INFO] Scanning for projects...
>>>> [INFO] Searching repository for plugin with prefix: 'archetype'.
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO] Building commons
>>>> [INFO]    task-segment: [archetype:create] (aggregator-style)
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> Downloading:
>>>> http://allence.dyndns.org:8081/artifactory/plugins-releases/velocity/velocity/1.5/velocity-1.5.pom
>>>> Downloading:
>>>> http://allence.dyndns.org:8081/artifactory/repo/velocity/velocity/1.5/velocity-1.5.pom
>>>> [INFO] Setting property: classpath.resource.loader.class =>
>>>> 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.
>>>> [INFO] Setting property: velocimacro.messages.on => 'false'.
>>>> [INFO] Setting property: resource.loader => 'classpath'.
>>>> [INFO] Setting property: resource.manager.logwhenfound => 'false'.
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [ERROR] FATAL ERROR
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO] org/apache/commons/lang/StringUtils
>>>> org.apache.commons.lang.StringUtils
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO] Trace
>>>> java.lang.NoClassDefFoundError: org/apache/commons/lang/StringUtils
>>>>    at
>>>>    ... 51 more
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO] Total time: 10 seconds
>>>> [INFO] Finished at: Wed May 28 10:21:46 JST 2008
>>>> [INFO] Final Memory: 10M/30M
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>>
>>>> Looks like a broken dependency on commons-lang
>>>>
>>>> -nodje
>>>>   
>>> 
>> 
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Archetype%3Acreate-broken--tp17503659p18132485.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to