diff options
Diffstat (limited to 'java/genpom')
| -rwxr-xr-x | java/genpom | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/java/genpom b/java/genpom index 07a5b82a1f..6ac0e970cc 100755 --- a/java/genpom +++ b/java/genpom @@ -111,8 +111,10 @@ for module in module_depends: <groupId>%s</groupId> <artifactId>%s</artifactId> <version>%s</version> + <scope>%s</scope> </dependency> -""" % (opts.group, artifactId, opts.version)) +""" % (opts.group, artifactId, opts.version, + scopes.get(artifactId, "compile"))) for jar in jars: base, ext = os.path.splitext(os.path.basename(jar)) |
