You need to execute appfuse:full-source from within the project
directory you're trying to full-source.

Matt

On 3/5/08, vishnu kumar <[EMAIL PROTECTED]> wrote:
> hi all
> i am new to appfuse and maven.
> I m trying to develop a web appliaction using appfuse 2.
> i am getting following error as i tried to run mvn appfuse:full-source.
> How to get rid of these error n start appfuse basic appliaction.
> thanks in advance
>
>
>
>
> D:\VishnuProject>mvn appfuse:full-source
> [INFO] Scanning for projects...
> [INFO] Searching repository for plugin with prefix: 'appfuse'.
> [INFO] artifact
> org.apache.maven.plugins:maven-appfuse-plugin: checking for
> upda
>  tes from central
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] The plugin
> 'org.apache.maven.plugins:maven-appfuse-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: 2 seconds
> [INFO] Finished at: Sun Mar 02 01:38:20 GMT+05:30 2008
> [INFO] Final Memory: 1M/2M
> [INFO]
> ------------------------------------------------------------------------
>
> D:\VishnuProject>mvn -version
> Maven version: 2.0.8
> Java version: 1.5.0-beta
> OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows"
>
> D:\VishnuProject>mvn idea:idea
> [INFO] Scanning for projects...
> [INFO] Searching repository for plugin with prefix: 'idea'.
> [INFO] artifact org.apache.maven.plugins:maven-idea-plugin:
> checking for updates
>   from central
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building Maven Default Project
> [INFO]    task-segment: [idea:idea]
> [INFO]
> ------------------------------------------------------------------------
>  [INFO] Preparing idea:idea
> [INFO] No goals needed for project - skipping
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
>  [INFO] Cannot execute mojo: idea. It requires a project with an existing
> pom.xml
> , but the build is not using one.
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
>  [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 2 seconds
> [INFO] Finished at: Sun Mar 02 01:39:50 GMT+05:30 2008
> [INFO] Final Memory: 1M/3M
> [INFO]
> ------------------------------------------------------------------------
>
> D:\VishnuProject>mvn -e idea:idea
> + Error stacktraces are turned on.
> [INFO] Scanning for projects...
> [INFO] Searching repository for plugin with prefix: 'idea'.
> [INFO]
> ------------------------------------------------------------------------
>  [INFO] Building Maven Default Project
> [INFO]    task-segment: [idea:idea]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Preparing idea:idea
> [INFO] No goals needed for project - skipping
>  [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Cannot execute mojo: idea. It requires a project with an existing
> pom.xml
>  , but the build is not using one.
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Trace
> org.apache.maven.lifecycle.LifecycleExecutionException:
> Cannot execute mojo: ide
> a. It requires a project with an existing pom.xml, but the build is not
> using on
>  e.
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
> ultLifecycleExecutor.java:564)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandalone
> Goal(DefaultLifecycleExecutor.java:493)
>          at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
> ltLifecycleExecutor.java:463)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
> dleFailures(DefaultLifecycleExecutor.java:311)
>          at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
> ts(DefaultLifecycleExecutor.java:278)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
> fecycleExecutor.java:143)
>          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(NativeMethodAccessorImpl.
> java:39)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:494)
>          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.MojoExecutionException:
> Cannot execute mojo:
> idea. It requires a project with an existing pom.xml, but the build is not
> using
>   one.
>         at
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
> nManager.java:373)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
> ultLifecycleExecutor.java:539)
>          ... 16 more
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: < 1 second
> [INFO] Finished at: Sun Mar 02 01:40:13 GMT+05:30 2008
> [INFO] Final Memory: 1M/3M
>  [INFO]
> ------------------------------------------------------------------------
>
> D:\VishnuProject>
>

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

Reply via email to