Hi again,

I repeated the instructions with another block name and this time it works. There were over 40 archetypes to choose in my first attept and now there were only three, like in the example. Could you explain that. Like I said, this is all new for me. Anyway, now I can move on.

- mika -

Lehtonen, Mika kirjoitti:
Ok,
here it is. BTW, I am running my tests in a headless Linux server. Does it make any difference?

- mika -

Jeroen Reijn kirjoitti:
Hi Mika,

I guess what's more important is, what is the stacktrace that you got while trying to do $mvn jetty:run?

Regards,

Jeroen

Lehtonen, Mika wrote:
Hello all,

maybe you should have beginners list as for questions/problems like mine. :-[

I finally put myself together and started to get familiar with Cocoon 2.2. I am totally 'out and cold' what comes to the Maven and many other concepts with 2.2. So I started with "Your first Cocoon application with Maven 2". Everything went as expected until I tried to run 'mvn jetty:run'. At first, it downloaded a lot of different stuff, but then there was some error. How can I capture the stacktrace?
I also tried 'mvn cocoon:prepare', but I got this:

[EMAIL PROTECTED] munBlokki]# mvn cocoon:prepare
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'cocoon'.
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------ [INFO] The plugin 'org.apache.maven.plugins:maven-cocoon-plugin' does not exist or no valid version could be found [INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1 second
[INFO] Finished at: Wed Aug 13 10:03:02 EEST 2008
[INFO] Final Memory: 8M/62M
[INFO] ------------------------------------------------------------------------

What's wrong with my configuration? Maven is 2.0.9. Should I edit the pom.xml somehow?

- mika -

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


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

------------------------------------------------------------------------

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

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

Reply via email to