changeSet contexts created with maven generateChangeLog are in parentheses

Description

I'm using Liquibase to generate a changeLog from an existing database via maven generateChangeLog goal. I've added changeSetContext to the plugin configuration with the value "new". Looking at the generated changeSets, the context is set to "(new)".

When I try to update the database via maven update specifying "new" as contexts parameter, the changesets aren't executed. After I removed the parenthesis from the generated changelog manually, the update worked as expected.

AFAIK boolean expressions are allowed within the context parameter, so maybe the maven plugin isn't capable of parsing it?

Environment

Windows 7 64bit, JDK 7, maven 3.0.3, Liquibase 3.3.5.

Activity

Show:

Nathan Voxland June 24, 2015 at 3:26 PM

Working for me with 3.4.0, probably fixed by an earlier issue.

Fixed

Details

Reporter

Components

Fix versions

Affects versions

Priority

Created June 11, 2015 at 3:07 PM
Updated June 24, 2015 at 3:26 PM
Resolved June 24, 2015 at 3:26 PM