maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hariharan Jagadeesan (JIRA)" <j...@codehaus.org>
Subject [jira] Created: (MINSTALL-10) Build ERROR and build FAILURE occurs
Date Thu, 19 Jan 2006 13:55:40 GMT
Build ERROR and build FAILURE occurs
------------------------------------

         Key: MINSTALL-10
         URL: http://jira.codehaus.org/browse/MINSTALL-10
     Project: Maven 2.x Install Plugin
        Type: Bug

    Versions: 2.0    
 Environment: Intel Pentium 4, 512 RAM, Windows 2000, Apache 2.0,
    Reporter: Hariharan Jagadeesan
     Fix For: 2.0
 Attachments: attachment.txt

when i try to do "mvn install it says Build ERROR.
This was the error i got.

C:\Program Files\Apache Group\maven-2.0.2\bin>mvn install
[INFO] Scanning for projects...
[INFO] -------------------------------------------------------------------------
---
[INFO] Building Maven Default Project
[INFO]    task-segment: [install]
[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: 2 seconds
[INFO] Finished at: Thu Jan 19 19:15:36 IST 2006
[INFO] Final Memory: 2M/4M
[INFO] -------------------------------------------------------------------------
---

this asks me to run Maven with the  -e switch. But when i try that it sats Build FAILURE.


+ Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] -------------------------------------------------------------------------
---
[ERROR] BUILD FAILURE
[INFO] -------------------------------------------------------------------------
---
[INFO] You must specify at least one goal. Try 'install'
[INFO] -------------------------------------------------------------------------
---
[INFO] Trace
org.apache.maven.BuildFailureException: You must specify at least one goal. Try
'install'
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
fecycleExecutor.java:131)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:249)
        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:324)
        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: Thu Jan 19 17:55:05 IST 2006
[INFO] Final Memory: 1M/2M
[INFO] -------------------------------------------------------------------------
---


-- 
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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Mime
View raw message