[ https://issues.apache.org/jira/browse/OPENJPA-2753?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mark Struberg resolved OPENJPA-2753. ------------------------------------ Resolution: Fixed > Create profiles to start various databases via Docker > ----------------------------------------------------- > > Key: OPENJPA-2753 > URL: https://issues.apache.org/jira/browse/OPENJPA-2753 > Project: OpenJPA > Issue Type: Improvement > Components: build / infrastructure > Affects Versions: 3.0.0 > Reporter: Mark Struberg > Assignee: Mark Struberg > Priority: Major > Fix For: 3.1.0 > > > We currently rely on fix installed versions of various databases. > With the advent of Docker we could use maven profiles to start those > databases as docker images. > E.g. > {noformat} > $> mvn -N -Ptest-mysql-docker docker:start > $> mvn -Ptest-mysql-docker clean install > $> mvn -N -Ptest-mysql-docker docker:stop > {noformat} > The `-N` is needed to start maven Non-Recursive. Otw you might see some nasty > log output which does not belong there ;) > > -- This message was sent by Atlassian JIRA (v7.6.3#76005)