Jump to content

[Share] Resolve the bug with Eclipse (Plug In Maven)


Recommended Posts

Hello everyone today i share you a little Bug i find when i try install Plug In Maven to eclipse.

 

I follow this guide:

 

http://www.l2jfree-users.com/l2jfreeusers/posts/list/9.page

 

If you see this error:

 

[ERROR] Error executing Maven.
[ERROR] The specified user settings file does not exist: C:\Documents and Settings\Duncan Idaho\.m2\settings.xml

 

Go in your C:\Documents and Settings\ (my computer name) \

 

If you dont have the .m2 flooder create, if you have just create a Setting.xml inner the .m2 flooder

 

and add this in your Setting.xml

 

   <settings xmlns="http://maven.apache.org/POM/4.0.0"
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
   http://maven.apache.org/xsd/settings-1.0.0.xsd">
   <localRepository/>
   <interactiveMode/>
   <usePluginRegistry/>
   <offline/>
   <pluginGroups/>
   <servers/>
   <mirrors/>
   <proxies/>
   <profiles/>
   <activeProfiles/>
   </settings>

 

----------------------------------------------------

 

a Orther error you can get

 

If you have this when you compile.

 

   [iNFO] Scanning for projects...
   [iNFO]                                                                         
   [iNFO] ------------------------------------------------------------------------
   [iNFO] Building l2j-mmocore-1.3.0-SNAPSHOT 1.3.0-SNAPSHOT
   [iNFO] ------------------------------------------------------------------------
   2010-04-13 23:58:44.296:INFO::Logging to StdErrLog::DEBUG=false via org.eclipse.jetty.util.log.StdErrLog
   Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.3/maven-clean-plugin-2.3.jar
   17 KB downloaded at 2.6 KB/sec
   Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-install-plugin/2.3/maven-install-plugin-2.3.jar
   23 KB downloaded at 9.7 KB/sec
   [iNFO]
   [iNFO] --- maven-clean-plugin:2.3:clean (default-clean) @ l2j-mmocore ---
   Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.3/maven-clean-plugin-2.3.pom
   5 KB downloaded at 3.7 KB/sec
   Downloading: http://repo1.maven.org/maven2/org/apache/maven/shared/file-management/1.2.1/file-management-1.2.1.pom
   4 KB downloaded at 0.3 KB/sec
   Downloading: http://repo1.maven.org/maven2/org/apache/maven/shared/maven-shared-components/10/maven-shared-components-10.pom
   9 KB downloaded at 1.5 KB/sec
   Downloading: http://repo1.maven.org/maven2/junit/junit/3.8.1/junit-3.8.1.jar
   Downloading: http://repo1.maven.org/maven2/org/apache/maven/shared/file-management/1.2.1/file-management-1.2.1.jar
   37 KB downloaded at 6.1 KB/sec
   119 KB downloaded at 14.6 KB/sec
   [iNFO]
   [iNFO] --- buildnumber-maven-plugin:1.0-beta-4:create (default) @ l2j-mmocore ---
   Downloading: http://repo1.maven.org/maven2/org/apache/maven/wagon/wagon-http-lightweight/1.0-beta-2/wagon-http-lightweight-1.0-beta-2.jar
   Downloading: http://repo1.maven.org/maven2/org/apache/maven/wagon/wagon-file/1.0-beta-2/wagon-file-1.0-beta-2.jar
   Downloading: http://repo1.maven.org/maven2/org/apache/maven/wagon/wagon-http-shared/1.0-beta-2/wagon-http-shared-1.0-beta-2.jar
   Downloading: http://repo1.maven.org/maven2/xml-apis/xml-apis/1.0.b2/xml-apis-1.0.b2.jar
   Downloading: http://repo1.maven.org/maven2/jtidy/jtidy/4aug2000r7-dev/jtidy-4aug2000r7-dev.jar
   13 KB downloaded at 7.7 KB/sec
   10 KB downloaded at 4.7 KB/sec
   Downloading: http://repo1.maven.org/maven2/org/apache/maven/reporting/maven-reporting-api/2.0.6/maven-reporting-api-2.0.6.jar
   10 KB downloaded at 3.6 KB/sec
   Downloading: http://repo1.maven.org/maven2/org/apache/maven/doxia/doxia-sink-api/1.0-alpha-7/doxia-sink-api-1.0-alpha-7.jar
   Downloading: http://repo1.maven.org/maven2/commons-cli/commons-cli/1.0/commons-cli-1.0.jar
   10 KB downloaded at 6.4 KB/sec
   6 KB downloaded at 2.2 KB/sec
   Downloading: http://repo1.maven.org/maven2/org/apache/maven/wagon/wagon-ssh-external/1.0-beta-2/wagon-ssh-external-1.0-beta-2.jar
   Downloading: http://repo1.maven.org/maven2/org/apache/maven/wagon/wagon-ssh-common/1.0-beta-2/wagon-ssh-common-1.0-beta-2.jar
   13 KB downloaded at 5.2 KB/sec
   30 KB downloaded at 5.4 KB/sec
   Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-interactivity-api/1.0-alpha-4/plexus-interactivity-api-1.0-alpha-4.jar
   Downloading: http://repo1.maven.org/maven2/org/apache/maven/wagon/wagon-ssh/1.0-beta-2/wagon-ssh-1.0-beta-2.jar
   25 KB downloaded at 5.2 KB/sec
   107 KB downloaded at 9.3 KB/sec
   135 KB downloaded at 10.6 KB/sec
   Downloading: http://repo1.maven.org/maven2/com/jcraft/jsch/0.1.27/jsch-0.1.27.jar
   14 KB downloaded at 0.8 KB/sec
   24 KB downloaded at 1.3 KB/sec
   120 KB downloaded at 15.7 KB/sec
   [iNFO] Checking for local modifications: skipped.
   [iNFO] Updating project files from SCM: skipped.
   [iNFO] Executing: cmd.exe /X /C "svn --non-interactive info"
   [iNFO] Working directory: C:\Documents and Settings\Duncan Idaho\Bureau\L2J-Free Gracia Final\l2j-mmocore
   Provider message:
   The svn command failed.
   Command output:
   svn: This client is too old to work with working copy '.'.  You need
   to get a newer Subversion client, or to downgrade this working copy.
   See http://subversion.tigris.org/faq.html#working-copy-format-change
   for details.

   [iNFO] ------------------------------------------------------------------------
   [iNFO] BUILD FAILURE
   [iNFO] ------------------------------------------------------------------------
   [iNFO] Total time: 1:50.329s
   [iNFO] Finished at: Wed Apr 14 00:00:32 HST 2010
   [iNFO] Final Memory: 2M/5M
   [iNFO] ------------------------------------------------------------------------
   [ERROR] Failed to execute goal org.codehaus.mojo:buildnumber-maven-plugin:1.0-beta-4:create (default) on project l2j-mmocore: Cannot get the revision information from the scm repository :
   Error!
   -> [Help 1]
   [ERROR]
   [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
   [ERROR] Re-run Maven using the -X switch to enable full debug logging.
   [ERROR]
   [ERROR] For more information about the errors and possible solutions, please read the following articles:
   [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

 

Go download the last version of subversion:

 

http://subversion.apache.org/packages.html#windows

 

The Share is finish, i just find this error. if you have the same error follow this share, if you dont have i am happy for you :P

 

Credit: Mine and Psychokiller1888

Link to comment
Share on other sites

Lool this bug exist if i post...

if you have the same error follow this share, if you dont have i am happy for you

 

I post this in the french community and i was not alone get this

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock