[ 
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.

Reply via email to