diff options
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/pom2mk/pom2mk.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cmd/pom2mk/pom2mk.go b/cmd/pom2mk/pom2mk.go index b4659f77..a635586e 100644 --- a/cmd/pom2mk/pom2mk.go +++ b/cmd/pom2mk/pom2mk.go @@ -160,6 +160,10 @@ func (p Pom) MkAarDeps() []string { // method are formatted as Make targets, e.g. run through MavenToMk rules. func (p Pom) MkDeps(typeExt string, scopes []string) []string { var ret []string + if typeExt == "jar" { + // all top-level extra deps are assumed to be of type "jar" until we add syntax to specify other types + ret = append(ret, extraDeps[p.MkName()]...) + } for _, d := range p.Dependencies { if d.Type != typeExt || !InList(d.Scope, scopes) { continue |