|
View:
New views
2 Messages
—
Rating Filter:
Alert me
|
|
|
Can't find parent pom if SNAPSHOTHi all,
I have a strange problem that I can't figure out. I have a working Hudson + Nexus setup. Projects can be built and deployed both with release versions and with snapshot versions. It all works. Recently, I added a parent POM to one of the projects. The parent POM version was 3-SNAPSHOT and the build failed because Maven could not find the parent POM. I can reproduce the problem *only* when running the build as the "build" user. If I run it as "me" (on the same server) then the build works. Also, if I change the parent POM version from 3-SNAPSHOT to 3 the build also works for "build". I'd like to stress again that project SNAPSHOT builds (with SNAPSHOT dependencies) work. And, naturally, the parent POM (3-SNAPSHOT) is available in the Nexus Snapshots repository. Are (snapshot) parent POMs somehow different to Nexus? How can I get this to work with SNAPSHOT parent POMs? Any thoughts or ideas? svn/parent-pom/pom.xml (with version 3-SNAPSHOT) has been deployed to http://server:8080/nexus/content/repositories/snapshots/. svn/project/pom.xml (which refers to the parent POM with version 3-SNAPSHOT) fails to build. Cheers, Hilco --------------------------------------------------------------------- To unsubscribe, e-mail: nexus-user-unsubscribe@... For additional commands, e-mail: nexus-user-help@... |
|
|
Re: Can't find parent pom if SNAPSHOTHilco,
It sounds like you have one of two problems: 1.) Something is wrong in your build users settings.xml ( repository, user/pass, etc ) 2.) You have an authentication / authorization problem on the nexus side. Log into nexus as your "build" user and make sure you can download the file in the UI. If thats not it, let us know On Oct 1, 2009, at 4:00 PM, Hilco Wijbenga wrote: > Hi all, > > I have a strange problem that I can't figure out. I have a working > Hudson + Nexus setup. Projects can be built and deployed both with > release versions and with snapshot versions. It all works. > > Recently, I added a parent POM to one of the projects. The parent POM > version was 3-SNAPSHOT and the build failed because Maven could not > find the parent POM. I can reproduce the problem *only* when running > the build as the "build" user. If I run it as "me" (on the same > server) then the build works. Also, if I change the parent POM version > from 3-SNAPSHOT to 3 the build also works for "build". > > I'd like to stress again that project SNAPSHOT builds (with SNAPSHOT > dependencies) work. And, naturally, the parent POM (3-SNAPSHOT) is > available in the Nexus Snapshots repository. > > Are (snapshot) parent POMs somehow different to Nexus? How can I get > this to work with SNAPSHOT parent POMs? Any thoughts or ideas? > > svn/parent-pom/pom.xml (with version 3-SNAPSHOT) has been deployed to > http://server:8080/nexus/content/repositories/snapshots/. > svn/project/pom.xml (which refers to the parent POM with version > 3-SNAPSHOT) fails to build. > > Cheers, > Hilco > > --------------------------------------------------------------------- > To unsubscribe, e-mail: nexus-user-unsubscribe@... > For additional commands, e-mail: nexus-user-help@... > --------------------------------------------------------------------- To unsubscribe, e-mail: nexus-user-unsubscribe@... For additional commands, e-mail: nexus-user-help@... |
| Free embeddable forum powered by Nabble | Forum Help |