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?
Are you sure that you invoked mvn cocoon:prepare from the right
directory? (You have to be in the directory of our custom block.)
--
Reinhard Pötz Managing Director, {Indoqa} GmbH
http://www.indoqa.com/en/people/reinhard.poetz/
Member of the Apache Software Foundation
Apache Cocoon Committer, PMC member [EMAIL PROTECTED]
________________________________________________________________________
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]