Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Plugin not found in any plugin repository" #343

Open
koppor opened this issue May 14, 2024 · 2 comments
Open

"Plugin not found in any plugin repository" #343

koppor opened this issue May 14, 2024 · 2 comments

Comments

@koppor
Copy link
Member

koppor commented May 14, 2024

I am trying to invoke the plugin using following command line:

mvn org.eclipse.dash:license-tool-maven:license-check -Ddash.summary=DEPENDENCIES

(Source: https://blog.waynebeaton.ca/posts/ip/dash-license-tool-maven-plugin/)

Then, I get:

[ERROR] Error resolving version for plugin 'org.eclipse.dash:license-tool-maven' from the repositories [local (C:\Users\olive\.m2\repository), google-maven-central (https://maven-central.storage-download.googleapis.com/maven2/)]: Plugin not found in any plugin repository -> [Help 1]

I executed the plugin the root of https://github.com/eclipse/winery/. I checked pom.xml and don't see anything "special".

@waynebeaton
Copy link
Member

The Dash License Tool is not in Maven Central. Either you need to install it locally, or you must include the pluginRepository as described in the documentation.

<pluginRepositories>
	<pluginRepository>
		<id>dash-licenses-snapshots</id>
		<url>https://repo.eclipse.org/content/repositories/dash-licenses-snapshots/</url>
		<snapshots>
			<enabled>true</enabled>
		</snapshots>
	</pluginRepository>
	...
</pluginRepositories>

I'll update the blog post.

@koppor
Copy link
Member Author

koppor commented May 14, 2024

I think, I need to use some other repo.

In the directory https://repo.eclipse.org/content/repositories/dash-licenses-snapshots/org/eclipse/dash/license-tool-plugin/, there is no version 1.0.2

[ERROR] Plugin org.eclipse.dash:license-tool-plugin:1.0.2 or one of its dependencies could not be resolved: The following artifacts could not be resolved: org.eclipse.dash:license-tool-plugin:jar:1.0.2 (absent): org.eclipse.dash:license-tool-plugin:jar:1.0.2 was not found in https://repo.eclipse.org/content/repositories/dash-licenses-snapshots/ during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of dash-licenses-snapshots has elapsed or updates are forced -> [Help 1]

OK, this is OK, since copy and paste from old blog posts mostly doesn't work. <version>1.1.1-SNAPSHOT</version> works though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants