Bug 724650 (BRMS-555) - Provide Drools tests JARs as part of the build output and publish those test from productization to QE
Summary: Provide Drools tests JARs as part of the build output and publish those test ...
Keywords:
Status: VERIFIED
Alias: BRMS-555
Product: JBoss Enterprise BRMS Platform 5
Classification: JBoss
Component: Build Process
Version: unspecified
Hardware: Unspecified
OS: Unspecified
high
low
Target Milestone: ---
: ---
Assignee: trev
QA Contact: Lukáš Petrovický
URL: http://jira.jboss.org/jira/browse/BRM...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-02-21 13:39 UTC by Lukáš Petrovický
Modified: 2011-09-16 14:12 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Task


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker BRMS-555 0 None Closed Provide Drools tests JARs as part of the build output and publish those test from productization to QE 2012-01-18 15:44:20 UTC

Description Lukáš Petrovický 2011-02-21 13:39:34 UTC
securitylevel_name: Public

Currently QE build their own Drools test JARs, which creates all sorts of problems. If we could get the test JARs alongside a build, that would be excellent. 
However, since we're sharing the testing tools, this would need to happen for SOA as well. Generally it should both happen via setting the same Maven flag.

Comment 1 Geoffrey D Smet 2011-02-21 19:26:33 UTC
The drools parent pom has been building the test-jar for a couple of months already:
  https://github.com/droolsjbpm/droolsjbpm-build-bootstrap/blob/master/pom.xml#L377

        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-jar-plugin</artifactId>
          <version>2.3.1</version>
          <executions>
            <execution>
              <goals>
                <goal>test-jar</goal>
              </goals>
            </execution>
          </executions>

The test-jars should also be deployed to nexus.
More info at http://maven.apache.org/guides/mini/guide-attached-tests.html

So I don't understand the problem.
One possible corner case: I don't know how that configuration affects war packaging, such as guvnor-webapp (formerly known as drools-guvnor). Of what artifact are you missing the test jars?


Comment 2 Lukáš Petrovický 2011-02-22 08:37:25 UTC
We are aware that the Drools parent Pom is set up for building the tests. However, the productization team is not publishing the tests to us - so this is what this task is about.

Comment 3 Geoffrey D Smet 2011-02-22 09:45:29 UTC
Thanks for the clarification. I 've adjusted the title to make this clear and assigned it to Trevor.

Comment 4 Lukáš Petrovický 2011-04-26 12:09:57 UTC
Link: Added: This issue is a dependency of JBQA-4464


Comment 5 Lukáš Petrovický 2011-08-01 06:48:22 UTC
Changing priority to low as we've already worked around the issue in our test suite.

Comment 6 Lukáš Petrovický 2011-09-16 14:12:47 UTC
And now we even have access to the productization's Maven repo. I'm marking this as VERIFIED.


Note You need to log in before you can comment on or make changes to this bug.