versioneye/versioneye_maven_plugin

pretty generic project_key and title

ecki opened this issue · 8 comments

ecki commented

When I use versioneye:create in http://github.com/ecki/seeburger-vfs2 it creates 3 projects with pretty generic project keys like:

project_id=523a6cde632bac45e60037d2
project_key=maven2_pom_json_2

Also on the project homepage the name is "pom.json" which is especially a problem since the POM with the two sub modules result in 3 of those projects.

reiz commented

Yes. the project name is not the best. It should be the name or the artifact_id from the pom.xml. I double check that on the server side.

reiz commented

On the server we read via xpath //project/name from the pom.xml file. Is that set in your pom.xml file?
The filename is just the fallback solution.

reiz commented

Just found the error. If you upload a pom.xml VersionEye takes the name attribute. But the maven plugin uploads a pom.json which doesn't include the name. I will change that.

ecki commented

Cool, this works with 1.0.0-13 g35ae436822c7 from master

reiz commented

It's working with the current master of this plugin. But it is a breaking change, that's why I updated the version to 2.0.0. Following the semantic version concept :-)

ecki commented

What is the project key used for anyway? With a non-semantic project-id most "discussions" can be avoided and the visible title can be changed on the web.

reiz commented

Yes. The project_key is kind of redundant. We don't really need it. It is just a more readable alternative for the id.