[ https://jira.codehaus.org/browse/MAVEN-1868?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=296029#comment-296029 ]
samira akhavan edited comment on MAVEN-1868 at 4/7/12 6:09 AM: --------------------------------------------------------------- yes thanks i download source again from atlassian and this problem solved,but i`m fed up with Continuous error: this time i got this one : [exec] 'cmd' is not recognized as an internal or external command, [exec] operable program or batch file. BUILD FAILED File...... C:\dev2\test\jira\maven.xml Element... ant:exec Line...... 244 Column.... 86 null returned: 1 Total time: 3 minutes 53 seconds Finished at: Sat Apr 07 15:26:10 GMT+03:30 2012 was (Author: akhavan_a): yes thanks i download source again and this problem solved,but i`m fed up with Continuous error: this time i got this one : [exec] 'cmd' is not recognized as an internal or external command, [exec] operable program or batch file. BUILD FAILED File...... C:\dev2\test\jira\maven.xml Element... ant:exec Line...... 244 Column.... 86 null returned: 1 Total time: 3 minutes 53 seconds Finished at: Sat Apr 07 15:26:10 GMT+03:30 2012 > building jira from source and maven error > ----------------------------------------- > > Key: MAVEN-1868 > URL: https://jira.codehaus.org/browse/MAVEN-1868 > Project: Maven 1 > Issue Type: Bug > Reporter: samira akhavan > Priority: Critical > Attachments: build.properties, settings.xml > > > i am about building jira from source and i should install maven 1 and maven 2. > i folowed from this documentattion: > http://confluence.atlassian.com/display/JIRA042/Building+JIRA+from+Source > but when i run maven in jira directory i got this error: > "You have encountered an unknown error running Maven...." > when i use maven --info i got this: > {noformat} > | \/ |__ _Apache__ ___ > | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ > |_| |_\__,_|\_/\___|_||_| v. 1.0 > {noformat} > > Which report > {noformat} > Which.version=Which.java:($Revision: 1.2 $) WhichJar.java:($Revision: 1.2 $) > java.version=1.6.0_16 > file.encoding=Cp1256 > java.ext.dirs=C:\Program > Files\Java\jdk1.6.0_16\jre\lib\ext;C:\WINDOWS\Sun\Java\ > lib\ext > java.class.path=C:\dev2\test\maven-1.0\lib\forehead-1.0-beta-5.jar > os.name=Windows XP > java.vendor=Sun Microsystems Inc. > sun.boot.class.path=C:\dev2\test\maven-1.0\lib\endorsed\xerces-2.4.0.jar;C:\dev2 > \test\maven-1.0\lib\endorsed\xml-apis-1.0.b2.jar;C:\Program > Files\Java\jdk1.6.0_ > 16\jre\lib\resources.jar;C:\Program > Files\Java\jdk1.6.0_16\jre\lib\rt.jar;C:\Pro > gram Files\Java\jdk1.6.0_16\jre\lib\sunrsasign.jar;C:\Program > Files\Java\jdk1.6. > 0_16\jre\lib\jsse.jar;C:\Program > Files\Java\jdk1.6.0_16\jre\lib\jce.jar;C:\Progr > am Files\Java\jdk1.6.0_16\jre\lib\charsets.jar;C:\Program > Files\Java\jdk1.6.0_16 > \jre\classes > java.runtime.name=Java(TM) SE Runtime Environment > {noformat} > > Installed plugins: > maven-abbot-plugin-1.0 > maven-announcement-plugin-1.2 > maven-ant-plugin-1.7 > maven-antlr-plugin-1.2.1 > maven-appserver-plugin-2.0 > maven-artifact-plugin-1.4 > maven-ashkelon-plugin-1.2 > maven-aspectj-plugin-3.1.1 > maven-aspectwerkz-plugin-1.2 > maven-caller-plugin-1.1 > maven-castor-plugin-1.2 > maven-changelog-plugin-1.7.1 > maven-changes-plugin-1.5 > maven-checkstyle-plugin-2.4.1 > maven-clean-plugin-1.3 > maven-clover-plugin-1.5 > maven-console-plugin-1.1 > maven-cruisecontrol-plugin-1.4 > maven-dashboard-plugin-1.3 > maven-developer-activity-plugin-1.5 > maven-dist-plugin-1.6 > maven-docbook-plugin-1.2 > maven-ear-plugin-1.5 > maven-eclipse-plugin-1.7 > maven-ejb-plugin-1.5 > maven-faq-plugin-1.4 > maven-file-activity-plugin-1.5 > maven-genapp-plugin-2.2 > maven-gump-plugin-1.4 > maven-hibernate-plugin-1.1 > maven-html2xdoc-plugin-1.3 > maven-idea-plugin-1.5 > maven-j2ee-plugin-1.5 > maven-jalopy-plugin-1.3 > maven-jar-plugin-1.6 > maven-java-plugin-1.4 > maven-javacc-plugin-1.1 > maven-javadoc-plugin-1.6.1 > maven-jboss-plugin-1.5 > maven-jbuilder-plugin-1.5 > maven-jcoverage-plugin-1.0.7 > maven-jdee-plugin-1.1 > maven-jdepend-plugin-1.5 > maven-jdeveloper-plugin-1.4 > maven-jdiff-plugin-1.4 > maven-jellydoc-plugin-1.3 > maven-jetty-plugin-1.1 > maven-jira-plugin-1.1.1 > maven-jnlp-plugin-1.4 > maven-junit-doclet-plugin-1.2 > maven-junit-report-plugin-1.5 > maven-jxr-plugin-1.4.1 > maven-latex-plugin-1.4.1 > maven-latka-plugin-1.4.1 > maven-license-plugin-1.2 > maven-linkcheck-plugin-1.3.2 > maven-multichanges-plugin-1.1 > maven-multiproject-plugin-1.3.1 > maven-native-plugin-1.1 > maven-nsis-plugin-1.1 > maven-pdf-plugin-2.1 > maven-plugin-plugin-1.5.1 > maven-pmd-plugin-1.5 > maven-pom-plugin-1.4.1 > maven-rar-plugin-1.0 > maven-release-plugin-1.4 > maven-repository-plugin-1.2 > maven-scm-plugin-1.4 > maven-shell-plugin-1.1 > maven-simian-plugin-1.4 > maven-site-plugin-1.5.1 > maven-struts-plugin-1.3 > maven-tasklist-plugin-2.3 > maven-test-plugin-1.6.2 > maven-tjdo-plugin-1.0.0 > maven-uberjar-plugin-1.2 > maven-vdoclet-plugin-1.2 > maven-war-plugin-1.6 > maven-webserver-plugin-2.0 > maven-wizard-plugin-1.1 > maven-xdoc-plugin-1.8 > Exception reading build.properties: C:\Documents and > Settings\S.Akhavan\build.properties (The system cannot find the file > specified) > Home Build properties: {} > i attach build.properties in jira directory and settings.xml in .m2 > directory. i just copy them and dont make any modification.perhaps in did > wrong in this part. > how can i resolve this problem? -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira