You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "Mark Struberg (JIRA)" <ji...@apache.org> on 2018/10/23 19:53:00 UTC

[jira] [Updated] (OPENJPA-2753) Create profiles to start various databases via Docker

     [ https://issues.apache.org/jira/browse/OPENJPA-2753?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mark Struberg updated OPENJPA-2753:
-----------------------------------
    Description: 
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 ;)

 

 

  was:
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 -Ptest-mysql-docker docker:start
$> mvn -Ptest-mysql-docker clean install
$> mvn -Ptest-mysql-docker docker:stop
{noformat}

 

 


> 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.0.1
>
>
> 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)