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

2012-04-26 Thread hujirong
*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\CdiServicesParentmvn 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;
modelVersion4.0.0/modelVersion

groupIdcom.nbfg.cdi/groupId
artifactIdCdiServicesParent/artifactId
version1.0-SNAPSHOT/version
packagingpom/packaging

nameCdiServicesParent/name

properties

project.build.sourceEncodingUTF-8/project.build.sourceEncoding
spring.version3.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

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

2012-04-26 Thread Dave Wolf
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 jirong...@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\CdiServicesParentmvn 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;
modelVersion4.0.0/modelVersion
 
groupIdcom.nbfg.cdi/groupId
artifactIdCdiServicesParent/artifactId
version1.0-SNAPSHOT/version
packagingpom/packaging
 
nameCdiServicesParent/name
 
properties
project.build.sourceEncodingUTF-8/project.build.sourceEncoding
spring.version3.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

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

2012-04-26 Thread Zilvinas Vilutis
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-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



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

2012-04-26 Thread hujirong
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-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org