There is no connector available using the eclipse ethernet package to deploy through the maven plugin

I am trying to use Maven 3.1.0 and Eclipse Aether 0.9.0.M3. I installed it according to their document and tried to run it as a maven plugin. This is a link to their deployment example . I replaced the name of my repository in the list, but when I run the plugin, I get the following error:

[ERROR] Failed to complete the target com.company.maven.plugin.sample: nexus-maven-plugin: 1.0-SNAPSHOT: deploy-repository (default-cli) in the NexusHelper project: Failed to deploy artifacts / metadata: None to access to the default internal repository repository ( http://nexus.company.com/content/repositories/incubator/ ) using the available factories โ†’ [Help 1]

I can take the same code example and run it in a separate bank, and it works fine. I wanted to keep everything together as one plugin, if possible, and not have a plugin and a separate jar with it.

+2
source share
1 answer

I had the same problem because this connector was not automatically injected. After I did this manually, I got errors of "incorrect method signing", which led me to the fact that Maven 3.1.0 uses Aether 0.9.0M2.

Switching to this version did not work for me, and there are no samples, so now I'm starting to use the ether of the sonatype.

0
source

Source: https://habr.com/ru/post/1235979/


All Articles