Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [m2e-users] m2e disable central

This is not supported. m2e and maven command line require access to
quite a few things from Central repository, you need to make these
dependencies available from the mirror.

--
Regards,
Igor

On 12-09-12 6:20 AM, Arne Gehring wrote:
Thanks!
Using a Mirror seems to work.
But now I'm getting this Error if i change something in my Project POM:

Errors occurred during the build.
Errors running builder 'Maven Project Builder' on project 'test'.
Could not calculate build plan: Plugin
org.apache.maven.plugins:maven-resources-plugin:2.5 or one of its
dependencies could not be resolved: Failed to read artifact descriptor
for org.apache.maven.plugins:maven-resources-plugin:jar:2.5
Plugin org.apache.maven.plugins:maven-resources-plugin:2.5 or one of its
dependencies could not be resolved: Failed to read artifact descriptor
for org.apache.maven.plugins:maven-resources-plugin:jar:2.5
Could not calculate build plan: Plugin
org.apache.maven.plugins:maven-resources-plugin:2.5 or one of its
dependencies could not be resolved: Failed to read artifact descriptor
for org.apache.maven.plugins:maven-resources-plugin:jar:2.5
Plugin org.apache.maven.plugins:maven-resources-plugin:2.5 or one of its
dependencies could not be resolved: Failed to read artifact descriptor
for org.apache.maven.plugins:maven-resources-plugin:jar:2.5

We are building our projects with ant, so we are using Maven only for
dependencies.
I tried to upload the "maven-resource-plugin" to our repo, without
writing dependencies in the pom, but it's not working.
Installing an external maven was not working, too.
Our repo is having no internet connection.

What can i do?

2012/9/12 Anders Hammar <anders@xxxxxxxxxx <mailto:anders@xxxxxxxxxx>>

    m2e reads the settings.xml in your user profile, so if that one is
    correctly configured to use an internal mirror that will be reflected
    in m2e as well. I think it will still say "central" in the Maven repo
    view in m2e but then something like mirrored in parenthesis..

    /Anders

    On Wed, Sep 12, 2012 at 11:31 AM, Arne Gehring
    <arne.gehring@xxxxxxxxxxxxxx <mailto:arne.gehring@xxxxxxxxxxxxxx>>
    wrote:
     > Hi,
     > I installed m2e (1.1.0.20120530-0009) today in my Eclipse Helios.
     > We want to have only repositories in our local network.
     > So the preconfigured "central" repo has to be disabled.
     > But how to do this?
     > I found this:
     >
    https://www.ebayopensource.org/wiki/display/TURMERICDOC/How+to+Setup+Maven+Repositories+and+Indexes
     > (at the bottom)
     > but i can't find that plugins.
     > All informations I found are for previous versions of m2eclipse.
     >
     > Thx!
     > Arne
     >
     > _______________________________________________
     > m2e-users mailing list
     > m2e-users@xxxxxxxxxxx <mailto:m2e-users@xxxxxxxxxxx>
     > https://dev.eclipse.org/mailman/listinfo/m2e-users
     >
    _______________________________________________
    m2e-users mailing list
    m2e-users@xxxxxxxxxxx <mailto:m2e-users@xxxxxxxxxxx>
    https://dev.eclipse.org/mailman/listinfo/m2e-users




_______________________________________________
m2e-users mailing list
m2e-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/m2e-users



Back to the top