openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Romain Manni-Bucau (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (OPENJPA-2409) allow the openjpa-maven-plugin to use a persistence.xml from resources and not only from files
Date Thu, 11 Jul 2013 09:01:56 GMT

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

Romain Manni-Bucau updated OPENJPA-2409:
----------------------------------------

    Attachment: OPENJPA-2409.patch

A patch handling it with the following strategy:
1) if the persistence.xml exists -> nothing
2) else try in TCCL, if found -> use it
3) else try in compiler artifacts
3) else try in runtime artifacts

When found the persistence.xml is copied in target/openjpa-work  to ensure it is a File.
                
> allow the openjpa-maven-plugin to use a persistence.xml from resources and not only from
files
> ----------------------------------------------------------------------------------------------
>
>                 Key: OPENJPA-2409
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-2409
>             Project: OpenJPA
>          Issue Type: Bug
>          Components: tooling
>    Affects Versions: 2.2.2
>            Reporter: Romain Manni-Bucau
>         Attachments: OPENJPA-2409.patch
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message