Hi,

I have written a new test for the OBR AriesApplicationResolver that
tests the following:

1. Transitive dependencies are correctly worked out
2. By value content is resolved against
3. Stuff in an external repository is resolved against
4. An application resolved with the OBR AriesApplicationResolver can
be installed and started

It all passes, however it depends on the blog sample artefacts, so I
have had to add the following dependencies to the application-itests
pom.xml:

        <dependency>
                <groupId>org.apache.aries.samples</groupId>
                <artifactId>blog</artifactId>
                <version>${version}</version>
                <scope>test</scope>
        </dependency>
        <dependency>
                <groupId>org.apache.aries.samples</groupId>
                <artifactId>blog-persistence</artifactId>
                <version>${version}</version>
                <scope>test</scope>
        </dependency>
        <dependency>
                <groupId>org.apache.aries.samples</groupId>
                <artifactId>blog-api</artifactId>
                <version>${version}</version>
                <scope>test</scope>
        </dependency>
        <dependency>
                <groupId>org.apache.derby</groupId>
                <artifactId>derby</artifactId>
                <version>10.5.3.0_1</version>
                <scope>test</scope>
        </dependency>

Part of me worries that if the blog sample is updated to provide a
.eba it will depend on the eba-maven-plugin in the application
project, and the itests for the applicaton project depend on the
samples. I do not know maven well enough to know if this would be
considered bad practice, so before I commit I thought I would ask. Is
it ok to add these dependencies?

Thanks
Alasdair

-- 
Alasdair Nottingham
[email protected]

Reply via email to