Hi. A project indirectly depends on foo-api.jar via some meta artifact
foo-client.
I know the version of this meta artifact, but not the version of
foo-api.jar.
There's also foo-impl.jar that depends on foo-api.jar with the same
version. For example, if foo-client 1.3 depends on foo-api 1.1, I need
to depend on foo-impl 1.1

Now I need to add the foo-impl.jar to my dependencies, and it must be
the same version as foo-api.jar. How?

<dependencies>
    <dependency>
        <groupId>org.foo</groupId>
        <artifactId>foo-client</artifactId>
        <type>pom</type>
        <version>1.3</version>
    </dependency>
    <dependency>
        <groupId>org.foo</groupId>
        <artifactId>foo-impl</artifactId>
        <version>${version-of-foo-api?}</version>
    </dependency>




---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to