Configuration Settings to Skip "DB Upgrade"

19 views
Skip to first unread message

Arvind Kumar

unread,
May 24, 2012, 4:22:29 AM5/24/12
to SolidBase User
Hi Rene,

I'm back again with new requirement. I think Solidbase should also
support a configuration param <skip> to skip the execution of the
plugin.

This is helpful in case the user doesn't want it to be executed.
Similar to what maven-surefire-plugin provides.

Regards,
Arvind Kumar

René de Bloois

unread,
May 25, 2012, 9:40:02 AM5/25/12
to solidba...@googlegroups.com
Arvind,

I'll create an issue for that.

In the meantime you could use a Maven profile for this:

For example you have a 'database' profile which you enable by default.

You can disable this profile on the command line, like this:

mvn install -P !database

Profiles give you greater flexibility then a single skip property.

Regards,
René

arvind....@gmail.com

unread,
May 28, 2012, 4:22:18 AM5/28/12
to solidba...@googlegroups.com
Hi Rene,

Yes, we are using maven profile for now but it will be good if <skip> feature can be provided.

Thanks,
Arvind

René de Bloois

unread,
May 29, 2012, 3:29:54 AM5/29/12
to solidba...@googlegroups.com
Arvind,

I've implemented the change already, I will release it tonight or tomorrow night.

You can now add the following to the plugin configuration:

<skip>${skipDatabase}</skip>

And on the command line you would then type:

mvn -DskipDatabase=true install

I hope this is enough?

Regards,
René

arvind....@gmail.com

unread,
May 31, 2012, 12:46:59 AM5/31/12
to solidba...@googlegroups.com
Thanks Rene,

Which version of Solidbase has got this feature?

Regards,
Arvind Kumar

René de Bloois

unread,
May 31, 2012, 8:19:32 AM5/31/12
to solidba...@googlegroups.com
Arvind,

I released beta3 to the Maven repo. You can also download it from:


Regards,
René
Reply all
Reply to author
Forward
0 new messages