Details
Description
We are using Maven-Tycho, Jenkins and Sonar together with Jacoco to build eclipse products.
Sadly it seems that sonar can't be used in this szenario because eclipse decided to introduced versions with really long qualifiers, e.g. the version for the current eclipse SDK feature looks like 3.7.0.v20110426-7Q7xA7DPb31rE2_TcfD-VPkLqq8sfDmLus7XtaSo-7NHB.
These versions are not compatible with sonars database scheme. At the end of each build sonar breaks with the following error message (see attachment for full trace):
[ERROR] Failed to execute goal org.codehaus.sonar:sonar-maven3-plugin:2.9:sonar (default-cli) on project ide: Execution default-cli of goal org.codehaus.sonar:sonar-maven3-plugin:2.9:sonar failed: Unable to persist : Snapshot[resourceId=7685,createdAt=Tue Aug 16 09:46:52 CEST 2011,version=3.7.0.v20110426-7Q7xA7DPb31rE2_TcfD-VPkLqq8sfDmLus7XtaSo-7NHB,last=false,status=P,scope=PRJ,path=,depth=0,qualifier=LIB,rootId=<null>,parentId=<null>,rootProjectId=7685,period1Mode=<null>,period2Mode=<null>,period3Mode=<null>,period4Mode=<null>,period5Mode=<null>,period1Param=<null>,period2Param=<null>,period3Param=<null>,period4Param=<null>,period5Param=<null>,period1Date=<null>,period2Date=<null>,period3Date=<null>,period4Date=<null>,period5Date=<null>,id=<null>]: org.hibernate.exception.GenericJDBCException: could not insert: [org.sonar.api.database.model.Snapshot]: Data truncation: Data too long for column 'version' at row 1 -> [Help 1]
These issue is critical for us, because one big reason to migrate from our old style pde builds to Maven-Tycho are the cool coverage features of sonar and its nice maven support.
Would be really glad if you could expand the version field to support these monstrous eclipse versions.
Until then, any workaround? Because we're stuck here..
Attachments
Issue Links
- is duplicated by
-
SONAR-3958 Increase size of the snapshots.version column
-
- Closed
-