You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by hujirong <ji...@gmail.com> on 2012/04/26 19:57:24 UTC

First time compile, why looking for module POM on remote repo?

*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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: First time compile, why looking for module POM on remote repo?

Posted by hujirong <ji...@gmail.com>.
Developer found a circular dependency there. Once removed, this error gone.
Now comes another one (in a new post).

Thanks
Jirong

--
View this message in context: http://maven.40175.n5.nabble.com/First-time-compile-why-looking-for-module-POM-on-remote-repo-tp5668263p5669002.html
Sent from the Maven - Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: First time compile, why looking for module POM on remote repo?

Posted by Zilvinas Vilutis <ci...@gmail.com>.
I think Maven 3 has resolved this issue - it can read the artifacts from your
source code rather than the repo, but probably at least packaging is
required - please correct me if I'm wrong.

-----
--------------------
nothing is impossible
--
View this message in context: http://maven.40175.n5.nabble.com/First-time-compile-why-looking-for-module-POM-on-remote-repo-tp5668263p5668545.html
Sent from the Maven - Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: First time compile, why looking for module POM on remote repo?

Posted by Dave Wolf <dw...@digitalglobe.com>.
Use mvn install, so that the various dependent modules will be installed into your local repository. 

Sent from Dave's iPhone 4.
Dave Wolf

On Apr 26, 2012, at 11:57 AM, "hujirong" <ji...@gmail.com> wrote:

> *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: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 

This electronic communication and any attachments may contain confidential and proprietary 
information of DigitalGlobe, Inc. If you are not the intended recipient, or an agent or employee 
responsible for delivering this communication to the intended recipient, or if you have received 
this communication in error, please do not print, copy, retransmit, disseminate or 
otherwise use the information. Please indicate to the sender that you have received this 
communication in error, and delete the copy you received. DigitalGlobe reserves the 
right to monitor any electronic communication sent or received by its employees, agents 
or representatives.