I got the following error when do a "mvn clean install". I tried this type of delete .m2/repository and recompile many times, always encounter similar errors. I guess it's due to I am new to Maven. I am using the default settings.xml as installed.
We are using a company internal Nexus repository. So the snapshots in the error below was generated when I point the settings.xml to the company internal. Now I want to use Sonar, but it's not in company Nexus. So now I change to the default settings.xml to use the Maven central. But these jars are already installed into my local repository, why say can't resolved? [ERROR] Failed to execute goal on project ClientServicesBOLib: Could not resolve dependencies for project com.nbfg.max.w esb:ClientServicesBOLib:jar:0.0.1-SNAPSHOT: The following artifacts could not be resolved: com.nbfg.fw.foundation:NbfgLogging:jar:2.0.0, com.nbfg.fw.foundation:NbfgLoggingJee:jar:2.0.0: Could not find artifact com.nbfg.fw.foundation:NbfgLog ging:jar:2.0.0 in central (http://repo1.maven.org/maven2) -> [Help 1] [ERROR] -- View this message in context: http://maven.40175.n5.nabble.com/Could-not-find-artifact-com-nbfg-fw-maven-nbfg-m-aven-pom-1-0-1-in-central-tp5708978p5708982.html Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
