[Building Sakai] Sakai 2.6 version in pom.xml

Anthony Whyte arwhyte at umich.edu
Thu Apr 15 05:31:03 PDT 2010


Yzelle--I want to echo Miguel's recommendation.  sakai-2.6.0-rc06 is a release candidate that was created on 30 June 2009.  Since then the Sakai Community has released

sakai-2.6.0 23 Jul 2009
sakai-2.6.1 15 Oct 2009
sakai-2.6.2 29 Jan 2010

If you choose 2.6.0-rc06 or 2.6.0 you forgo taking advantage of the Community's work in addressing over 300 issues. 

2.6.1 fixes (n=224) http://jira.sakaiproject.org/browse/SAK/fixforversion/11484
2.6.2 fixes (n=80)  http://jira.sakaiproject.org/browse/SAK/fixforversion/11621

Using the 2.6.x maintenance branch is also an option.  It is from that branch that maintenance releases such as 2.6.1 and 2.6.2 are generated.

Cheers,

Anthony




On Apr 15, 2010, at 2:51 AM, Miguel Carro Pellicer wrote:

> Of course you can use 2.6.x, but this is a maintenance branch.
> 
> It isn't the same as 2.6.0-rc06 that is an old tag and a release candidate version.
> 
> Depend of your purposes you can install the 2.6.X branch or the latest release tag 2.6.2....as you prefer.
> 
> Regards, Miguel.
> 
> El 15/04/2010 8:46, 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.
>> 
>> 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
>>  
>> 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
>>  
>>  
>>  
>> _______________________________________________
>> 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"
>>  
>> -- 
>> 
>> <Mail Attachment.jpeg>
>>  
>> Miguel Carro Pellicer
>> mcarro at pentec.es
>> +34 - 96 393 74 33 ext. 32
>> 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.
>>  
>>  
> 
> -- 
> <image002.jpg>
>  
> Miguel Carro Pellicer
> mcarro at pentec.es
> +34 - 96 393 74 33 ext. 32
> 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.
>  
>  
> _______________________________________________
> 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/20100415/5faa1d45/attachment.html 


More information about the sakai-dev mailing list