Josh,

Worked like a "charm". Thanks a lot!

(maven looks like voodoo to me. I am just glad I am not expected to dance
around my laptop and poke a wax model of a mouse)

On Thu, Dec 4, 2008 at 8:01 PM, Josh Suereth <[EMAIL PROTECTED]>wrote:

> Here's your issue:
>
> [INFO] Archetype repository missing. Using the one from
> [net.liftweb:lift-archetype-
> blank:RELEASE -> http://scala-tools.org/repo-releases] found in catalog
> internal
>
>
> It's not pulling from the snapshot repository.
>
> Try using archetype:create instead of archetype:generate.   (The generate
> goal is from the new alpha of the archetype plugin and I don't htink it uses
> the -DremoteRepositories property).
>
>
> -Josh
>
>
> On Thu, Dec 4, 2008 at 9:21 AM, Harshad RJ <[EMAIL PROTECTED]> wrote:
>
>>
>>
>> On Thu, Dec 4, 2008 at 6:39 PM, David Bernard <[EMAIL PROTECTED]
>> > wrote:
>>
>>>
>>> It's the correct server.
>>>
>>> Could you retry (the command from the initial mail) with "-e" argument
>>> at end (to print error + stackstrace) ?
>>
>>
>>
>> Here is the whole trace:
>> ~/local/apache-maven-2.0.9/bin/mvn archetype:generate -U
>> \                                      > ~/w/lift <
>> -DarchetypeGroupId=net.liftweb \
>> -DarchetypeArtifactId=lift-archetype-blank \
>> -DarchetypeVersion=0.10-SNAPSHOT \
>> -DremoteRepositories=http://scala-tools.org/repo-snapshots \
>> -DgroupId=foogroup -DartifactId=foo -e
>> Warning: JAVA_HOME environment variable is not set.
>> + Error stacktraces are turned on.
>> [INFO] Scanning for projects...
>> [INFO] Searching repository for plugin with prefix: 'archetype'.
>> [INFO] org.apache.maven.plugins: checking for updates from central
>> [INFO] org.codehaus.mojo: checking for updates from central
>> [INFO] artifact org.apache.maven.plugins:maven-archetype-plugin: checking
>> for updates from central
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Building Maven Default Project
>> [INFO]    task-segment: [archetype:generate] (aggregator-style)
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Preparing archetype:generate
>> [INFO] No goals needed for project - skipping
>> [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] [archetype:generate]
>> [INFO] Generating project in Interactive mode
>>  [INFO] Archetype repository missing. Using the one from
>> [net.liftweb:lift-archetype-blank:RELEASE ->
>> http://scala-tools.org/repo-releases] found in catalog internal
>> [INFO] snapshot net.liftweb:lift-archetype-blank:0.10-SNAPSHOT: checking
>> for updates from lift-archetype-blank-repo
>> Downloading:
>> http://scala-tools.org/repo-releases/net/liftweb/lift-archetype-blank/0.10-SNAPSHOT/lift-archetype-blank-0.10-SNAPSHOT.jar
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] BUILD FAILURE
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] The desired archetype does not exist
>> (net.liftweb:lift-archetype-blank:0.10-SNAPSHOT)
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Trace
>> org.apache.maven.BuildFailureException: The desired archetype does not
>> exist (net.liftweb:lift-archetype-blank:0.10-SNAPSHOT)
>>         at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:579)
>>         at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:512)
>>         at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:482)
>>         at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
>>         at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:227)
>>         at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
>>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
>>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
>>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
>>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>         at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>         at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>         at java.lang.reflect.Method.invoke(Method.java:597)
>>         at
>> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>>         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>>         at
>> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>>         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
>> Caused by: org.apache.maven.plugin.MojoFailureException: The desired
>> archetype does not exist (net.liftweb:lift-archetype-blank:0.10-SNAPSHOT)
>>         at
>> org.apache.maven.archetype.mojos.CreateProjectFromArchetypeMojo.execute(CreateProjectFromArchetypeMojo.java:201)
>>         at
>> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451)
>>         at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558)
>>         ... 16 more
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Total time: 32 seconds
>> [INFO] Finished at: Thu Dec 04 19:53:00 IST 2008
>> [INFO] Final Memory: 11M/28M
>> [INFO]
>> ------------------------------------------------------------------------
>>
>> --
>> Harshad RJ
>> http://hrj.wikidot.com
>>
>>
>>
>
> >
>


-- 
Harshad RJ
http://hrj.wikidot.com

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to