[ 
https://issues.apache.org/jira/browse/MINSTALL-58?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17965979#comment-17965979
 ] 

Olivier Lamy commented on MINSTALL-58:
--------------------------------------

This project has moved from Jira to GitHub Issues. This issue was migrated to 
[apache/maven-install-plugin#193|https://github.com/apache/maven-install-plugin/issues/193].
 

> Build failure
> -------------
>
>                 Key: MINSTALL-58
>                 URL: https://issues.apache.org/jira/browse/MINSTALL-58
>             Project: Maven Install Plugin (Moved to GitHub Issues)
>          Issue Type: Bug
>    Affects Versions: 2.0
>         Environment: Windows xp
>            Reporter: Poonam Gyanchandani
>            Assignee: Benjamin Bentmann
>            Priority: Major
>         Attachments: New Text Document.txt
>
>
> Hi,
> I have installed the Maven . When I am trying to run mvn package/ mvn 
> install/mvn clean it is giving me "build failure".
> D:\Program Files\Apache Software Foundation\apache-maven-2.0.9>mvn  package
> [INFO] Scanning for projects...
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Building Maven Default Project
> [INFO]    task-segment: [package]
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Cannot execute mojo: resources. It requires a project with an existing 
> po
> m.xml, but the build is not using one.
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Total time: < 1 second
> [INFO] Finished at: Tue Feb 03 15:24:56 EST 2009
> [INFO] Final Memory: 3M/6M
> [INFO] 
> ------------------------------------------------------------------------
> and when I run mvn -e 
> D:\Program Files\Apache Software Foundation\apache-maven-2.0.9>mvn -e
> + Error stacktraces are turned on.
> [INFO] Scanning for projects...
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] 
> ------------------------------------------------------------------------
> [INFO]
> You must specify at least one goal. Try 'mvn install' to build or 'mvn -?' for
> ptions
> See http://maven.apache.org for more information.
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Trace
> org.apache.maven.BuildFailureException:
> You must specify at least one goal. Try 'mvn install' to build or 'mvn -?' for
> ptions
> See http://maven.apache.org for more information.
>         at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultL
> fecycleExecutor.java:134)
>         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(DelegatingMethodAcce
> sorImpl.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)
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Total time: < 1 second
> [INFO] Finished at: Tue Feb 03 15:26:24 EST 2009
> [INFO] Final Memory: 1M/4M
> [INFO] 
> ------------------------------------------------------------------------
> Is their anyone can help me for this?



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to