[ 
http://jira.codehaus.org/browse/MAVEN-1854?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_113660
 ] 

Lukas Theussl commented on MAVEN-1854:
--------------------------------------

Do you have a dependency on ant in your project? Please post your project.xml 
and maven.xml and/or a small test project to reproduce the problem.

> Unknown error
> -------------
>
>                 Key: MAVEN-1854
>                 URL: http://jira.codehaus.org/browse/MAVEN-1854
>             Project: Maven 1
>          Issue Type: Bug
>    Affects Versions: 1.1
>            Reporter: Zurk Tech
>
>  maven-1.1/bin/maven
>  __  __
> |  \/  |__ _Apache__ ___
> | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
> |_|  |_\__,_|\_/\___|_||_|  v. 1.1
> -------------------------------------------------------------------------------
> You have encountered an unknown error running Maven.
> Please help us to correct this problem by following these simple steps:
> - read the Maven FAQ at http://maven.apache.org/maven-1.x/faq.html
> - run the same command again with the '-e' parameter, eg 'maven -e jar'
> - search the maven-user archives for the error at 
> http://www.mail-archive.com/[EMAIL PROTECTED]
> - post the output of maven -e to JIRA at 
> http://jira.codehaus.org/browse/MAVEN (you must sign up first)
> - run 'maven --info' and post the output as the environment to the bug above
> -------------------------------------------------------------------------------
> >> org.apache.tools.ant.taskdefs.condition.Os.isFamily(Ljava/lang/String;)Z
> -------------------------------------------------------------------------------
> BUILD FAILED
> -------------------------------------------------------------------------------
> Total time   : 0 seconds
> Finished at  : Monday, November 12, 2007 12:06:39 PM EST
> Final Memory : 1M/4M
> -------------------------------------------------------------------------------
> maven-1.1/bin/maven -e
>  __  __
> |  \/  |__ _Apache__ ___
> | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
> |_|  |_\__,_|\_/\___|_||_|  v. 1.1
> -------------------------------------------------------------------------------
> You have encountered an unknown error running Maven.
> Please help us to correct this problem by following these simple steps:
> - read the Maven FAQ at http://maven.apache.org/maven-1.x/faq.html
> - run the same command again with the '-e' parameter, eg 'maven -e jar'
> - search the maven-user archives for the error at 
> http://www.mail-archive.com/[EMAIL PROTECTED]
> - post the output of maven -e to JIRA at 
> http://jira.codehaus.org/browse/MAVEN (you must sign up first)
> - run 'maven --info' and post the output as the environment to the bug above
> -------------------------------------------------------------------------------
> Errors stack :
> >> org.apache.tools.ant.taskdefs.condition.Os.isFamily(Ljava/lang/String;)Z
> Exception stack traces :
> java.lang.NoSuchMethodError: 
> org.apache.tools.ant.taskdefs.condition.Os.isFamily(Ljava/lang/String;)Z
>         at 
> org.apache.tools.ant.util.JavaEnvUtils.<clinit>(JavaEnvUtils.java:35)
>         at 
> org.apache.commons.jelly.tags.ant.DefaultPropsHandler.setJavaVersionProperty(DefaultPropsHandler.java:197)
>         at 
> org.apache.commons.jelly.tags.ant.GrantProject.setJavaVersionProperty(GrantProject.java:205)
>         at org.apache.tools.ant.Project.init(Project.java:160)
>         at org.apache.maven.AntProjectBuilder.build(AntProjectBuilder.java:50)
>         at 
> org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:575)
>         at org.apache.maven.MavenSession.attainGoals(MavenSession.java:265)
>         at org.apache.maven.cli.App.doMain(App.java:307)
>         at org.apache.maven.cli.App.main(App.java:217)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         at com.werken.forehead.Forehead.run(Forehead.java:551)
>         at com.werken.forehead.Forehead.main(Forehead.java:581)
> -------------------------------------------------------------------------------
> BUILD FAILED
> -------------------------------------------------------------------------------
> Total time   : 0 seconds
> Finished at  : Monday, November 12, 2007 12:10:09 PM EST
> Final Memory : 1M/4M
> -------------------------------------------------------------------------------

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

        

Reply via email to