Hi Bernd,

I don't really agree with you.

This dependency is part of dependencyManagement of server/pom.xml.

It only defines a version for projects willing to depend on this artifact.

We usually don't put the scope into dependencyManagement because it's each project's responsibility to decide what to include.

In the end, we have projects that are tests with sources into src/main/java because we create a "jar" to execute them against an imap server.

Feel free to argue about why we should put scope in dependencyManagement instead of dependencies, we'll read you with care !

Cheers,

--
Matthieu Baechler

On 18/03/2016 22:35, Bernd Waibel wrote:
Hello together

The pom.xml of
     <name>Apache James :: Server</name>
does declare
             <dependency>
                 <groupId>org.apache.james</groupId>
                 <artifactId>apache-james-mailbox-elasticsearch</artifactId>
                 <version>${mailbox.version}</version>
                 <type>test-jar</type>
             </dependency>
A "test-jar" should have a "<scope>test</scope". Or not?

Could the maintainer for "elasticsearch" please fix the pom.xml?



Greetings

Bernd




---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org

Reply via email to