kinow / testopia-plugin

Jenkins plug-in to integrate different test management tools
2 stars 6 forks source link

WARNINGS regarding dependencies #6

Closed tooh closed 11 years ago

tooh commented 11 years ago

[WARNING] 
[WARNING] Some problems were encountered while building the effective model for jenkins.plugins.testthemall:testthemall:hpi:1.0-SNAPSHOT
[WARNING] 'dependencies.dependency.systemPath' for testopia:testopia:jar should not point at files within the project directory, ${project.basedir}/src/main/webapp/WEB-INF/lib/testopia-java-driver-0.1-SNAPSHOT.jar will be unresolvable by dependent projects @ line 20, column 21
[WARNING] 'build.plugins.plugin.version' for com.cloudbees:maven-license-plugin is missing. @ org.jenkins-ci.plugins:plugin:1.424, /Users/peter/.m2/repository/org/jenkins-ci/plugins/plugin/1.424/plugin-1.424.pom, line 191, column 15
[WARNING] 
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING] 
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING] 
kinow commented 11 years ago

Hi Peter,

'dependencies.dependency.systemPath' for testopia:testopia:jar should not point at files within the project directory, ${project.basedir}/src/main/webapp/WEB-INF/lib/testopia-java-driver-0.1-SNAPSHOT.jar will be unresolvable by dependent projects @ line 20, column 21

This one will be removed once we release testopia-java-drive (remember we discussed about using the SNAPSHOT version to accelerate the development, as we have a partial implementation of testopia-java-driver, it will take a while before the first release :-)

'build.plugins.plugin.version' for com.cloudbees:maven-license-plugin is missing. @ org.jenkins-ci.plugins:plugin:1.424, /Users/peter/.m2/repository/org/jenkins-ci/plugins/plugin/1.424/plugin-1.424.pom, line 191, column 15

This is caused by a problem with cloudbees maven-license-plugin... IIRC, it has been fixed in newer versions of Jenkins, we could update the parent version of pom.xml and check if that removes this warning, but I prefer wait a few more releases, until more users have started using the parent version, otherwise when they will receive a warning if they try to install the plug-in (the red comment below de plugin description in the Plugin Manager, saying that this version is for Jenkins version 1.??? and may not work etc).

tooh commented 11 years ago

OK

kinow commented 11 years ago

Issue will be fixed in future releases, when we release testopia-java-driver to Maven central repo.