Jason,

  Currently plugin is using 2.5-SNAPHOT of terracotta.jar (and others) 
for tc:bootjar and other goals.

  I've updated wiki page about that. 
http://www.terracotta.org/confluence/display/wiki/Terracotta+Maven+Plugin#TerracottaMavenPlugin-ChoosingTerracottaruntimeversion

  regards,
  Eugene


Jason Voegele wrote:
> I am using the Maven plugin to run the tests for the Ehcache integration 
> module, and although the tests were running and passing last week, something 
> has changed since then that is causing the tests to fail with an 
> InvalidBootJarMetaDataException.  Here is an example:
>
> com.tc.config.schema.setup.ConfigurationSetupException:ยท
> *******************************************************************************
> com.tc.object.tools.InvalidBootJarMetaDataException: Incompatible DSO meta 
> data: tcversion; expected '2.5.0-nightly-rev6083' but was (in boot 
> jar): '2.5.0-nightly-rev6108'
> *******************************************************************************
>
> The boot JAR is being built by the Maven plugin immediately prior to the 
> tests 
> being executed.  Once the boot JAR is built, the tests are being executed by 
> the Maven Surefire plugin.
>
> I think the issue is that the tests are "linked" against the Terracotta Maven 
> artifacts (terracotta.jar, tc-compile.jar, tc.test-compile.jar, etc.) that we 
> publish on a nightly basis to our public Maven repository.  So the boot JAR 
> is being built on demand, while the code base that the tests are using are 
> built and published on a nightly basis.  Therefore, the versions of these 
> things are not going to match, and hence the InvalidBootJarMetaDataException.
>
> Was there a recent change in the BootJarTool or in 
> StandardDSOClientConfigHelperImpl that might be the cause of this?  If not, 
> any other ideas on why I'd suddenlty start seeing this exception?
>
> FYI, I've attached a stack trace if you want to see more details.
>
>   
> ------------------------------------------------------------------------
>
> _______________________________________________
> tc-dev mailing list
> [email protected]
> http://lists.terracotta.org/mailman/listinfo/tc-dev

_______________________________________________
tc-dev mailing list
[email protected]
http://lists.terracotta.org/mailman/listinfo/tc-dev

Reply via email to