facebook

Adding a dependency from a private repository

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

    I have recently installed 7.0M2 and I’m evaluating the maven support in it.

    We have a private repository where we keep all the jars our projects depend on. The url and username/password for that are configured in maven’s settings.xml. Using maven from the command line, it works just fine.

    I have added the maven nature to my existing projects, but when I right click on any of them and navigate to Maven4MyEclipse > Add Dependency, the dialog that pops up does not seem to find any jars from our repository – only stuff I have in my local one.

    I have pointed both user and global settings to the only settings.xml I have, where our repository is configured to act as the “central” repository.

    Is this by design? If not, any tips on how to get this working?

    Thanks

    #289559 Reply

    Riyad Kalla
    Member

    This should work as expected, can you walk me through what you did?

    #289592 Reply

    @support-rkalla wrote:

    This should work as expected, can you walk me through what you did?

    I tried it again to provide you the exact steps, and now it is working fine. As far as I know, I haven’t changed anything. Can this be due to some delay in the indexing of the repository? Does it search the repository on the fly as one types the name of the artifact in the dialog textfield? If not, how often is the index updated, and can you force an update of the repository index?

    Thanks

    #289754 Reply

    Riyad Kalla
    Member

    Ahh yea it’s very possible the original index was downloading, and yes it does refresh the index each time the IDE starts up if you haven’t unchecked the default behavior to do so.

    Under Window > Prefs > MyEclipse > Maven4MyEclipse, the 5th checkbox down you can set this behavior.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Adding a dependency from a private repository

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