JAMES-2521 Exclude test scope from guice products packaged libraries
Project: http://git-wip-us.apache.org/repos/asf/james-project/repo Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/cc8988f5 Tree: http://git-wip-us.apache.org/repos/asf/james-project/tree/cc8988f5 Diff: http://git-wip-us.apache.org/repos/asf/james-project/diff/cc8988f5 Branch: refs/heads/master Commit: cc8988f59165c0b37869f09122de2a11ea7276bf Parents: 7fef213 Author: Benoit Tellier <[email protected]> Authored: Tue Aug 14 10:39:08 2018 +0700 Committer: Benoit Tellier <[email protected]> Committed: Wed Aug 29 10:11:46 2018 +0700 ---------------------------------------------------------------------- server/container/cli/pom.xml | 3 +++ server/container/guice/cassandra-guice/pom.xml | 2 ++ server/container/guice/cassandra-ldap-guice/pom.xml | 2 ++ server/container/guice/jpa-guice/pom.xml | 2 ++ server/container/guice/jpa-smtp-mariadb/pom.xml | 2 ++ server/container/guice/jpa-smtp/pom.xml | 2 ++ server/container/guice/memory-guice/pom.xml | 2 ++ 7 files changed, 15 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/james-project/blob/cc8988f5/server/container/cli/pom.xml ---------------------------------------------------------------------- diff --git a/server/container/cli/pom.xml b/server/container/cli/pom.xml index 4ed2792..2975478 100644 --- a/server/container/cli/pom.xml +++ b/server/container/cli/pom.xml @@ -56,6 +56,7 @@ <dependency> <groupId>ch.qos.logback</groupId> <artifactId>logback-classic</artifactId> + <scope>runtime</scope> </dependency> <dependency> <groupId>commons-cli</groupId> @@ -110,6 +111,8 @@ </goals> <phase>package</phase> <configuration> + <includeScope>compile</includeScope> + <includeScope>runtime</includeScope> <outputDirectory>${project.build.directory}/${project.artifactId}.lib</outputDirectory> </configuration> </execution> http://git-wip-us.apache.org/repos/asf/james-project/blob/cc8988f5/server/container/guice/cassandra-guice/pom.xml ---------------------------------------------------------------------- diff --git a/server/container/guice/cassandra-guice/pom.xml b/server/container/guice/cassandra-guice/pom.xml index e17a41d..71fde6b 100644 --- a/server/container/guice/cassandra-guice/pom.xml +++ b/server/container/guice/cassandra-guice/pom.xml @@ -294,6 +294,8 @@ </goals> <phase>package</phase> <configuration> + <includeScope>compile</includeScope> + <includeScope>runtime</includeScope> <outputDirectory>${project.build.directory}/${project.artifactId}.lib</outputDirectory> </configuration> </execution> http://git-wip-us.apache.org/repos/asf/james-project/blob/cc8988f5/server/container/guice/cassandra-ldap-guice/pom.xml ---------------------------------------------------------------------- diff --git a/server/container/guice/cassandra-ldap-guice/pom.xml b/server/container/guice/cassandra-ldap-guice/pom.xml index 3f14183..d59ba25 100644 --- a/server/container/guice/cassandra-ldap-guice/pom.xml +++ b/server/container/guice/cassandra-ldap-guice/pom.xml @@ -153,6 +153,8 @@ </goals> <phase>package</phase> <configuration> + <includeScope>compile</includeScope> + <includeScope>runtime</includeScope> <outputDirectory>${project.build.directory}/${project.artifactId}.lib</outputDirectory> </configuration> </execution> http://git-wip-us.apache.org/repos/asf/james-project/blob/cc8988f5/server/container/guice/jpa-guice/pom.xml ---------------------------------------------------------------------- diff --git a/server/container/guice/jpa-guice/pom.xml b/server/container/guice/jpa-guice/pom.xml index 8c23831..a35a86d 100644 --- a/server/container/guice/jpa-guice/pom.xml +++ b/server/container/guice/jpa-guice/pom.xml @@ -197,6 +197,8 @@ </goals> <phase>package</phase> <configuration> + <includeScope>compile</includeScope> + <includeScope>runtime</includeScope> <outputDirectory>${project.build.directory}/${project.artifactId}.lib</outputDirectory> </configuration> </execution> http://git-wip-us.apache.org/repos/asf/james-project/blob/cc8988f5/server/container/guice/jpa-smtp-mariadb/pom.xml ---------------------------------------------------------------------- diff --git a/server/container/guice/jpa-smtp-mariadb/pom.xml b/server/container/guice/jpa-smtp-mariadb/pom.xml index 96a79ce..b0a6aaa 100644 --- a/server/container/guice/jpa-smtp-mariadb/pom.xml +++ b/server/container/guice/jpa-smtp-mariadb/pom.xml @@ -88,6 +88,8 @@ </goals> <phase>package</phase> <configuration> + <includeScope>compile</includeScope> + <includeScope>runtime</includeScope> <outputDirectory>${project.build.directory}/${project.artifactId}.lib</outputDirectory> </configuration> </execution> http://git-wip-us.apache.org/repos/asf/james-project/blob/cc8988f5/server/container/guice/jpa-smtp/pom.xml ---------------------------------------------------------------------- diff --git a/server/container/guice/jpa-smtp/pom.xml b/server/container/guice/jpa-smtp/pom.xml index 0fdd8a6..029d47a 100644 --- a/server/container/guice/jpa-smtp/pom.xml +++ b/server/container/guice/jpa-smtp/pom.xml @@ -118,6 +118,8 @@ </goals> <phase>package</phase> <configuration> + <includeScope>compile</includeScope> + <includeScope>runtime</includeScope> <outputDirectory>${project.build.directory}/${project.artifactId}.lib</outputDirectory> </configuration> </execution> http://git-wip-us.apache.org/repos/asf/james-project/blob/cc8988f5/server/container/guice/memory-guice/pom.xml ---------------------------------------------------------------------- diff --git a/server/container/guice/memory-guice/pom.xml b/server/container/guice/memory-guice/pom.xml index e24dd76..ce428e2 100644 --- a/server/container/guice/memory-guice/pom.xml +++ b/server/container/guice/memory-guice/pom.xml @@ -183,6 +183,8 @@ </goals> <phase>package</phase> <configuration> + <includeScope>compile</includeScope> + <includeScope>runtime</includeScope> <outputDirectory>${project.build.directory}/${project.build.finalName}.lib</outputDirectory> </configuration> </execution> --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
