| Summary: | Incomplete error message when dependencies are not resolved | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Sahoo <sanjeeb.sahoo> | ||||||||
| Component: | m2e | Assignee: | Project Inbox <m2e.core-inbox> | ||||||||
| Status: | CLOSED WORKSFORME | QA Contact: | |||||||||
| Severity: | normal | ||||||||||
| Priority: | P3 | CC: | igor | ||||||||
| Version: | unspecified | ||||||||||
| Target Milestone: | --- | ||||||||||
| Hardware: | PC | ||||||||||
| OS: | Linux | ||||||||||
| Whiteboard: | |||||||||||
| Attachments: |
|
||||||||||
|
Description
Sahoo
Created attachment 200773 [details]
screenshot showing the problem.
I am unable to reproduce the problem using trivial sample project below. Does the problem occur using clean Eclipse 3.7 "For Java Developers" distribution and new workspace? Can you provide complete standalone example project and steps to reproduce the problem? <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>test</groupId> <artifactId>test</artifactId> <version>0.0.1-SNAPSHOT</version> <packaging>pom</packaging> <dependencies> <dependency> <groupId>bb</groupId> <artifactId>xx</artifactId> <version>0</version> </dependency> </dependencies> </project> Created attachment 200777 [details]
Standalone Test Case
I am using Eclipse Java EE IDE for Web Developers.
Unzip the attached tutorial.zip, import everything from tutorial folder. Open parent-pom/pom.xml to see the problem.
I am not sure what "Eclipse Java EE IDE for Web Developers" means. Can you attach eclipse configuration details here? I downloaded fresh "Eclipse IDE for Java EE Developers" from http://eclipse.org/downloads/. Using this version I am still not able to reproduce the problem. Provided example does not have any dependency resolution problems if I import it as is. If I remove glassfish-nexus-repo repository from parent-pom/pom.xml I get expected artifact not found error markers. In both case I used empty local repository to eliminate interference with pre-accumulated local state. Do you have anything interesting in settings.xml or maybe something in your network configuration can explain what triggers the problem? I am pretty sure what eclipse ide distro you have downloaded and installed is what I am using as well. If you check "Help:About Eclipse," it should tell "Eclipse Java EE IDE for Web Developers." I am sorry the zip file I attached had the extra repository configured in parent-pom, as I zipped them from my workspace and I had added the extra repository to resolve the missing artifacts. As you noted, to reproduce the missing artifact problem, you have to remove the extra repository and remove org/glassfish/* from your local maven repo. After doing this, what do you see when you click on that marker that says "Click for 3 more". Don't you see an empty rectangle as I saw in the screenshot? No, I don't have anything in my seetings.xml and network config is alright at my end. Thanks. Created attachment 200880 [details]
expected missing artifact info screenshot
FWIW, this is how the missing artifact is reported for me.
(In reply to comment #6) > Created attachment 200880 [details] > expected missing artifact info screenshot > > FWIW, this is how the missing artifact is reported for me. Since it is working for you, you can close the bug until we find a way to reproduce it outside my environment. Thanks for looking into it. Closing old/stale bugreports. |