sevntu-checkstyle / sevntu.checkstyle

Additional Checkstyle checks, that could be added as extension to EclipseCS plugin and maven-checkstyle-plugin, Sonar checkstyle plugin, extension for CheckStyle IDEA plugin.
http://sevntu-checkstyle.github.io/sevntu.checkstyle/
190 stars 147 forks source link

'Bump CS version in REPO' is not working #943

Closed romani closed 1 year ago

romani commented 1 year ago

https://github.com/sevntu-checkstyle/sevntu.checkstyle/actions/runs/3602122111/jobs/6068698973#step:4:16128

Error:  Cannot resolve project dependencies:
Error:    Software being installed: eclipsecs-sevntu-plugin 1.43.0
Error:    Missing requirement: eclipsecs-sevntu-plugin 1.43.0 requires 'osgi.bundle; net.sf.eclipsecs.checkstyle 0.0.0' but it could not be found
romani commented 1 year ago

@stoyanK7 , please help to resolve

stoyanK7 commented 1 year ago

On it.

stoyanK7 commented 1 year ago

Aight, I am stuck on this one. No ideas on what to do. Locally no issues, but actions fails.

rnveach commented 1 year ago

@stoyanK7 Looking at error message, it looks like the original eclipsecs is not being installed first before doing an action eclipsecs-sevntu. You may have done this already on your local, but server starts with a clean system.

eclipsecs is not in maven, hence why it has to be manually installed first.

rnveach commented 1 year ago

I would assume something like https://github.com/sevntu-checkstyle/sevntu.checkstyle/blob/048cf5a21715dcb53d873c27f7eaf9985880092e/.ci/validation.sh#L20-L25 has to happen first.

stoyanK7 commented 1 year ago

Yes, thank you. I was just looking at this. https://github.com/sevntu-checkstyle/sevntu.checkstyle/wiki/SevNTU-plugin-for-EclipseCS-plugin-compilation