​Hi,

Shall we commit this fix to pom.xml in the sample please? Just got bitten
by the same and found this out after an hour or so.

    -Chintana​

On Fri, May 2, 2014 at 12:46 AM, Shani Ranasinghe <sh...@wso2.com> wrote:

> Hi Johann/Pulasthi,
>
> Thanks a lot for the information. I think I got it wrong when Ishara gave
> me the information offline. Thank you for the help.
>
> @Pulasthi, thanks for the quick workaround suggested.
>
>
> On Fri, May 2, 2014 at 12:44 AM, Shani Ranasinghe <sh...@wso2.com> wrote:
>
>> [Response from Johann]
>>
>> Please find the built samples from [1].
>>
>> If you want to build from source you might have to build the
>> org.wso2.carbon.identity.sso.agent jar manually and then build the sample.
>> The agent jar 1.1.0 is not hosted in the repo.
>>
>> [1] https://svn.wso2.org/repos/wso2/people/johann/SSOAgentSampleBinaries/
>>
>>
>> On Fri, May 2, 2014 at 12:23 AM, Pulasthi Mahawithana <pulast...@wso2.com
>> > wrote:
>>
>>> Hi,
>>>
>>> It's because of missing parent pom. It's available at the parent
>>> directory from there (in svn repo), but it also depends on the its parent,
>>> and so on.
>>>
>>> As a workaround to get the sample build, I removed the parent entry from
>>> the pom.xml, and added the groupID and version separately. So the Final pom
>>> will be,
>>>
>>> <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/maven-v4_0_0.xsd";>
>>>
>>>
>>>
>>> <groupId>org.wso2.identity</groupId>
>>> <version>4.6.0</version>
>>>     <modelVersion>4.0.0</modelVersion>
>>>     <artifactId>wso2is-identity-samples-sso</artifactId>
>>>     <packaging>pom</packaging>
>>>     <name>Identity Server : SSO Samples</name>
>>>
>>>     <modules>
>>>         <module>SSOAgentSample</module>
>>>     </modules>
>>>
>>> </project>
>>>
>>>
>>>
>>>
>>> On Fri, May 2, 2014 at 12:27 PM, Shani Ranasinghe <sh...@wso2.com>
>>> wrote:
>>>
>>>> Hi,
>>>> I am getting the following error when trying to build 4.6.0 travelocity
>>>> SSO sample.
>>>>
>>>> [INFO] Scanning for projects...
>>>> [ERROR] The build could not read 1 project -> [Help 1]
>>>> [ERROR]
>>>> [ERROR]   The project
>>>> org.wso2.identity:org.wso2.sample.is.sso.agent:1.1.0
>>>> (/customCode/sso/SSOAgentSample/pom.xml) has 1 error
>>>> [ERROR]     Non-resolvable parent POM for
>>>> org.wso2.identity:wso2is-identity-samples-sso:4.6.0: Failure to find
>>>> org.wso2.identity:wso2is-identity-samples:pom:4.6.0 in
>>>> http://maven.wso2.org/nexus/content/groups/wso2-public/ was cached in
>>>> the local repository, resolution will not be reattempted until the update
>>>> interval of wso2-nexus has elapsed or updates are forced and
>>>> 'parent.relativePath' points at wrong local POM @
>>>> org.wso2.identity:wso2is-identity-samples-sso:4.6.0,
>>>> /customCode/sso/pom.xml, line 22, column 13 -> [Help 2]
>>>> [ERROR]
>>>> [ERROR] To see the full stack trace of the errors, re-run Maven with
>>>> the -e switch.
>>>> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>>>> [ERROR]
>>>> [ERROR] For more information about the errors and possible solutions,
>>>> please read the following articles:
>>>> [ERROR] [Help 1]
>>>> http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
>>>> [ERROR] [Help 2]
>>>> http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
>>>>
>>>> --
>>>> Thanks and Regards
>>>> *,Shani Ranasinghe*
>>>> Software Engineer
>>>> WSO2 Inc.; http://wso2.com
>>>> lean.enterprise.middleware
>>>>
>>>> mobile: +94 77 2273555
>>>> linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab
>>>>
>>>> _______________________________________________
>>>> Dev mailing list
>>>> Dev@wso2.org
>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>
>>>>
>>>
>>>
>>> --
>>> *Pulasthi Mahawithana*
>>> Software Engineer
>>> WSO2 Inc., http://wso2.com/
>>> Mobile: +94-71-5179022
>>>
>>
>>
>>
>> --
>> Thanks and Regards
>> *,Shani Ranasinghe*
>> Software Engineer
>> WSO2 Inc.; http://wso2.com
>> lean.enterprise.middleware
>>
>> mobile: +94 77 2273555
>> linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab
>>
>
>
>
> --
> Thanks and Regards
> *,Shani Ranasinghe*
> Software Engineer
> WSO2 Inc.; http://wso2.com
> lean.enterprise.middleware
>
> mobile: +94 77 2273555
> linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab
>
> _______________________________________________
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Chintana Wilamuna | Solutions Architect | WSO2 <http://wso2.com/> Inc.
408 429 3321 | http://engwar.com/
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to