[Building Sakai] Build error with 2.5.4

Gerwood Stewart gstewar8 at une.edu.au
Wed Jun 3 19:42:15 PDT 2009


A question...

Should I be able to run mvn clean compile  on the 2.5.4 branch and have it succeed or do I need to run sakai:deploy with it if it is to finish successfully.

Gerwood


On 4/06/09 9:39 AM, "Karen Tsao" <ktsao at stanford.edu> wrote:

Hi Gerwood,

I think this is something related to your environment. Do you have this issue in any other tools? Do other tools get installed under /apps/sakai/.m2/repository? Can you see if you have any environment variable set to .maven?

Thanks,
Karen

On Tue, Jun 2, 2009 at 11:21 PM, Gerwood Stewart <gstewar8 at une.edu.au> wrote:
Karen

Yes. It is successfully built, though mvn still reports it as a Build Error.

Actually I think I just found the problem.
[INFO] [maven-one-plugin:install-maven-one-repository {execution: default}]
[INFO] Installing /apps/sakai/src/sakai-2.5.4/sam/samigo-audio/m2-target/sakai-samigo-audio-2.5.4.jar to /apps/sakai/.maven/repository/org.sakaiproject/jars/sakai-samigo-audio-2.5.4.jar
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error installing artifact: /apps/sakai/.maven/repository/org.sakaiproject/jars/sakai-samigo-audio-2.5.4.jar (No such file or directory)

It is trying to copy this into the .maven repository, which I don't have. I'm only using maven 2 so I only have the .m2/repository. The user I'm executing as doesn't have the ability to simply create this directory.

Why is it trying to install into a maven 1 repository?

Thanks
Gerwood



On 3/06/09 4:03 PM, "Karen Tsao" <ktsao at stanford.edu> wrote:

Hi Gerwood,

Can you do "mvn clean install" under sam/samigo-audio and see if it is built successfully? You should see sakai-samigo-audio-2.5.4.jar under m2-target.

Thanks,
Karen

On Tue, Jun 2, 2009 at 7:01 PM, Gerwood Stewart <gstewar8 at une.edu.au> wrote:
I have a build error appearing for 2.5.4

It is failing because it can't copy this jar.
[INFO] An Ant BuildException has occured: Warning: Could not find file /apps/sakai/src/sakai-2.5.4/sam/samigo-audio/m2-target/sakai-samigo-audio-2.5.4.jar to copy.

It doesn't look like this JAR is being build to begin with (the build is executing it though).

Has anyone encountered this problem?

Thanks
Gerwood

_______________________________________________
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/20090604/2321faf7/attachment.html 


More information about the sakai-dev mailing list