Error building the idp when following official wiki steps
Brent Putman
putmanb at georgetown.edu
Mon Nov 12 20:21:22 EST 2012
On 11/12/12 11:01 AM, Toszek, Kamil wrote:
>
> Hi.
>
> I was following the wiki documentation from here
> https://wiki.shibboleth.net/confluence/display/SHIB2/SourceAccess
>
> After checking out the project, I wanted to build it, yet I’ve got an
> error:
>
> C:\Workspace\stdportal\java-shib-idp2-main>mvn -P release -DskipTests
> install
>
> [INFO] Scanning for projects...
>
> Downloading:
> https://build.shibboleth.net/nexus/content/repositories/snapshots/net/shibboleth/parent-v2/TRUNK-SNAPSHOT/maven-metadata.xml
>
> Downloading:
> https://build.shibboleth.net/nexus/content/repositories/snapshots/net/shibboleth/parent-v2/TRUNK-SNAPSHOT/parent-v2-TRUNK-SNAPSHOT.pom
>
> [ERROR] The build could not read 2 projects -> [Help 1]
>
The build process changed a bit just last week. The projects use a Maven
parent POM project. This was formerly was locked to released version of
the parent POM published in the Nexus repository. Since the v2 projects
are now under more active development, we switched the v2 build to be
similar to our methodology for v3 and to use a SNAPSHOT build of the
TRUNK of the Maven parent. So it is now required to have that installed
in the local Maven repo, just like other dependencies.
I have updated the Wiki article above to reflect the additional step to
build and install locally the parent POM project.
--Brent
More information about the users
mailing list