eclipse-dash / dash-licenses

Extract license information from content.
http://projects.eclipse.org/projects/technology.dash
Eclipse Public License 2.0
47 stars 33 forks source link

Cyclic error reported for a bundle with fragment #315

Closed ruspl-afed closed 8 months ago

ruspl-afed commented 8 months ago

There is an eclipse-plugin module org.eclipse.mylyn.wikitext.ant and eclipse-test-plugin module org.eclipse.mylyn.wikitext.ant.tests that has directive Fragment-Host: org.eclipse.mylyn.wikitext.ant

Standard mvn clean verify is able to proceed, but running action via eclipse/dash-licenses/.github/workflows/mavenLicenseCheck.yml@master gives the following error:

Error:  The projects in the reactor contain a cyclic reference: 
Edge between 'Vertex{label='org.eclipse.mylyn.docs:org.eclipse.mylyn.wikitext.ant.tests:4.2.0-SNAPSHOT'}' 
and 'Vertex{label='org.eclipse.mylyn.docs:org.eclipse.mylyn.wikitext.ant:4.2.0-SNAPSHOT'}' 
introduces to cycle in the graph org.eclipse.mylyn.docs:org.eclipse.mylyn.wikitext.ant:4.2.0-SNAPSHOT --> 
org.eclipse.mylyn.docs:org.eclipse.mylyn.wikitext.ant.tests:4.2.0-SNAPSHOT -->
 org.eclipse.mylyn.docs:org.eclipse.mylyn.wikitext.ant:4.2.0-SNAPSHOT -> [Help 1]

Do you have any advice what could be wrong @HannesWell ?

ruspl-afed commented 8 months ago

It seems that excessive usage of Import-Package: and Export-Package: directive did this. After reducing it to a minimum license check became happy. No action needed from your side. Sorry for the noise.