[Building Sakai] Sakai 2.6 version in pom.xml

Yzelle, Sonette SYzelle at unisa.ac.za
Wed Apr 14 23:46:40 PDT 2010


This message (and attachments) is subject to restrictions and a disclaimer. Please refer to http://www.unisa.ac.za/disclaimer for full details.
________________________________

Hi Miquel,

Thank you for the reply.

What tag would you suggest?  Normally someone else does the upgrade at UNISA but I was asked to do it this time and they suggested that tag.
Maybe you can explain to me why we cannot just use the sakai_2.6.x branch?

Sonette


Sonette Yzelle
Analyst Developer
ICT
UNISA
South Africa
email: syzelle at unisa.ac.za<mailto:syzelle at unisa.ac.za>

From: Miguel Carro Pellicer [mailto:farreri.sakai at gmail.com]
Sent: Thursday, April 15, 2010 8:41 AM
To: Yzelle, Sonette
Cc: sakai-dev at collab.sakaiproject.org
Subject: Re: [Building Sakai] Sakai 2.6 version in pom.xml

HI!

Artifacts have changed version from 2.6.0RC1-SNAPSHOT to 2.6-SNAPSHOT in Sakai 2.6.X branch, you have to use the same version at all dependencies.

Why did you choose 2.6.0-rc06? it isn't a release tag.

Regards, Miguel.



El 15/04/2010 8:20, Yzelle, Sonette escribió:
This message (and attachments) is subject to restrictions and a disclaimer. Please refer to http://www.unisa.ac.za/disclaimer for full details.
________________________________

Good day,

We are busy upgrading to Sakai 2.6.

What I've done so far is:

we chose a tag (Sakai_2-6-0-rc06) and copied the svn:externals

In the svn:externals I updated all the urls to the urls as in svn:externals of sakai_2-6-x branch but keeping the version that must be checked out.

Now all the poms of the checkout projects has the version:  2.6.ORC1-SNAPSHOT

The pom.xml in the master project has the following version: 2.6-SNAPSHOT

The pom.xml in the main pom.xml (directly under sakai_2-6-x) is also 2.6-SNAPSHOT.

I am getting errors when trying to build "unable to download artifact from any repository" See full error below.
Is it because of the versions tags I am using? Must they all be the same?

Please help.
Sonette


syzelle at pc-2379252:/data/myunisa26/workspace26/sakai_2-6-x$ mvn clean install sakai:build [INFO] Scanning for projects...

[INFO] ------------------------------------------------------------------------

[ERROR] FATAL ERROR

[INFO] ------------------------------------------------------------------------

[INFO] Failed to resolve artifact.



GroupId: org.sakaiproject

ArtifactId: base

Version: 2.6.x-SNAPSHOT



Reason: Unable to download the artifact from any repository



  org.sakaiproject:base:pom:2.6.x-SNAPSHOT



from the specified remote repositories:

  central (http://repo1.maven.org/maven2)





[INFO] ------------------------------------------------------------------------

[INFO] Trace

org.apache.maven.reactor.MavenExecutionException: Cannot find parent: org.sakaiproject:base for project: org.sakaiproject:kernel-deploy:pom:2.6.0 for project org.sakaiproject:kernel-deploy:pom:2.6.0

      at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:376)

      at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:289)

      at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:126)

      at org.apache.maven.cli.MavenCli.main(MavenCli.java:282)

      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

      at java.lang.reflect.Method.invoke(Method.java:585)

      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.project.ProjectBuildingException: Cannot find parent: org.sakaiproject:base for project: org.sakaiproject:kernel-deploy:pom:2.6.0 for project org.sakaiproject:kernel-deploy:pom:2.6.0

      at org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1259)

      at org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(DefaultMavenProjectBuilder.java:745)

      at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileInternal(DefaultMavenProjectBuilder.java:476)

      at org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:197)

      at org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:548)

      at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:458)

      at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:524)

      at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:362)

      ... 11 more

Caused by: org.apache.maven.project.ProjectBuildingException: POM 'org.sakaiproject:base' not found in repository: Unable to download the artifact from any repository

Sonette Yzelle
Analyst Developer
ICT
UNISA
South Africa
email: syzelle at unisa.ac.za<mailto:syzelle at unisa.ac.za>






_______________________________________________

sakai-dev mailing list

sakai-dev at collab.sakaiproject.org<mailto: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<mailto:sakai-dev-unsubscribe at collab.sakaiproject.org> with a subject of "unsubscribe"

--

[cid:image001.jpg at 01CADC78.2AE24AA0]<http://www.samoo.es/>
 <http://www.samoo.es/>
Miguel Carro Pellicer<http://www.samoo.es/>
mcarro at pentec.es<mailto:mcarro at pentec.es>
+34 - 96 393 74 33 ext. 32
www.samoo.es<http://www.samoo.es>

Este  correo  y  sus archivos asociados son privados y confidenciales y va dirigido  exclusivamente  a su destinatario. Si recibe este correo sin ser el  destinatario del mismo, le rogamos proceda a su eliminación y lo ponga en  conocimiento del emisor. La difusión por cualquier medio del contenido de  este  correo podría ser sancionada conforme a lo previsto en las leyes españolas, Ley Orgánica 15/1999 de Protección de Datos de Carácter Personal.  No  se autoriza la utilización con fines comerciales o para su incorporación a ficheros automatizados de las direcciones del emisor o del destinatario."

This mail and its attached files are confidential and are only and exclusively intended to their addressee. In case you may receive this mail not being its addressee, we beg you to let us know the error by reply and to proceed to destroy it. The circulation by any mean of this mail could be penalised in accordance with the Spanish legislation. Is not allowed the use of both, the transmitter and the addressee's, address with a commercial aim, or in order to be incorporated to automated data process or to any kind of files.

P Antes de imprimir este correo electrónico piense bien si es necesario hacerlo. El medioambiente es cosa de todos.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20100415/bc02aaf1/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 3022 bytes
Desc: image001.jpg
Url : http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20100415/bc02aaf1/attachment.jpg 


More information about the sakai-dev mailing list