Skip to content

Instantly share code, notes, and snippets.

@honghuac
Created August 24, 2015 09:09
Show Gist options
  • Save honghuac/1bd30185c1ec10ff7005 to your computer and use it in GitHub Desktop.
Save honghuac/1bd30185c1ec10ff7005 to your computer and use it in GitHub Desktop.
Error in mvn compile
H-Opensack:fabric-labs-0.1 hchin$ mvn compile
[INFO] Scanning for projects...
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[ERROR] 'modules.module[0]' has been specified without a path to the project directory. @ com.redhat.gpe.training:fabric-lab-1-project:[unknown-version], /Users/hchin/Downloads/fabric-labs-0.1/1_introduction_administration/pom.xml, line 17, column 17
[ERROR] 'modules.module[0]' has been specified without a path to the project directory. @ com.redhat.gpe.training:fabric-lab3-project:[unknown-version], /Users/hchin/Downloads/fabric-labs-0.1/3_Advanced_Features/pom.xml, line 17, column 17
[WARNING] 'build.plugins.plugin.version' for org.codehaus.mojo:build-helper-maven-plugin is missing. @ com.redhat.gpe.training:features:[unknown-version], /Users/hchin/Downloads/fabric-labs-0.1/4_Architectures/fabric-amq-camel/features/pom.xml, line 43, column 21
@
[ERROR] The build could not read 2 projects -> [Help 1]
[ERROR]
[ERROR] The project com.redhat.gpe.training:fabric-lab-1-project:1.0 (/Users/hchin/Downloads/fabric-labs-0.1/1_introduction_administration/pom.xml) has 1 error
[ERROR] 'modules.module[0]' has been specified without a path to the project directory. @ com.redhat.gpe.training:fabric-lab-1-project:[unknown-version], /Users/hchin/Downloads/fabric-labs-0.1/1_introduction_administration/pom.xml, line 17, column 17
[ERROR]
[ERROR] The project com.redhat.gpe.training:fabric-lab3-project:1.0 (/Users/hchin/Downloads/fabric-labs-0.1/3_Advanced_Features/pom.xml) has 1 error
[ERROR] 'modules.module[0]' has been specified without a path to the project directory. @ com.redhat.gpe.training:fabric-lab3-project:[unknown-version], /Users/hchin/Downloads/fabric-labs-0.1/3_Advanced_Features/pom.xml, line 17, column 17
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
HH-Opensack:fabric-labs-0.1 hchin$
@cmoulliard
Copy link

Which version of maven do you use ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment