diff options
author | gjoranv <gv@oath.com> | 2017-08-30 14:38:07 +0200 |
---|---|---|
committer | gjoranv <gv@oath.com> | 2017-09-01 17:47:14 +0200 |
commit | 01a006ea8329b165cf2b0ff7f49ca245532d087e (patch) | |
tree | bb624a580363a2def73480609a8217f27c033615 /container-dev | |
parent | 0d408cd082052f9629f52f8c058ea74323f21667 (diff) |
Make antlr and antlr4 invisible for customer projects.
- Visible only in test classpath.
Diffstat (limited to 'container-dev')
-rw-r--r-- | container-dev/pom.xml | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/container-dev/pom.xml b/container-dev/pom.xml index 7ac2eb03016..e858ba1c50b 100644 --- a/container-dev/pom.xml +++ b/container-dev/pom.xml @@ -112,11 +112,33 @@ <groupId>com.yahoo.vespa</groupId> <artifactId>container-search-and-docproc</artifactId> <version>${project.version}</version> + <exclusions> + <exclusion> + <groupId>org.antlr</groupId> + <artifactId>antlr4-runtime</artifactId> + </exclusion> + </exclusions> </dependency> <dependency> <groupId>com.yahoo.vespa</groupId> <artifactId>config-bundle</artifactId> <version>${project.version}</version> </dependency> + + <!-- Dependencies below are added explicitly to exclude transitive deps that are not provided runtime by the container, + and hence make them invisible to user projects' build classpath. + Excluded artifacts should be added explicitly to the application module to make then visible in users' test classpath. --> + <dependency> + <groupId>com.yahoo.vespa</groupId> + <artifactId>predicate-search-core</artifactId> + <version>${project.version}</version> + <exclusions> + <exclusion> + <groupId>org.antlr</groupId> + <artifactId>antlr-runtime</artifactId> + </exclusion> + </exclusions> + </dependency> + </dependencies> </project> |