I am using Eclipse Luna with Maven 3.0.2, when i try to do mvn install through command prompt on my project , its working fine.
But when i run mvn install through eclipse , its failing with the below error
plugin - maven jar plugin or one of its dependencies could not be resolved ,
failed to read the maven-jar 2.4 artifact.
can not access the maven repository using the registered transporter factories
WagonTransportFactory: java.util.NoSuchElementException
Can anyone help on this if you have faced this before or having knowledge on this.
Thanks for your response...
I tried settings.xml and proxy , it didnt happen.
Then i tried with Kepler eclipse , its working fine now.
I think Luna has some issues.
Related
I have a Maven error like the following in Eclipse for a Maven project.:
Project 'project1' is missing required library: '.../.m2/repository/.../project2/0.37.0-SNAPSHOT/project2-0.37.0-SNAPSHOT.jar'
The project cannot be built until build path errors are resolved
The error is wrong, because in the parent pom.xml version 0.38.0-SNAPSHOT is defined, which also lies in the .m2 repository as project2-0.38.0-SNAPSHOT.jar
I tried: "Right click" -> "Maven" -> "Update Project...", but it does now solve the problem.
Then I tried: mvn eclipse:clean eclipse:eclipse, which solved the problem. But, then the problem is, that it converts the Eclipse Maven project to an Eclipse project. So I have to manually convert it back to an Eclipse Maven project. I also wonder because Apache Maven Eclipse Plugin is RETIRED.
Is there another solution to the above Problem?
Your error messages sais something about 0.37.0-SNAPSHOT but in your text you refere to 0.38.0-SNAPSHOT. Is it a mistake or maybe the version in your dependency is wrong?
First your are right not to mix mvn eclipse:eclipse and eclipse-m2e plug-in. Second the Maven->Update Project should fix any misconfiguration.
I would suggest to call mvn clean install in your console to verify that there are no real dependency problems. Eclipse sometimes does not update its index correctly.
Second if the error still appears try to restart your eclipse. I often saw that eclipse-m2e does cache some stra
I'm trying to make a Stash (Bitbucket Server) hook following this tutorial.
I installed the Atlassian SDK and ran both atlas-create-stash-plugin and atlas-create-stash-plugin-module.
However, Maven is unable to find any dependencies, despite them being in my local repository. I mean, look at this screenshot:
As you can see, the dependencies have successfully been installed to my local Maven repo, but IntelliJ (and Maven when I try to compile the plugin) are unable to locate the dependencies. Why?
It can be cache issue. So please try to do following in Intellij Idea:
File -> Invalidate Caches / Restart.
Also, you can try to reimport your project:
Try point to the repository and maven of Atlassian SDK installation:
I have a maven project and I'm getting this error in Eclipse:
Description Resource Path Location Type
org.codehaus.plexus.archiver.jar.Manifest.write(java.io.PrintWriter) pom.xml /rpc-server line
1 Maven Configuration Problem
I can to run mvn clean install with no problems on command line.
This is just annoying and I'm hoping someone else already tackled this.
Using Eclipse Java EE IDE version 2.0.2.20140224,
with m2e connector for mavenarchiver pom properties version 0.17.1.201605251832.
Thanks
Your problem can be solved via
https://otto.takari.io/content/sites/m2e.extras/m2eclipse-mavenarchiver/0.17.2/N/LATEST/
I recently upgraded my Eclipse from Kepler to Luna. I now have problems resolving Maven dependencies in my projects. Specifically, the projects with problems use a repository I need to authenticate to, and the error I'm getting is HTTP 401 Not Authorized error.
If I attempt to run a maven build from the command line, all of the dependencies resolve just fine, so it appears to be a problem with Eclipse or one of its plugins. Has anyone else encountered this problem? How did you fix it?
I'm trying to install Maven integration plugin in Eclipse Helios. But I am getting error like
Cannot complete the install because one or more required items could not be found.
Software being installed: m2e - Maven Integration for Eclipse 1.4.1.20140328-1905 (org.eclipse.m2e.feature.feature.group 1.4.1.20140328-1905)
Missing requirement: async-http-client 1.6.5.20140328-1501 (com.ning.async-http-client 1.6.5.20140328-1501) requires 'package org.slf4j 1.6.2' but it could not be found
Cannot satisfy dependency:
From: m2e - Maven Integration for Eclipse 1.4.1.20140328-1905 (org.eclipse.m2e.feature.feature.group 1.4.1.20140328-1905)
To: com.ning.async-http-client [1.6.5.20140328-1501]
Solve my problem. May be this will be helpful for some of you guys
add this link to your eclipse and it will work.
http://download.eclipse.org/technology/m2e/releases/1.3