-
Notifications
You must be signed in to change notification settings - Fork 27
Open
Labels
Description
Steps to reproduce:
create build.gradle:
buildscript {
repositories {
maven {
url 'https://plugins.gradle.org/m2/'
}
}
dependencies {
classpath 'com.netflix.nebula:nebula-dependency-recommender:4.0.2'
}
}
repositories {
mavenCentral()
}
apply plugin: 'java'
apply plugin: 'nebula.dependency-recommender'
dependencyRecommendations {
mavenBom file: 'pom.xml'
}
create pom.xml:
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<groupId>org.example</groupId>
<artifactId>example</artifactId>
<packaging>pom</packaging>
<version>1.0</version>
<dependencyManagement>
</dependencyManagement>
</project>
execute gradle build:
FAILURE: Build failed with an exception.
* Where:
Build file '/tmp/example/build.gradle' line: 19
* What went wrong:
A problem occurred evaluating root project 'example'.
> Module may not be null
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 0.719 secs
using gradle --version:
------------------------------------------------------------
Gradle 3.4
------------------------------------------------------------
Build time: 2017-02-20 14:49:26 UTC
Revision: 73f32d68824582945f5ac1810600e8d87794c3d4
Groovy: 2.4.7
Ant: Apache Ant(TM) version 1.9.6 compiled on June 29 2015
JVM: 1.8.0_121 (Oracle Corporation 25.121-b13)
OS: Linux 4.1.15-gentoo-r1 amd64
bsideup