mam-dev / foss-parent

Parent POM for 1-and-1 open source projects using Maven.
http://1and1.github.io/foss-parent/github-report.html
Apache License 2.0
10 stars 4 forks source link

Specify dependency for property guice.version in versions-maven-plugin #63

Closed mfriedenhagen closed 10 years ago

mfriedenhagen commented 10 years ago

Otherwise calling site will choke in inheriting projects because the update-properties goal does not know what to do with guice.version:

24961 [INFO] Generating "Property Updates Report" report --- versions-maven-plugin:2.1:property-updates-report
24975 [DEBUG] Searching for properties associated with builders
24975 [DEBUG] Property ${guice.version}
24975 [DEBUG] Property ${guice.version}: Looks like this property is not associated with any dependency...

Caused by: java.lang.IllegalStateException: Cannot compare versions for a property with no associations
    at org.codehaus.mojo.versions.api.PropertyVersions$PropertyVersionComparator.getSegmentCount(PropertyVersions.java:439)
    at org.codehaus.mojo.versions.api.UpdateScope$1.getOldestUpdate(UpdateScope.java:55)