On Sat, Feb 2, 2008 at 4:18 AM, Grzegorz Kossakowski
<[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] pisze:
> > I want to try Cocoon-2.2.  The only install instructions I found are at:
>  > http://cocoon.apache.org/2.2/1159_1_1.html
>  >
>  > Installed Maven; works after some fixing the batch files  The install
>  > line from "Creating a block" in the above page errors (with -e):
>  >
>  > [INFO] Searching repository for plugin with prefix: 'archetype'.
>  > [INFO] 
> ------------------------------------------------------------------------
>  > [ERROR] BUILD FAILURE
>  > [INFO] 
> ------------------------------------------------------------------------
>  > [INFO] Invalid task 'org.apache.cocoon': you must specify a valid 
> lifecycle phas
>  > e, or a goal in the format plugin:goal or 
> pluginGroupId:pluginArtifactId:pluginV
>  > ersion:goal
>  > [INFO] 
> ------------------------------------------------------------------------
>  > [INFO] Trace
>  > org.apache.maven.BuildFailureException: Invalid task
>  > 'org.apache.cocoon': you must specify a valid lifecycle phase, or a
>  > goal in the format plugin:goal or
>  > pluginGroupId:pluginArtifactId:pluginVersion:goal
>  >         at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(DefaultLifecycleExecutor.java:1515)
>  >         at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListByAggregationNeeds(DefaultLifecycleExecutor.java:386)
>  >         at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:138)
>  >         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:333)
>  >         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:126)
>  >         at org.apache.maven.cli.MavenCli.main(MavenCli.java:282)
>  >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>  >         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>  >         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>  >         at java.lang.reflect.Method.invoke(Unknown Source)
>  >         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)
>  >
>  >> mvn --version
>  > Maven version: 2.0.8
>  > Java version: 1.6.0_03
>  > OS name: "windows 98" version: "4.10" arch: "x86" Family: "win9x"
>  >
>  > Do the instructions work for other people?  Did I miss something?
>
>  I believe it's a typo in the command you ran. Could you paste it or try this 
> one:
>  mvn archetype:create -DarchetypeGroupId=org.apache.cocoon
>  -DarchetypeArtifactId=cocoon-22-archetype-block -DarchetypeVersion=1.0.0-RC2 
> -DgroupId=com.mycompany
>  -DartifactId=myBlock1
>
>  (everything without line breaks!)
>  Grzegorz Kossakowski

Three sources(two from web page and your post) -> same results.
Should I assume Maven is broken?

solprovider

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

Reply via email to