2012-10-02 14 views
13

अद्यतन: एक जवाबm2e कनेक्टर buildhelper ग्रहण जूनो SR1 m2e के साथ संगत नहीं 1.2

ग्रहण जूनो SR1 m2e प्लगइन संस्करण 1.2 स्थापित करता है का हल ले जाया गया। ग्रहण बाज़ार द्वारा प्रदान किया गया m2e कनेक्टर buildhelper m2e प्लगइन के इस संस्करण के साथ संगत नहीं है। मैं विभिन्न मेललिस्टिस्टों को देख रहा हूं, लेकिन मुझे कोई स्थान नहीं मिला है जहां एक अपडेटेड बिल्डहेपर ढूंढना है।

Operation details 
Cannot complete the install because of a conflicting dependency. 
Software being installed: m2e connector for build-helper-maven-plugin 0.15.0.201109282249 (org.sonatype.m2e.buildhelper.feature.feature.group 0.15.0.201109282249) 
Software currently installed: m2e - Maven Integration for Eclipse 1.2.0.20120903-1050  (org.eclipse.m2e.feature.feature.group 1.2.0.20120903-1050) 
Only one of the following can be installed at once: 
    Maven Integration for Eclipse JDT 1.2.0.20120903-1050 (org.eclipse.m2e.jdt 1.2.0.20120903-1050) 
    Maven Integration for Eclipse JDT 1.1.0.20120530-0009 (org.eclipse.m2e.jdt 1.1.0.20120530-0009) 
Cannot satisfy dependency: 
    From: m2e - Maven Integration for Eclipse 1.2.0.20120903-1050 (org.eclipse.m2e.feature.feature.group 1.2.0.20120903-1050) 
    To: org.eclipse.m2e.jdt [1.2.0.20120903-1050] 
Cannot satisfy dependency: 
    From: m2e connector for build-helper-maven-plugin 0.15.0.201109282249 (org.sonatype.m2e.buildhelper 0.15.0.201109282249) 
    To: bundle org.eclipse.m2e.jdt [1.1.0,1.2.0) 
Cannot satisfy dependency: 
    From: m2e connector for build-helper-maven-plugin 0.15.0.201109282249 (org.sonatype.m2e.buildhelper.feature.feature.group 0.15.0.201109282249) 
    To: org.sonatype.m2e.buildhelper [0.15.0.201109282249] 

हमारे पोम फ़ाइलों हम ग्रहण करने के लिए उत्पन्न स्रोतों के साथ निर्देशिका जोड़ने के लिए buildhelper का उपयोग में:

<plugin> 
    <groupId>org.codehaus.mojo</groupId> 
    <artifactId>build-helper-maven-plugin</artifactId> 
    <version>1.5</version> 
    <executions> 
     <!-- Fix this eclipse error by discovering the plugin in the marketplace --> 
     <execution> 
      <id>add-source</id> 
      <phase>generate-sources</phase> 
      <goals> 
       <goal>add-source</goal> 
      </goals> 
      <configuration> 
       <sources> 
         <source>${project.build.directory}/generated-sources/cxf</source> 
       </sources> 
      </configuration> 
     </execution> 
    </executions> 
</plugin> 
+1

इसके लिए धन्यवाद। आपको अपना समाधान एक उत्तर के रूप में जोड़ना चाहिए और इसे स्वीकार करना चाहिए। – artbristol

+3

आपको अपना समाधान एक उत्तर में रखना चाहिए और प्रश्न को उत्तर के रूप में चिह्नित करना चाहिए ताकि यह स्पष्ट हो कि समस्या हल हो गई थी। – FrVaBe

+0

टिप्पणियों के लिए धन्यवाद। मैंने समाधान को नीचे दिए गए उत्तर में ले जाया। मुझे समाधान के रूप में अपना उत्तर चिह्नित करने से पहले दो दिन इंतजार करना होगा। – Denis

उत्तर

21

टिप्पणी जब m2e कनेक्टर buildhelper स्थापित करने के लिए कोशिश कर रहा

निम्नलिखित त्रुटि होती है पोम में बिल्डस्पर स्थापित करने के लिए एक्लिप्स मार्केटप्लेस का उपयोग करने का सुझाव दिया गया:

<!-- Fix this eclipse error by discovering the plugin in the marketplace --> 

यह नहीं करेगा, क्योंकि ग्रहण बाजार में बिल्डहेपर संस्करण पुराना है।

एक्लिप्स मार्केटप्लेस का उपयोग करने के बजाय, मैंने एक्सेलिप इंस्टॉल सॉफ्टवेयर का उपयोग करके सीधे सोनाटाइप रिपोजिटरी से बिल्डहेपर स्थापित किया। (वर्तमान में) नवीनतम संस्करण के साथ सोनाटाइप रिपोजिटरी यहां है: https://repository.sonatype.org/content/repositories/forge-sites/m2e-extras/0.15.0/N/0.15.0.201206251206/

यह मेरी समस्या को ठीक करता है।

+0

+1 मेरे लिए भी काम करता है। – Stephan202

संबंधित मुद्दे