Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [m2e-users] Can't get dependencies updated from repository

We'll need a small standalone example project and exact steps to
reproduce the problem.

--
Regards,
Igor

On 2012-12-20 1:43 AM, Urkens Jean-Pierre wrote:
Yes I do!

Which I also find strange is that after I’ve run, from the console, ‘mvn
clean install’ (which downloads all dependencies) and switch back to
Eclipse (press F5 to refresh) it still keeps listing my dependencies as
missing even if I do 'maven->update project'?

*From:*m2e-users-bounces@xxxxxxxxxxx
[mailto:m2e-users-bounces@xxxxxxxxxxx] *On Behalf Of
*Alejandro.Endo@xxxxxxxxxxx
*Sent:* Wednesday, December 19, 2012 8:58 PM
*To:* Maven Integration for Eclipse users mailing list
*Subject:* Re: [m2e-users] Can't get dependencies updated from repository

When you do 'maven->update project', do you check the checkbox for
"Force update of Snapshots/releases"?

*Alejandro Endo* <mailto:%20alejandro.endo@xxxxxxxxxxx> | Software
Designer/Concepteur de logiciels*_
_**Miranda Technologies* <http://www.miranda.com/contact.php> | Tel:
(514) 333-1772 Ext: 3789
3499 Douglas-B.-Floreani, Montréal, QC  H4S 2C6  Canada
Miranda Technologies is a brand of Belden Inc.

Inactive hide details for Urkens Jean-Pierre ---2012-12-19 05:44:00
AM---Hi, I recently switched to Eclipse Juno (Juno SR1 builUrkens
Jean-Pierre ---2012-12-19 05:44:00 AM---Hi, I recently switched to
Eclipse Juno (Juno SR1 build-id: 20121004-1855) having following m2e plug

From: Urkens Jean-Pierre <Jean-Pierre.Urkens@xxxxxxxxxxxx
<mailto:Jean-Pierre.Urkens@xxxxxxxxxxxx>>
To: "m2e-users@xxxxxxxxxxx <mailto:m2e-users@xxxxxxxxxxx>"
<m2e-users@xxxxxxxxxxx <mailto:m2e-users@xxxxxxxxxxx>>,
Date: 2012-12-19 05:44 AM
Subject: [m2e-users] Can't get dependencies updated from repository
Sent by: <m2e-users-bounces@xxxxxxxxxxx
<mailto:m2e-users-bounces@xxxxxxxxxxx>>

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




Hi,

I recently switched to Eclipse Juno (Juno SR1 build-id: 20121004-1855)
having following m2e plugins:

   m2e - Maven Integration for Eclipse
1.2.0.20120903-1050
org.eclipse.m2e.feature.feature.group
  Eclipse.org - m2e
   m2e connector for antlr
              0.15.0.201207090124
               org.sonatype.m2e.antlr.feature.feature.group
                   Sonatype, Inc.
   m2e connector for build-helper-maven-plugin
  0.15.0.201207090124
   org.sonatype.m2e.buildhelper.feature.feature.group       Sonatype, Inc.
   m2e connector for mavenarchiver pom properties
  0.15.0.201207090125-signed-201209140800
  org.sonatype.m2e.mavenarchiver.feature.feature.group
  Sonatype, Inc.
   m2e-wtp - Maven Integration for WTP (Incubation)
  0.16.0.20120914-0945
org.eclipse.m2e.wtp.feature.feature.group             Eclipse.org - m2e-wtp

I got problems with my dependencies so I cleared my local repository to
make sure they are all reloaded again from our repository (managed by
Nexus 1.8.0.1).
The problem is that I can’t get this done from within eclipse. When I
try ‘Maven->Update project’ the dependencies, parent poms, build
plugins,… are not retrieved from nexus and my POM file is marked red
with indications of missing dependencies. However if I manualy enter
‘mvn clean install’ from my project root directory everything is
retrieved from Nexus.

I even adjusted the snapshot repository in my settings.xml file as follows:

         <repository>
           <id>snapshots</id>

<url>http://pino:8081/nexus/content/repositories/snapshots</url
<http://pino:8081/nexus/content/repositories/snapshots%3c/url>>
           <releases><enabled>false</enabled></releases>

<snapshots><enabled>true</enabled>*<updatePolicy>always</updatePolicy>*</snapshots>
         </repository>

Somehow I can’t get the dependencies of my project updated within
Eclipse itself.

Is this a bug or am I missing something?

J.P. Urkens_______________________________________________
m2e-users mailing list
m2e-users@xxxxxxxxxxx <mailto:m2e-users@xxxxxxxxxxx>
https://dev.eclipse.org/mailman/listinfo/m2e-users

DISCLAIMER: Privileged and/or Confidential information may be contained
in this message. If you are not the addressee of this message, you may
not copy, use or deliver this message to anyone. In such event, you
should destroy the message and kindly notify the sender by reply e-mail.
It is understood that opinions or conclusions that do not relate to the
official business of the company are neither given nor endorsed by the
company. Thank You.



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



Back to the top