Adobe-Marketing-Cloud / aem-sample-we-retail

🚫 We.Retail has been archived, see instead the WKND Guide:
https://github.com/adobe/aem-guides-wknd
Apache License 2.0
123 stars 141 forks source link

Integration test launcher dependencies kill AEM instance #117

Closed ottonagy closed 7 years ago

ottonagy commented 7 years ago

Environment

Steps to reproduce

After the last step AEM fails to start normally as most of the bundles are unable to start.

Root cause The integration test launcher module defines and installs the following dependencies :

        <dependency>
            <groupId>org.apache.httpcomponents</groupId>
            <artifactId>httpclient-osgi</artifactId>
            <version>4.1.2</version>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>org.apache.httpcomponents</groupId>
            <artifactId>httpcore-osgi</artifactId>
            <version>4.1.2</version>
            <scope>provided</scope>
        </dependency>

but these are already provided by AEM 6.2 OOTB but with different versions (4.3.4 and 4.3.2, respectively) so basically by launching the integration tests those bundles are downgraded (as AEM doesn't support multiple versions of the same dependency)

ottonagy commented 7 years ago

The relevant log records are issue-117-stderr.log.txt

ottonagy commented 7 years ago

I suppose this issue is present in the already released 1.0.0 version, too.

bpauli commented 7 years ago

@ottonagy Thanks for reporting this issue. We will have a look to it.

bpauli commented 7 years ago

The integration test launcher was removed in the latest release.