Open koppor opened 4 months ago
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.
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.
I am trying to invoke the plugin using following command line:
(Source: https://blog.waynebeaton.ca/posts/ip/dash-license-tool-maven-plugin/)
Then, I get:
I executed the plugin the root of https://github.com/eclipse/winery/. I checked
pom.xml
and don't see anything "special".