facebook

Missing settings.xml file

  1. MyEclipse IDE
  2.  > 
  3. Maven for MyEclipse (Maven4MyEclipse)
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #293312 Reply

    mwilliamson
    Member

    I just install version 7 today.

    I get the following console errors when I update dependency

    1/9/09 12:39:09 PM CST: [INFO] User settings file does not exist C:\Documents and Settings\u51470\.m2\settings.xml
    1/9/09 12:39:25 PM CST: Downloading central : nexus-maven-repository-index.properties
    1/9/09 12:39:25 PM CST: Downloaded [central] -> http://repo1.maven.org/maven2/.index/nexus-maven-repository-index.properties
    1/9/09 12:39:25 PM CST: No index update available for central
    1/9/09 12:39:41 PM CST: [INFO] User settings file does not exist C:\Documents and Settings\u51470\.m2\settings.xml
    1/9/09 12:41:17 PM CST: [INFO] User settings file does not exist C:\Documents and Settings\u51470\.m2\settings.xml
    1/9/09 12:41:18 PM CST: Missing artifact javax.activation:activation:jar:1.0.2:provided
    1/9/09 12:41:19 PM CST: Missing artifact javax.mail:mail:jar:1.3.1:provided
    1/9/09 12:41:19 PM CST: Missing artifact javax.xml:namespace:jar:1.0.1:provided

    Do I create this file or was it not in the install?

    #293363 Reply

    These artifacts are not available in central Maven repository due to licensing constraints. MyEclipse can add them to your local repository – just create a Web project with Maven support. You can delete the new project after repository update is complete and run “Update Dependencies” on the original project.

    #293382 Reply

    mwilliamson
    Member

    I down loaded the missing jars. But I couldn’t figurer out how to make MyEclipse add them to the repository so I added the manually. This solved the missing dependencies. So I still have my original question where do I get the settings.xml file from?

    #293383 Reply

    @mwilliamson wrote:

    I down loaded the missing jars. But I couldn’t figurer out how to make MyEclipse add them to the repository so I added the manually. This solved the missing dependencies. So I still have my original question where do I get the settings.xml file from?

    Please see Maven documentation here.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Missing settings.xml file

You must be logged in to post in the forum log in