Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[m2e-users] Search in "Add" dialog finds artifact in Windows instance, not in Linux instance, but available in both

I have the same version of Eclipse (Neon/4.6.0) installed on Win7 and a CentOS7.2 VM, with just about the same set of plugins.  All updated.  I created a small Maven project with the same components in both workspaces.  Both projects specify the same particular external Maven artifact repository.  In the "Maven Repositories" view, I set that repo to "Full Index Enabled" and made sure the index was updated and rebuilt, just in case.  In the "Add" dialog for dependencies, I specified a particular search string in both instances.  In the Win7 instance, it showed all of the occurrences I expected to see.  In the Linux instance, it omitted several instances that I expected to see, including the one I really wanted.

I then browsed into the same repo in the Maven Repositories view, on both instances, I saw the same results in both instances.

I also manually deleted the parent directory in $HOME/.m2/repository on both boxes and rechecked.  Same results.

In the Win7 instance, I added the artifact that I wanted, which I didn't see in the Linux instance.  I verified it compiled successfully.

I then copied the dependency entry from the pom in the Win7 instance and inserted it into the POM in the CentOS instance.  Saved it.  Compiled successfully.

What's going on here?


Back to the top