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/22 19:01:00 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=16659417#comment-16659417 ] 

Mark Struberg commented on OPENJPA-2753:
----------------------------------------

Note: in openjpa-persistence-jdbc and openjpa-persistence-locking are almost exactly the same profiles.
Will move those DB declarations to the root pom. 
Downside: root pom will get bigger
Upside: easier to use, no duplication

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



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)