[Building Sakai] problem while compiling rsmart google-content

ali jan sakaicle at gmail.com
Mon Mar 5 07:44:51 PST 2012


Attached is POM.xml

in attachment the position of following modules is correct or not ? because
I am getting following errors

<module>google-content</module>		<!-- add the three modules -->
		<module>oauth</module>
		<module>rsmart-common</module>



[INFO]
------------------------------------------------------------------------
[INFO] Building Rsmart Common Tool Lib
[INFO]    task-segment: [clean, install, sakai:deploy]
[INFO]
------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting directory E:\sakai-src\rsmart-co
mmon\common-tool-lib\tool-lib\target
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory
D:\Downloads\sakai-src-2.8.0\sakai-sr
c-2.8.0\rsmart-common\common-tool-lib\tool-lib\src\bundle
[INFO] Copying 3 resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 36 source files to E:\sakai-src
\rsmart-common\common-tool-lib\tool-lib\target\classes
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Compilation failure
E:\sakai-src\rsmart-common\common-tool-lib\tool-
lib\src\java\com\rsmart\sakai\common\job\TriggerWrapper.java:[25,52]
package org
.sakaiproject.component.app.scheduler.jobs does not exist
E:\sakai-src\rsmart-common\common-tool-lib\tool-
lib\src\java\com\rsmart\sakai\common\job\TriggerWrapper.java:[38,11] cannot
find
 symbol
symbol  : class SpringJobBeanWrapper
location: class com.rsmart.sakai.common.job.TriggerWrapper
E:\sakai-src\rsmart-common\common-tool-lib\tool-
lib\src\java\com\rsmart\sakai\common\job\TriggerWrapper.java:[83,55]
package org
.sakaiproject.component.app.scheduler.jobs does not exist
E:\sakai-src\rsmart-common\common-tool-lib\tool-
lib\src\java\com\rsmart\sakai\common\job\TriggerWrapper.java:[87,74]
package org
.sakaiproject.component.app.scheduler.jobs does not exist

[INFO]
------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.BuildFailureException: Compilation failure
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:715)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi
fecycle(DefaultLifecycleExecutor.java:556)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
ltLifecycleExecutor.java:535)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
dleFailures(DefaultLifecycleExecutor.java:387)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
ts(DefaultLifecycleExecutor.java:348)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
fecycleExecutor.java:180)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
        at
org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:6
0)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.CompilationFailureException: Compilation
fail
ure
        at
org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompiler
Mojo.java:516)
        at
org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:114)
        at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
nManager.java:490)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:694)
        ... 17 more
On Mon, Mar 5, 2012 at 12:40 PM, ali jan <sakaicle at gmail.com> wrote:

> Thanks Rafael,
>
> I got the libraries
>
> On Mon, Mar 5, 2012 at 12:16 PM, ali jan <sakaicle at gmail.com> wrote:
>
>> Dear Rafael Morales
>>
>> Thanks for reply.
>>
>> NO, I did not downloaded these libraries,
>>
>> what are the URLs which are necessory for installation of that tool
>>
>>
>>
>> On Mon, Mar 5, 2012 at 12:04 PM, Rafael Morales <
>> rmorales at udgvirtual.udg.mx> wrote:
>>
>>>  Did you downloaded all the libraries from RSmart and Google that are
>>> required to compile the package? Did you installed them in your local maven
>>> repository?
>>>
>>> Regards,
>>> Rafael
>>>
>>> El 03/03/2012 04:25 a.m., ali jan escribió:
>>>
>>> Dear All
>>>
>>>  I have sakai 2.8.0 and mysql database
>>> when compliling google-content then getting following errors
>>>
>>> pom.xml is attached
>>>
>>>
>>>
>>>  [ERROR] BUILD ERROR
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] Failed to resolve artifact.
>>>
>>>  Missing:
>>> ----------
>>> 1) com.rsmart:oauth-api:jar:2.8.0
>>>
>>>    Try downloading the file manually from the project website.
>>>
>>>    Then, install it using the command:
>>>       mvn install:install-file -DgroupId=com.rsmart
>>> -DartifactId=oauth-api -Dver
>>> sion=2.8.0 -Dpackaging=jar -Dfile=/path/to/file
>>>
>>>    Alternatively, if you host your own repository you can deploy the
>>> file there:
>>>
>>>        mvn deploy:deploy-file -DgroupId=com.rsmart
>>> -DartifactId=oauth-api -Dversi
>>> on=2.8.0 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url]
>>> -DrepositoryId=[id]
>>>
>>>    Path to dependency:
>>>         1) com.rsmart:google-content-api:jar:2.8.0
>>>         2) com.rsmart:oauth-api:jar:2.8.0
>>>
>>>  ----------
>>> 1 required artifact is missing.
>>>
>>>  for artifact:
>>>   com.rsmart:google-content-api:jar:2.8.0
>>>
>>>  from the specified remote repositories:
>>>   default (http://repo1.maven.org/maven2),
>>>   sakai-maven2-snapshots (
>>> http://source.sakaiproject.org/maven2-snapshots),
>>>   central (http://repo1.maven.org/maven2),
>>>   sakai-maven (http://source.sakaiproject.org/maven2)
>>>
>>>
>>>
>>> _______________________________________________
>>> sakai-dev mailing listsakai-dev at collab.sakaiproject.orghttp://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>>>
>>> TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of "unsubscribe"
>>>
>>>
>>> _______________________________________________
>>> 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/20120305/887d43ad/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pom.xml
Type: text/xml
Size: 11631 bytes
Desc: not available
Url : http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20120305/887d43ad/attachment.xml 


More information about the sakai-dev mailing list