Hi Godwin,

Yes, after adding nexus repositories I could successfully build it.

Thanks!

On Sun, May 8, 2016 at 12:20 PM, Godwin Shrimal <[email protected]> wrote:

> Hi Chamila,
>
> You need to add nexus repositories to your extension pom file, Can you
> verify it ?
>
>
> Thanks
> Godwin
>
> On Sun, May 8, 2016 at 12:50 AM, Chamila Wijayarathna <[email protected]>
> wrote:
>
>> Hi all,
>>
>> I have attached the wrong error, correct one is the below one.
>>
>> mvn clean install -Dmaven.repo.local=/home/chamila/m2_i/
>> [INFO] Scanning for projects...
>> [ERROR] The build could not read 1 project -> [Help 1]
>> [ERROR]
>> [ERROR]   The project
>> org.wso2.carbon.identity:identity-governance:1.0.0-SNAPSHOT
>> (/home/chamila/IS/src/identity-extension-identityMgt/pom.xml) has 1 error
>> [ERROR]     Non-resolvable parent POM: Could not find artifact
>> org.wso2.carbon.identity:identity-extension-parent:pom:5.0.9-SNAPSHOT and
>> 'parent.relativePath' points at wrong local POM @ line 20, 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
>>
>> I could fixed it by adding <repositories> to the parent pom.
>>
>> Sorry for the noise.
>>
>> Thank You!
>>
>> On Sun, May 8, 2016 at 12:45 AM, Chamila Wijayarathna <[email protected]>
>> wrote:
>>
>>> Hi all,
>>>
>>> I am working on creating a new extension to identity server as various
>>> connectors at [1]. I have developed most of it and current code is
>>> available at [2].
>>>
>>> However when I am building this in a clean repo, its failing and I am
>>> getting following error.
>>>
>>> *chamila@chamila-ThinkPad-T540p:~/IS/src/identity-extension-identityMgt$
>>> mvn clean install -Dmaven.repo.local=/home/chamila/m2_i/*
>>> *[INFO] Scanning for projects...*
>>> *[ERROR] The build could not read 1 project -> [Help 1]*
>>> *[ERROR]   *
>>> *[ERROR]   The project
>>> org.wso2.carbon.identity:org.wso2.carbon.identity.governance.feature:1.0.0-SNAPSHOT
>>> (/home/chamila/IS/src/identity-extension-identityMgt/features/org.wso2.carbon.identity.governance.feature/pom.xml)
>>> has 1 error*
>>> *[ERROR]     Non-resolvable parent POM: Could not find artifact
>>> org.wso2.carbon.identity:identity-governance:pom:1.0.0-SNAPSHOT and
>>> 'parent.relativePath' points at wrong local POM @ line 21, 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
>>> <http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException>*
>>> *[ERROR] [Help 2]
>>> http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
>>> <http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException>*
>>>
>>> I tried doing same with repos at[1], but they are building without any
>>> issue. Any idea about what I am missing here?
>>>
>>> [1]. https://github.com/wso2-extensions?utf8=%E2%9C%93&query=identity
>>> [2]. https://github.com/cdwijayarathna/identity-governance
>>>
>>> Thank You!
>>>
>>> --
>>> *Chamila Dilshan Wijayarathna,*
>>> Software Engineer
>>> Mobile:(+94)788193620
>>> WSO2 Inc., http://wso2.com/
>>>
>>
>>
>>
>> --
>> *Chamila Dilshan Wijayarathna,*
>> Software Engineer
>> Mobile:(+94)788193620
>> WSO2 Inc., http://wso2.com/
>>
>> _______________________________________________
>> Dev mailing list
>> [email protected]
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> *Godwin Amila Shrimal*
> Senior Software Engineer
> WSO2 Inc.; http://wso2.com
> lean.enterprise.middleware
>
> mobile: *+94772264165*
> linkedin: *http://lnkd.in/KUum6D <http://lnkd.in/KUum6D>*
> twitter: https://twitter.com/godwinamila
>



-- 
*Chamila Dilshan Wijayarathna,*
Software Engineer
Mobile:(+94)788193620
WSO2 Inc., http://wso2.com/
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to