dash-licenses icon indicating copy to clipboard operation
dash-licenses copied to clipboard

Run the tool on the tool during Maven build

Open waynebeaton opened this issue 4 years ago • 1 comments

Run the tool on the tool during Maven build.

waynebeaton avatar Feb 22 '21 22:02 waynebeaton

Running on itself in the same reactor build fails with:

[ERROR] The projects in the reactor contain a cyclic reference: Edge between 'Vertex{label='org.eclipse.dash:license-tool-plugin:0.0.1-SNAPSHOT'}' and 'Vertex{label='org.eclipse.dash:org.eclipse.dash.licenses:0.0.1-SNAPSHOT'}' introduces to cycle in the graph org.eclipse.dash:org.eclipse.dash.licenses:0.0.1-SNAPSHOT --> org.eclipse.dash:license-tool-plugin:0.0.1-SNAPSHOT --> org.eclipse.dash:org.eclipse.dash.licenses:0.0.1-SNAPSHOT @ 
[ERROR] The projects in the reactor contain a cyclic reference: Edge between 'Vertex{label='org.eclipse.dash:license-tool-plugin:0.0.1-SNAPSHOT'}' and 'Vertex{label='org.eclipse.dash:org.eclipse.dash.licenses:0.0.1-SNAPSHOT'}' introduces to cycle in the graph org.eclipse.dash:org.eclipse.dash.licenses:0.0.1-SNAPSHOT --> org.eclipse.dash:license-tool-plugin:0.0.1-SNAPSHOT --> org.eclipse.dash:org.eclipse.dash.licenses:0.0.1-SNAPSHOT -> [Help 1]
[ERROR] 

It would probably work if you release 0.0.1 to have it available in the releases repo and upversion the development stream to 0.0.2-SNAPSHOT . That should unbreak the cycle as it would be pointing to different version not the one being built.

akurtakov avatar Feb 22 '21 23:02 akurtakov