You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Hariharan Jagadeesan (JIRA)" <ji...@codehaus.org> on 2006/01/19 14:55:40 UTC

[jira] Created: (MINSTALL-10) Build ERROR and build FAILURE occurs

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


[jira] Reopened: (MINSTALL-10) Build ERROR and build FAILURE occurs

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MINSTALL-10?page=all ]
     
Brett Porter reopened MINSTALL-10:
----------------------------------


fixing filing

> 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, screenshot-1.jpg
>
>
> 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


[jira] Closed: (MINSTALL-10) Build ERROR and build FAILURE occurs

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MINSTALL-10?page=all ]
     
Brett Porter closed MINSTALL-10:
--------------------------------

     Resolution: Cannot Reproduce
    Fix Version:     (was: 2.0)

> 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
>  Attachments: attachment.txt, screenshot-1.jpg
>
>
> 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


[jira] Updated: (MINSTALL-10) Build ERROR and build FAILURE occurs

Posted by "Hariharan Jagadeesan (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MINSTALL-10?page=all ]

Hariharan Jagadeesan updated MINSTALL-10:
-----------------------------------------

    Attachment: screenshot-1.jpg

> 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, screenshot-1.jpg
>
>
> 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


[jira] Closed: (MINSTALL-10) Build ERROR and build FAILURE occurs

Posted by "Hariharan Jagadeesan (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MINSTALL-10?page=all ]
     
Hariharan Jagadeesan closed MINSTALL-10:
----------------------------------------

    Resolution: Fixed

> 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, screenshot-1.jpg
>
>
> 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