[Building Sakai] Google Docs and 2.9.x(rsmart-common)

Brian Baillargeon bbailla2 at uwo.ca
Fri Mar 15 14:40:21 PDT 2013


Hi Mustansar,

I had a similar issue while migrating our instance of rsmart's 
certification to 2.9. I resolved it by modifying the pom.xml files in 
rsmart-common - for all the metaobj articats, I changed the groupId from 
"org.sakaiproject" to "org.sakaiproject.metaobj", and it builds fine.

Hope that helps,
Brian Baillargeon

On 13-03-15 02:54 PM, Mustansar Mehmood wrote:
>
>  Sakaigers,
>                  Does any one know how get past this one on ?  I am 
> yet to see a helpful or any response for this issue
> [INFO] Scanning for projects...
> [ERROR] The build could not read 1 project -> [Help 1]
> [ERROR]
> [ERROR]   The project com.rsmart:rsmart-common-tool-lib:2.9-SNAPSHOT 
> (/home/mustansar/source/sakai-2.9.x-all-untouched/rsmart-common/common-tool-lib/tool-lib/pom.xml) 
> has 2 errors
> [ERROR]     'dependencies.dependency.version' for 
> org.sakaiproject:sakai-metaobj-api:jar is missing. @ line 68, column 17
> [ERROR]     'dependencies.dependency.version' for 
> org.sakaiproject:sakai-metaobj-tool-lib:jar is missing. @ line 78, 
> column 17
> [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 a
>
> On 03/14/2013 10:35 AM, Mustansar Mehmood wrote:
>> Hi,
>>      I am trying install Google docs on Sakai 2.9.x  bu the the 
>> comilation is failing
>> [INFO] Scanning for projects...
>> [ERROR] The build could not read 1 project -> [Help 1]
>> [ERROR]
>> [ERROR]   The project com.rsmart:rsmart-common-tool-lib:2.9-SNAPSHOT 
>> (/home/mustansar/source/sakai-2.9.x-all-untouched/rsmart-common/common-tool-lib/tool-lib/pom.xml) 
>> has 2 errors
>> [ERROR]     'dependencies.dependency.version' for 
>> org.sakaiproject:sakai-metaobj-api:jar is missing. @ line 68, column 17
>> [ERROR]     'dependencies.dependency.version' for 
>> org.sakaiproject:sakai-metaobj-tool-lib:jar is missing. @ line 78, 
>> column 17
>> [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
>>  I have tried adding likes  version line as well
>> <dependency>
>>       <groupId>org.sakaiproject</groupId>
>>       <artifactId>sakai-metaobj-api</artifactId>
>>       <version>${sakai.version}</version>
>>     </dependency>
>>  which leads to
>> [ERROR] Failed to execute goal on project rsmart-common-tool-lib: 
>> Could not resolve dependencies for project 
>> com.rsmart:rsmart-common-tool-lib:jar:2.9-SNAPSHOT: The following 
>> artifacts could not be resolved: 
>> org.sakaiproject:sakai-metaobj-api:jar:2.9-SNAPSHOT, 
>> org.sakaiproject:sakai-metaobj-tool-lib:jar:2.9-SNAPSHOT, 
>> org.sakaiproject:sakai-metaobj-impl:jar:2.9-SNAPSHOT: Failure to find 
>> org.sakaiproject:sakai-metaobj-api:jar:2.9-SNAPSHOT in 
>> http://source.sakaiproject.org/maven2-snapshots was cached in the 
>> local repository, resolution will not be reattempted until the update 
>> interval of sakai-maven2-snapshots has elapsed or updates are forced 
>> -> [Help 1]
>> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to 
>> execute goal on project rsmart-common-tool-lib: Could not resolve 
>> dependencies for project 
>> com.rsmart:rsmart-common-tool-lib:jar:2.9-SNAPSHOT: The following 
>> artifacts could not be resolved: 
>> org.sakaiproject:sakai-metaobj-api:jar:2.9-SNAPSHOT, 
>> org.sakaiproject:sakai-metaobj-tool-lib:jar:2.9-SNAPSHOT, 
>> org.sakaiproject:sakai-metaobj-impl:jar:2.9-SNAPSHOT: Failure to find 
>> org.sakaiproject:sakai-metaobj-api:jar:2.9-SNAPSHOT in 
>> http://source.sakaiproject.org/maven2-snapshots was cached in the 
>> local repository, resolution will not be reattempted until the update 
>> interval of sakai-maven2-snapshots has elapsed or updates are forced
>>
>> any ideas?
>> Thanks,
>> Mustansar
>>
>>
>>
>> _______________________________________________
>> sakai-dev mailing list
>> sakai-dev at collab.sakaiproject.org
>> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>>
>> TO UNSUBSCRIBE: send email tosakai-dev-unsubscribe at collab.sakaiproject.org  with a subject of "unsubscribe"
>
>
> -- 
> Mustansar Mehmood
> Educational System Developer& Integrator
>
> Information Technology
> 6100 Main St. MS 119
> Houston Texas 77005
>
> Phone:(713)348-2523
> Fax  :(713)348 6099
> email:mustansar at rice.edu
>
>
>
>
>
> I have yet to see any problem, however complicated, which, when,you  looked at it in the right way, did not become still more complicated.
>      -- Poul Anderson
>
>
>
> _______________________________________________
> sakai-dev mailing list
> sakai-dev at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>
> TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of "unsubscribe"

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20130315/4cb74fb1/attachment.html 


More information about the sakai-dev mailing list