diff options
Diffstat (limited to 'pom.xml')
-rw-r--r-- | pom.xml | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -260,6 +260,7 @@ <groupId>com.google.guava</groupId> <artifactId>guava</artifactId> <version>14.0.1</version> + <scope>provided</scope> </dependency> <dependency> <groupId>org.apache.commons</groupId> @@ -1017,6 +1018,21 @@ <profiles> + <!-- + This profile is enabled automatically by the sbt built. It changes the scope for the guava + dependency, since we don't shade it in the artifacts generated by the sbt build. + --> + <profile> + <id>sbt</id> + <dependencies> + <dependency> + <groupId>com.google.guava</groupId> + <artifactId>guava</artifactId> + <scope>compile</scope> + </dependency> + </dependencies> + </profile> + <!-- Ganglia integration is not included by default due to LGPL-licensed code --> <profile> <id>spark-ganglia-lgpl</id> |