shibboleth-identityprovider-2.3.5-slo10 build error
袁立舟
yuanlz09 at mails.tsinghua.edu.cn
Tue Apr 17 17:14:42 BST 2012
Hi,Tamas
Like you mentioned , I didn't install the slo branch. After the following steps I solved this problem.
Still, I'm confused why does the Maven can't download the dependency Jars automatically by including relative dependency tag in pom.xml ?
Thanks a lot!
1. Delete the duplicated version tag
<parent>
<groupId>net.shibboleth</groupId>
<artifactId>parent</artifactId>
<version>2<version>[delete this line]
<version>3</version>
</parent>
2. Download the shibboleth-common-1.3.5-slo2.jar in the following URL :http://software.niif.hu/maven2/edu/internet2/middleware/shibboleth-common/1.3.5-slo2/shibboleth-common-1.3.5-slo2.jar
then exeucute the following command : mvn install:install-file -DgroupId=edu.internet2.middleware -DartifactId=shibboleth-common -Dversion=1.3.5-slo2 -Dpackaging=jar -Dfile=path/to/file
3. Add external Jars (can be found @ https://shibboleth.net/nexus/index.html#welcome):
opensaml-2.5.3.jar
org.apache.servicemix.bundles.opensaml-2.5.1_1.jar
commons-httpclient-3.1.jar
commons-httpclient-contrib.jar
org.apache.servicemix.bundles.not-yet-commons-ssl-0.3.11_1.jar
esapi-2.0GA.jar
> -----Original Message-----
> From: =?iso-8859-1?Q?Frank_Tam=E1s?= <sitya at niif.hu>
> Date: Tue, 17 Apr 2012 16:24:34 +0200
> To: Shib Dev <dev at shibboleth.net>
> Subject: Re: shibboleth-identityprovider-2.3.5-slo10 build error
> Hi,
>
> did you clone the frontchannel-slo branch?
>
> Tamas
>
> On 2012.04.17., at 14:22
>
> > HI,everyone
> >
> > I'm researching the SLO subject of Shibboleth IdP. So I download the source code provided by NIIF Institute. Its version is 2.3.5. But I encounter the following problem when I build the project with Maven command [mvn install] in the directory containing pom.xml . This command is all right with version 2.2.1
> >
> > Reason: Parse error reading POM. Reason: Duplicated tag: 'version' (position: ST
> > ART_TAG seen ...<ersion>\n <version>... @11:18) for project unknown at C:\Documents and Settings\cghp\sitya-java-idp-4d0e041\pom.xml
> >
> > I can not figure out this problem then I download missing packages as it shown below by hand:
> > shibboleth-common-1.3.5.jar
> > common-httpclient-contrib.jar
> > opensaml-2.5.3.jar
> > spring-2.0.5.jar
> > servlet-api.jar
> > ...
> > ...
> >
> > But I am still notified:
> >
> > The method getIndexFromNameID(NameID) is undefined for the type SessionManager<Session>
> > The method getBackChannelConnectionPoolTimeout() is undefined for the type LogoutRequestConfiguration
> >
> > Both SessionManager and LogoutRequestConfiguration are in the package of edu.internet2.middleware.shibboleth.common. What I have downloaded is the version shibboleth-common-1.3.5.There are no such two methods as mentioned in the notification in the source code. I don't know the cause for the problem, is that I got a wrong version of a jar package or that there's something wrong with my method to do the building?
> >
> > Thank you very much for any effort to help me out of the puzzle.
> >
More information about the dev
mailing list