*This is the first time I try to compile the project in my workstation. I am invoking the highest level of POM and it suppose to compile everything. Developers are doing that but they are using their own local repo. I am the build engineer so my Maven is pointing to the company central repo.
But I got this error, tells me the module POM is not in the Maven repository. Of course, this is the first time I try to compile! Please advise what shall I do. Thanks Jirong* C:\Sandbox\MDM-CDIServiceMgmt\CdiServicesParent>mvn compile [INFO] Scanning for projects... [ERROR] The build could not read 5 projects -> [Help 1] [ERROR] [ERROR] The project com.nbfg.cdi.ext:CdiExtensionServices:1.0-SNAPSHOT (C:\Sandbox\MDM-CDIServiceMgmt\CdiExtensionServices\pom.xml) has 1 error [ERROR] Non-resolvable parent POM: Failure to find com.nbfg.cdi:CdiExtensionServicesParent:pom:1.0-SNAPSHOT in http://axddarep01.npr.bngf.local:8080/nexus/content/groups/max-public/ was cached in the local repository, resolution will not be reattempted until the update interval of nexus has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM @ line 5, column 10 -> [Help 2] [ERROR] [ERROR] The project com.nbfg.cdi.ext:CdiExtensionWebServices:1.0-SNAPSHOT (C:\Sandbox\MDM-CDIServiceMgmt\CdiExtensionWebServices\pom.xml) has 1 error [ERROR] Non-resolvable parent POM: Failure to find com.nbfg.cdi:CdiExtensionServicesParent:pom:1.0-SNAPSHOT in http://axddarep01.npr.bngf.local:8080/nexus/content/groups/max-public/ was cached in the local repository, resolution will not be reattempted until the update interval of nexus has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM @ line 4, column 10 -> [Help 2] [ERROR] [ERROR] The project com.nbfg.cdi.ext:CdiExtensionWebServicesEar:1.0-SNAPSHOT (C:\Sandbox\MDM-CDIServiceMgmt\CdiExtensionWebServicesEar\pom.xml) has 1 error [ERROR] Non-resolvable parent POM: Failure to find com.nbfg.cdi:CdiExtensionServicesParent:pom:1.0-SNAPSHOT in http://axddarep01.npr.bngf.local:8080/nexus/content/groups/max-public/ was cached in the local repository, resolution will not be reattempted until the update interval of nexus has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM @ line 5, column 10 -> [Help 2] [ERROR] [ERROR] The project com.nbfg.cdi.ext:CdiExtensionServicesDatabase:1.0-SNAPSHOT (C:\Sandbox\MDM-CDIServiceMgmt\CdiExtensionServicesDatabase\pom.xml) has 1 error [ERROR] Non-resolvable parent POM: Failure to find com.nbfg.cdi:CdiExtensionServicesParent:pom:1.0-SNAPSHOT in http://axddarep01.npr.bngf.local:8080/nexus/content/groups/max-public/ was cached in the local repository, resolution will not be reattempted until the update interval of nexus has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM @ line 3, column 10 -> [Help 2] [ERROR] [ERROR] The project com.nbfg.cdi.ext:CdiExtensionWebServicesUT:1.0-SNAPSHOT (C:\Sandbox\MDM-CDIServiceMgmt\CdiExtensionWebServicesUT\pom.xml) has 1 error [ERROR] Non-resolvable parent POM: Failure to find com.nbfg.cdi:CdiExtensionServicesParent:pom:1.0-SNAPSHOT in http://axddarep01.npr.bngf.local:8080/nexus/content/groups/max-public/ was cached in the local repository, resolution will not be reattempted until the update interval of nexus has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM @ line 4, column 10 -> [Help 2] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. *Below is part of my POM:* <?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/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>com.nbfg.cdi</groupId> <artifactId>CdiServicesParent</artifactId> <version>1.0-SNAPSHOT</version> <packaging>pom</packaging> <name>CdiServicesParent</name> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <spring.version>3.0.5.RELEASE</spring.version> </properties> <modules> <module>../CdiServicesCommons</module> <module>../CdiServicesBO</module> <module>../CdiInitiateService</module> <module>../CdiServices</module> <module>../CdiWebServices</module> <module>../ClientInfoMgmt</module> <module>../CdiWebServicesEar</module> <module>../CdiExtensionServicesParent</module> </modules> -- View this message in context: http://maven.40175.n5.nabble.com/First-time-compile-why-looking-for-module-POM-on-remote-repo-tp5668263p5668263.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]
