You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org> on 2009/02/03 21:47:19 UTC
[jira] Closed: (MINSTALL-58) Build failure
[ http://jira.codehaus.org/browse/MINSTALL-58?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Benjamin Bentmann closed MINSTALL-58.
-------------------------------------
Assignee: Benjamin Bentmann
Resolution: Not A Bug
bq. Is their anyone can help me for this?
Please understand that the issue tracker is not the right place for basic usage questions. Have a look at [Getting Help|http://maven.apache.org/users/getting-help.html]. Also, reading [Maven in 5 Minutes|http://maven.apache.org/guides/getting-started/maven-in-five-minutes.html] or other introdutions to Maven can help.
> Build failure
> -------------
>
> Key: MINSTALL-58
> URL: http://jira.codehaus.org/browse/MINSTALL-58
> Project: Maven 2.x Install Plugin
> Issue Type: Bug
> Affects Versions: 2.0
> Environment: Windows xp
> Reporter: Poonam Gyanchandani
> Assignee: Benjamin Bentmann
> 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 is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira