[jira] Created: (OPENJPA-1130) Create a openjpa-testsupport module to share base TestCase classes across modules

14 messages Options
Embed this post
Permalink
JIRA jira@apache.org

[jira] Created: (OPENJPA-1130) Create a openjpa-testsupport module to share base TestCase classes across modules

Reply Threaded More More options
Print post
Permalink
Create a openjpa-testsupport module to share base TestCase classes across modules
---------------------------------------------------------------------------------

                 Key: OPENJPA-1130
                 URL: https://issues.apache.org/jira/browse/OPENJPA-1130
             Project: OpenJPA
          Issue Type: Test
          Components: build / infrastructure
            Reporter: Donald Woods
            Assignee: Donald Woods
             Fix For: 2.0.0


Propose moving openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/test/* base testcase classes to a openjpa-testsupport JAR which can be shared between o-p-j, openjpa-slice and new ones being added to openjpa-integration for bean validation and eventually OSGi.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

JIRA jira@apache.org

[jira] Commented: (OPENJPA-1130) Create a openjpa-testsupport module to share base TestCase classes across modules

Reply Threaded More More options
Print post
Permalink

    [ https://issues.apache.org/jira/browse/OPENJPA-1130?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12717519#action_12717519 ]

Michael Dick commented on OPENJPA-1130:
---------------------------------------

I believe the ideal solution is to use the maven jar plugin to create an openjpa-persistence-jdbc-test artifact. That artifact can then be used in downstream modules like any other dependency.

Similarly we could move some of the persistence API agnostic tests to openjpa-kernel or openjpa-jdbc.

Creating a new module is another way to approach the problem but it seems like overkill to me.

> Create a openjpa-testsupport module to share base TestCase classes across modules
> ---------------------------------------------------------------------------------
>
>                 Key: OPENJPA-1130
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-1130
>             Project: OpenJPA
>          Issue Type: Test
>          Components: build / infrastructure
>            Reporter: Donald Woods
>            Assignee: Donald Woods
>             Fix For: 2.0.0
>
>
> Propose moving openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/test/* base testcase classes to a openjpa-testsupport JAR which can be shared between o-p-j, openjpa-slice and new ones being added to openjpa-integration for bean validation and eventually OSGi.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

JIRA jira@apache.org

[jira] Commented: (OPENJPA-1130) Create a openjpa-testsupport module to share base TestCase classes across modules

Reply Threaded More More options
Print post
Permalink
In reply to this post by JIRA jira@apache.org

    [ https://issues.apache.org/jira/browse/OPENJPA-1130?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12717534#action_12717534 ]

Donald Woods commented on OPENJPA-1130:
---------------------------------------

Creating a new module allows us to use the maven depends and potentially the maven-bundle-plugin for OSGi test support.  Also, I'm only looking to move about 6 classes over and not all of the testcases.
We took a similar approach in Apache Geronimo, where we have common testsupport and testsuite classes over in separate modules, which our testsuites then depend upon....
Ideally, anything that directly extends junit.framework would be moved to this new openjpa-testsupport module, to help facilitate us moving to JUnit 4 (or another framework) in the future.

> Create a openjpa-testsupport module to share base TestCase classes across modules
> ---------------------------------------------------------------------------------
>
>                 Key: OPENJPA-1130
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-1130
>             Project: OpenJPA
>          Issue Type: Test
>          Components: build / infrastructure
>            Reporter: Donald Woods
>            Assignee: Donald Woods
>             Fix For: 2.0.0
>
>
> Propose moving openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/test/* base testcase classes to a openjpa-testsupport JAR which can be shared between o-p-j, openjpa-slice and new ones being added to openjpa-integration for bean validation and eventually OSGi.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

JIRA jira@apache.org

[jira] Commented: (OPENJPA-1130) Create a openjpa-testsupport module to share base TestCase classes across modules

Reply Threaded More More options
Print post
Permalink
In reply to this post by JIRA jira@apache.org

    [ https://issues.apache.org/jira/browse/OPENJPA-1130?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12717536#action_12717536 ]

Michael Dick commented on OPENJPA-1130:
---------------------------------------

I'm not sure about the maven-bundle-plugin, but normal depends will work with a test-jar, just need to add <classifier>test</classifier>.

If there are issues with that approach (ie won't work for OSGi, or downstream consumers) then we can go with a separate module.

Moving to a different test framework is another interesting problem. I suppose splitting out some of the tests would help with memory usage though.

> Create a openjpa-testsupport module to share base TestCase classes across modules
> ---------------------------------------------------------------------------------
>
>                 Key: OPENJPA-1130
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-1130
>             Project: OpenJPA
>          Issue Type: Test
>          Components: build / infrastructure
>            Reporter: Donald Woods
>            Assignee: Donald Woods
>             Fix For: 2.0.0
>
>
> Propose moving openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/test/* base testcase classes to a openjpa-testsupport JAR which can be shared between o-p-j, openjpa-slice and new ones being added to openjpa-integration for bean validation and eventually OSGi.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

JIRA jira@apache.org

[jira] Updated: (OPENJPA-1130) Create a openjpa-testsupport module to share base TestCase classes across modules

Reply Threaded More More options
Print post
Permalink
In reply to this post by JIRA jira@apache.org

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

Donald Woods updated OPENJPA-1130:
----------------------------------

    Attachment: OPENJPA-1130.patch

Patch file of the proposed changes, where the base TestCase classes in openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/test/ are moved to a new openjpa-testsupport module.  
Lots of updates, due to the package renaming/moving of the 10 testcase support classes.


> Create a openjpa-testsupport module to share base TestCase classes across modules
> ---------------------------------------------------------------------------------
>
>                 Key: OPENJPA-1130
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-1130
>             Project: OpenJPA
>          Issue Type: Test
>          Components: build / infrastructure
>            Reporter: Donald Woods
>            Assignee: Donald Woods
>             Fix For: 2.0.0
>
>         Attachments: OPENJPA-1130.patch
>
>
> Propose moving openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/test/* base testcase classes to a openjpa-testsupport JAR which can be shared between o-p-j, openjpa-slice and new ones being added to openjpa-integration for bean validation and eventually OSGi.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

JIRA jira@apache.org

[jira] Updated: (OPENJPA-1130) Create a openjpa-testsupport module to share base TestCase classes across modules

Reply Threaded More More options
Print post
Permalink
In reply to this post by JIRA jira@apache.org

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

Michael Dick updated OPENJPA-1130:
----------------------------------

    Attachment: OPENJPA-1130-tests-classifier.patch.txt

I'd prefer something like this since it doesn't move any of the classes and creates test jars for all our modules. Making the test classes available might produce some side benefits, users can easily download our unit tests and run in their environment (as opposed to building them from source). I think this is the way I'd like to go in the long term.

There is a problem with the install goal though. Maven builds a tests jar for the parent pom and that jar doesn't include LICENSE.txt and NOTICE.txt so the ianal plugin fails. I'd guess this is a bug in the maven-jar-plugin, but I want to do some more investigation first.


> Create a openjpa-testsupport module to share base TestCase classes across modules
> ---------------------------------------------------------------------------------
>
>                 Key: OPENJPA-1130
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-1130
>             Project: OpenJPA
>          Issue Type: Test
>          Components: build / infrastructure
>            Reporter: Donald Woods
>            Assignee: Donald Woods
>             Fix For: 2.0.0
>
>         Attachments: OPENJPA-1130-tests-classifier.patch.txt, OPENJPA-1130.patch
>
>
> Propose moving openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/test/* base testcase classes to a openjpa-testsupport JAR which can be shared between o-p-j, openjpa-slice and new ones being added to openjpa-integration for bean validation and eventually OSGi.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

JIRA jira@apache.org

[jira] Commented: (OPENJPA-1130) Create a openjpa-testsupport module to share base TestCase classes across modules

Reply Threaded More More options
Print post
Permalink
In reply to this post by JIRA jira@apache.org

    [ https://issues.apache.org/jira/browse/OPENJPA-1130?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12717755#action_12717755 ]

Donald Woods commented on OPENJPA-1130:
---------------------------------------

Cool! Thanks for the patch.  I'll give this way a try with the bean validation integration tests and see if it'll work.
BTW - By only putting the test-jar goal on openjpa-persistence-jdbc/pom.xml, then we don't have ianal failures, which were being caused by other modules that had package == pom instead of jar.


> Create a openjpa-testsupport module to share base TestCase classes across modules
> ---------------------------------------------------------------------------------
>
>                 Key: OPENJPA-1130
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-1130
>             Project: OpenJPA
>          Issue Type: Test
>          Components: build / infrastructure
>            Reporter: Donald Woods
>            Assignee: Donald Woods
>             Fix For: 2.0.0
>
>         Attachments: OPENJPA-1130-tests-classifier.patch.txt, OPENJPA-1130.patch
>
>
> Propose moving openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/test/* base testcase classes to a openjpa-testsupport JAR which can be shared between o-p-j, openjpa-slice and new ones being added to openjpa-integration for bean validation and eventually OSGi.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

JIRA jira@apache.org

[jira] Commented: (OPENJPA-1130) Create a openjpa-testsupport module to share base TestCase classes across modules

Reply Threaded More More options
Print post
Permalink
In reply to this post by JIRA jira@apache.org

    [ https://issues.apache.org/jira/browse/OPENJPA-1130?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12717825#action_12717825 ]

Donald Woods commented on OPENJPA-1130:
---------------------------------------

Well, so far using test-jar isn't working, as when I try to use the enhancer on classes in my validation tests, I'm getting unresolved class references for items included in the tests jar....


> Create a openjpa-testsupport module to share base TestCase classes across modules
> ---------------------------------------------------------------------------------
>
>                 Key: OPENJPA-1130
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-1130
>             Project: OpenJPA
>          Issue Type: Test
>          Components: build / infrastructure
>            Reporter: Donald Woods
>            Assignee: Donald Woods
>             Fix For: 2.0.0
>
>         Attachments: OPENJPA-1130-tests-classifier.patch.txt, OPENJPA-1130.patch
>
>
> Propose moving openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/test/* base testcase classes to a openjpa-testsupport JAR which can be shared between o-p-j, openjpa-slice and new ones being added to openjpa-integration for bean validation and eventually OSGi.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

JIRA jira@apache.org

[jira] Commented: (OPENJPA-1130) Create a openjpa-testsupport module to share base TestCase classes across modules

Reply Threaded More More options
Print post
Permalink
In reply to this post by JIRA jira@apache.org

    [ https://issues.apache.org/jira/browse/OPENJPA-1130?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12718088#action_12718088 ]

Michael Dick commented on OPENJPA-1130:
---------------------------------------

The enhancer has never handled jarred classes very well.

If we rely on the enhancer my guess would be that doing a top down build would work (maven operates on target/test-classes in this case), but building just the module will fail (maven picks up the jar from .m2/repository). I'd expect the same behavior for test-jar or a separate module though.

Maybe I need to read more on the validation aspect of JPA 2.0. Are we relying on the entities having been enhanced, or do we need to re-enhance them? If it's the former we can probably reorder the enhancement to occur before test-jar does its work. For the latter we'll have to unjar or improve the enhancer to handle jarred classes.


> Create a openjpa-testsupport module to share base TestCase classes across modules
> ---------------------------------------------------------------------------------
>
>                 Key: OPENJPA-1130
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-1130
>             Project: OpenJPA
>          Issue Type: Test
>          Components: build / infrastructure
>            Reporter: Donald Woods
>            Assignee: Donald Woods
>             Fix For: 2.0.0
>
>         Attachments: OPENJPA-1130-tests-classifier.patch.txt, OPENJPA-1130.patch
>
>
> Propose moving openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/test/* base testcase classes to a openjpa-testsupport JAR which can be shared between o-p-j, openjpa-slice and new ones being added to openjpa-integration for bean validation and eventually OSGi.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

JIRA jira@apache.org

[jira] Commented: (OPENJPA-1130) Create a openjpa-testsupport module to share base TestCase classes across modules

Reply Threaded More More options
Print post
Permalink
In reply to this post by JIRA jira@apache.org

    [ https://issues.apache.org/jira/browse/OPENJPA-1130?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12718093#action_12718093 ]

Donald Woods commented on OPENJPA-1130:
---------------------------------------

I'm trying to enhance classes in a new openjpa-integration/validation/src/test/main directory for my validation specific testing (as the entities will be using bean validation annotations that are not available in the normal openjpa-persistence-jdbc builds.)

The enhancer error I'm seeing, is due to existing entities in the test jar -
. . .
628  WARN   [main] openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.openjpa.persistence.jdbc.order.BaseTestElement3".  Ignoring.
629  TRACE  [main] openjpa.MetaData - Parsing class "org.apache.openjpa.persistence.jdbc.order.BaseTestEntity3".
629  WARN   [main] openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.openjpa.persistence.jdbc.order.BaseTestEntity3".  Ignoring.
629  TRACE  [main] openjpa.MetaData - Finished parsing metadata resource "jar:file:/Users/drwoods/.m2/repository/org/apache/openjpa/openjpa-persistence-jdbc/2.0.0-SNAPSHOT/openjpa-persistence-jdbc-2.0.0-SNAPSHOT-tests.jar!/org/apache/openjpa/persistence/jdbc/order/order-orm-3.xml".
629  TRACE  [main] openjpa.MetaData - Set persistence-capable superclass of "org.apache.openjpa.persistence.access.xml.XMLMixedMappedSuper" to "null".
631  TRACE  [main] openjpa.MetaData - Resolving metadata for "org.apache.openjpa.persistence.access.xml.XMLMixedMappedSuper@353678091".
631  TRACE  [main] openjpa.MetaData - Resolving field "[hidden email]".
639  TRACE  [main] openjpa.MetaData - Resolving field "[hidden email]".
639  TRACE  [main] openjpa.MetaData - Resolving field "[hidden email]".
641  TRACE  [main] openjpa.MetaData - Preparing mapping for "org.apache.openjpa.persistence.access.xml.XMLMixedMappedSuper".
641  TRACE  [main] openjpa.MetaData - Resolving mapping for "org.apache.openjpa.persistence.access.xml.XMLMixedMappedSuper@353678091".
641  INFO   [main] openjpa.Enhance - Enhancing type "class org.apache.openjpa.persistence.access.xml.XMLMixedMappedSuper".
java.io.FileNotFoundException: file:/Users/drwoods/.m2/repository/org/apache/openjpa/openjpa/2.0.0-SNAPSHOT/openjpa-2.0.0-SNAPSHOT.jar!/org/apache/openjpa/persistence/access/xml/XMLMixedMappedSuper.class (No such file or directory)
        at java.io.FileOutputStream.open(Native Method)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:70)
        at serp.bytecode.BCClass.write(BCClass.java:179)
        at org.apache.openjpa.enhance.PCEnhancer.record(PCEnhancer.java:595)
        at org.apache.openjpa.enhance.PCEnhancer.record(PCEnhancer.java:581)
        at org.apache.openjpa.enhance.PCEnhancer.run(PCEnhancer.java:4602)
. . .
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] An Ant BuildException has occured: The following error occurred while executing this line:
/Users/drwoods/openjpa/trunk/openjpa-integration/validation/src/main/ant/enhancer.xml:51: The following error occurred while executing this line:
/Users/drwoods/openjpa/trunk/openjpa-integration/validation/src/main/ant/enhancer.xml:79: java.io.FileNotFoundException: file:/Users/drwoods/.m2/repository/org/apache/openjpa/openjpa/2.0.0-SNAPSHOT/openjpa-2.0.0-SNAPSHOT.jar!/org/apache/openjpa/persistence/access/xml/XMLMixedMappedSuper.class (No such file or directory)


> Create a openjpa-testsupport module to share base TestCase classes across modules
> ---------------------------------------------------------------------------------
>
>                 Key: OPENJPA-1130
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-1130
>             Project: OpenJPA
>          Issue Type: Test
>          Components: build / infrastructure
>            Reporter: Donald Woods
>            Assignee: Donald Woods
>             Fix For: 2.0.0
>
>         Attachments: OPENJPA-1130-tests-classifier.patch.txt, OPENJPA-1130.patch
>
>
> Propose moving openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/test/* base testcase classes to a openjpa-testsupport JAR which can be shared between o-p-j, openjpa-slice and new ones being added to openjpa-integration for bean validation and eventually OSGi.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

JIRA jira@apache.org

[jira] Updated: (OPENJPA-1130) Use maven-jar-plugin to create a o-p-j-tests.jar to share base TestCase classes across modules

Reply Threaded More More options
Print post
Permalink
In reply to this post by JIRA jira@apache.org

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

Donald Woods updated OPENJPA-1130:
----------------------------------

    Patch Info: [Patch Available]
       Summary: Use maven-jar-plugin to create a o-p-j-tests.jar to share base TestCase classes across modules  (was: Create a openjpa-testsupport module to share base TestCase classes across modules)

Now that we upgraded to maven-jar-plugin-2.2 in OPENJPA-1131, Mike's proposed test-jar solution can be used.

> Use maven-jar-plugin to create a o-p-j-tests.jar to share base TestCase classes across modules
> ----------------------------------------------------------------------------------------------
>
>                 Key: OPENJPA-1130
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-1130
>             Project: OpenJPA
>          Issue Type: Test
>          Components: build / infrastructure
>            Reporter: Donald Woods
>            Assignee: Donald Woods
>             Fix For: 2.0.0
>
>         Attachments: OPENJPA-1130-tests-classifier.patch.txt, OPENJPA-1130.patch
>
>
> Propose moving openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/test/* base testcase classes to a openjpa-testsupport JAR which can be shared between o-p-j, openjpa-slice and new ones being added to openjpa-integration for bean validation and eventually OSGi.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

JIRA jira@apache.org

[jira] Resolved: (OPENJPA-1130) Use maven-jar-plugin to create a o-p-j-tests.jar to share base TestCase classes across modules

Reply Threaded More More options
Print post
Permalink
In reply to this post by JIRA jira@apache.org

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

Donald Woods resolved OPENJPA-1130.
-----------------------------------

    Resolution: Fixed

> Use maven-jar-plugin to create a o-p-j-tests.jar to share base TestCase classes across modules
> ----------------------------------------------------------------------------------------------
>
>                 Key: OPENJPA-1130
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-1130
>             Project: OpenJPA
>          Issue Type: Sub-task
>          Components: build / infrastructure
>            Reporter: Donald Woods
>            Assignee: Donald Woods
>             Fix For: 2.0.0
>
>         Attachments: OPENJPA-1130-tests-classifier.patch.txt, OPENJPA-1130.patch
>
>
> Propose moving openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/test/* base testcase classes to a openjpa-testsupport JAR which can be shared between o-p-j, openjpa-slice and new ones being added to openjpa-integration for bean validation and eventually OSGi.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

JIRA jira@apache.org

[jira] Updated: (OPENJPA-1130) Use maven-jar-plugin to create a o-p-j-tests.jar to share base TestCase classes across modules

Reply Threaded More More options
Print post
Permalink
In reply to this post by JIRA jira@apache.org

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

Donald Woods updated OPENJPA-1130:
----------------------------------

    Issue Type: Sub-task  (was: Test)
        Parent: OPENJPA-1105

> Use maven-jar-plugin to create a o-p-j-tests.jar to share base TestCase classes across modules
> ----------------------------------------------------------------------------------------------
>
>                 Key: OPENJPA-1130
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-1130
>             Project: OpenJPA
>          Issue Type: Sub-task
>          Components: build / infrastructure
>            Reporter: Donald Woods
>            Assignee: Donald Woods
>             Fix For: 2.0.0
>
>         Attachments: OPENJPA-1130-tests-classifier.patch.txt, OPENJPA-1130.patch
>
>
> Propose moving openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/test/* base testcase classes to a openjpa-testsupport JAR which can be shared between o-p-j, openjpa-slice and new ones being added to openjpa-integration for bean validation and eventually OSGi.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

JIRA jira@apache.org

[jira] Updated: (OPENJPA-1130) Use maven-jar-plugin to create a o-p-j-tests.jar to share base TestCase classes across modules

Reply Threaded More More options
Print post
Permalink
In reply to this post by JIRA jira@apache.org

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

Donald Woods updated OPENJPA-1130:
----------------------------------

    Fix Version/s:     (was: 2.0.0)
                   2.0.0-M3

> Use maven-jar-plugin to create a o-p-j-tests.jar to share base TestCase classes across modules
> ----------------------------------------------------------------------------------------------
>
>                 Key: OPENJPA-1130
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-1130
>             Project: OpenJPA
>          Issue Type: Sub-task
>          Components: build / infrastructure
>            Reporter: Donald Woods
>            Assignee: Donald Woods
>             Fix For: 2.0.0-M3
>
>         Attachments: OPENJPA-1130-tests-classifier.patch.txt, OPENJPA-1130.patch
>
>
> Propose moving openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/test/* base testcase classes to a openjpa-testsupport JAR which can be shared between o-p-j, openjpa-slice and new ones being added to openjpa-integration for bean validation and eventually OSGi.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.