Skip to content
This repository has been archived by the owner on Jul 11, 2022. It is now read-only.

Commit

Permalink
Attempt to fix itest failures by addressing dependency version missM…
Browse files Browse the repository at this point in the history
…atches.
  • Loading branch information
Simeon Pinder authored and spinder committed Oct 3, 2014
1 parent 63511b8 commit 109f4f3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 2 additions & 0 deletions modules/enterprise/server/itests-2/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,8 @@
<!-- FOR RHQ TESTING -->
<system-properties>
<property name="project.version" value="${project.version}"/>
<property name="rhq-core-client-api.version" value="${rhq-core-client-api.version}"/>
<property name="rhq-platform-plugin.version" value="${rhq-platform-plugin.version}"/>
<property name="rhq.server.content.filesystem" value="${jboss.unzip.location}/standalone/data/packagebits" />
<property name="jboss.socket.binding.port-offset" value="${jboss.socket.binding.port-offset}" />
<property name="hibernate.dialect" value="${rhq.test.ds.hibernate-dialect}" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,8 @@ protected static EnterpriseArchive getBaseDeployment() {

// create test ear by starting with rhq.ear and thinning it
String projectVersion = System.getProperty("project.version");
String rhqCoreClientApiVersion = System.getProperty("rhq-core-client-api.version");
String rhqPlatformPluginVersion = System.getProperty("rhq-platform-plugin.version");
MavenResolverSystem earResolver = Resolvers.use(MavenResolverSystem.class);
// this must be named rhq.ear because the "rhq" portion is used in the jndi names
earResolver.offline();
Expand Down Expand Up @@ -374,7 +376,10 @@ protected static EnterpriseArchive getBaseDeployment() {
thirdPartyDeps.add("org.liquibase:liquibase-core");
thirdPartyDeps.add("org.powermock:powermock-api-mockito");
thirdPartyDeps.add("org.rhq.helpers:perftest-support:" + projectVersion);
thirdPartyDeps.add("org.rhq:rhq-core-client-api:jar:tests:" + projectVersion);
// thirdPartyDeps.add("org.rhq:rhq-core-client-api:jar:tests:" + projectVersion);
thirdPartyDeps.add("org.rhq:rhq-core-client-api:jar:tests:" + rhqCoreClientApiVersion);
thirdPartyDeps.add("org.rhq:rhq-platform-plugin:jar:tests:" + rhqPlatformPluginVersion);

thirdPartyDeps.add("org.rhq:test-utils:" + projectVersion);

MavenResolverSystem resolver = Maven.resolver();
Expand Down

0 comments on commit 109f4f3

Please sign in to comment.