[Building Sakai] missing build artifact 'kernel-1.3.0-SNAPSHOT.pom' ?

Gast, Cynthia (cmw6s) cmw6s at eservices.virginia.edu
Fri Oct 26 14:48:13 PDT 2012


Hi Matthew,
I'm interested in learning how I would change lesson builder to use our 2.8.4 pure-poms.   I do not see any reference in our locally-modified pom files to a 2.9-SNAPSHOT purepoms that I could change to 2.8.4  We acquired a snapshot of the 1.4.x lessonbuilder source on Feb. 8, 2012.  We changed the top pom.xml 'parent' section from "<version>2.9-SNAPSHOT</version>" to instead use "<version>2.8.1.uva</version>" (our version for 2.8.1 source we build).   As a result, "2.9-SNAPSHOT" does not appear in any of our lessonbuilder pom files.  But the build does want to download the 'kernel-1.3.0-SNAPSHOT.pom', not sure why.

And I should add, Lessons tool seems to be working fine for us with 2.8.1 :-)  I don't want to give the impression there are any problems with it.  Its been in Production here since June.

Thanks for all the information,
Cindy @ UVa

________________________________
From: Matthew Jones [matthew at longsight.com]
Sent: Friday, October 26, 2012 4:23 PM
To: Gast, Cynthia (cmw6s)
Cc: sakai-dev at collab.sakaiproject.org; david.horwitz at uct.ac.za
Subject: Re: [Building Sakai] missing build artifact 'kernel-1.3.0-SNAPSHOT.pom' ?

You can change lesson builder to use your pure-poms (2.8.4). The problem is that if you don't modify the pom.xml it references a 2.9-SNAPSHOT purepoms which has reference to a 2.9 (1.3.0-SNAPSHOT) kernel which was old and would even be incorrect for your 2.8 instance.

We could possibly fix this and re-release but chances are Lessons would break anyway using a newer kernel with older sources.

The last kernel with the version 1.3.0-SNAPSHOT was back near revision 99838 over a year ago. You could deploy this to your local repository. Or even just take a new 1.3-SNAPSHOT kernel and change the version. Though neither of these would be great ideas.

https://source.sakaiproject.org/viewsvn?view=revision&revision=99838

On Fri, Oct 26, 2012 at 4:08 PM, Gast, Cynthia (cmw6s) <cmw6s at eservices.virginia.edu<mailto:cmw6s at eservices.virginia.edu>> wrote:
Thanks Matthew,

Unfortunately, we are well established now with our 2.8.1 Production code, and we build all source locally, including kernel (1.2.6) and pure-poms (2.8.4) -- both released versions at the time we were upgrading.  Updating to newer versions is probably not an option for us at this point in time, which also entails a fair amount of local changes for us in all areas of the code, and testing of all the changes.

We were working on our 2.8.1 upgrade earlier this year, Jan through June, and the 'kernel-1.3.0-SNAPSHOT.pom' artifact was available from the maven2-snapshots location in March 2012 when I first built lessonbuilder.

I may have misread the 2012-10-09 email from David, but it seemed he is willing to put snapshots back that anyone is still referencing.    Sure would be nice to get that artifact back, but if not possible, we can copy from our local maven repository to include what's now missing, and put it on our new build machine.

Thanks,
Cindy @ UVa


________________________________
From: Matthew Jones [matthew at longsight.com<mailto:matthew at longsight.com>]
Sent: Friday, October 26, 2012 3:29 PM
To: Gast, Cynthia (cmw6s)
Cc: sakai-dev at collab.sakaiproject.org<mailto:sakai-dev at collab.sakaiproject.org>; david.horwitz at uct.ac.za<mailto:david.horwitz at uct.ac.za>
Subject: Re: [Building Sakai] missing build artifact 'kernel-1.3.0-SNAPSHOT.pom' ?

I believe Matthew Buckett said he also fixed this with 2.8.7-SNAPSHOT pure-poms, if you wanted the latest 2.8 (1.2.x) kernel.

On Fri, Oct 26, 2012 at 3:27 PM, Matthew Jones <matthew at longsight.com<mailto:matthew at longsight.com>> wrote:
This is a really old kernel snapshot and was removed when versions got changed around sometime in December 2011.

You should update the parent of Lessons to use a released version of pure-poms (like 2.8.6) if you're building it from source which would use 1.2.8 kernel. Even if it wasn't old, 1.3 kernel is the wrong one for 2.8.

This was more of a problem with some people who were still using really early releases of pure-poms in 2.9 tools before we switched them all to master.

On Fri, Oct 26, 2012 at 3:21 PM, Gast, Cynthia (cmw6s) <cmw6s at eservices.virginia.edu<mailto:cmw6s at eservices.virginia.edu>> wrote:
I just ran across the following mail about the repo cleanup -- sorry we missed this.  David, can we please have kernel/1.3.0-SNAPSHOT/ added back in?  UVa is still running Sakai 2.8.1 which apparently has dependencies on it.

Thanks very much,
Cynthia Gast, UVa Sakai Team

----------------------------------------------

From: David Horwitz <david.horwitz <at> uct.ac.za<http://uct.ac.za>>
Subject: [Building Sakai] Snapshot repo cleanup<http://news.gmane.org/find-root.php?message_id=%3c5073CC62.9080006%40uct.ac.za%3e>
Newsgroups: gmane.comp.cms.sakai.devel<http://news.gmane.org/gmane.comp.cms.sakai.devel>
Date: 2012-10-09 07:04:02 GMT (2 weeks, 3 days, 12 hours and 10 minutes ago)

Hi All,

With the move of 2.9 and later artefacts to the sonotype repo there
where a lot of stale artefacts in the snapshot repo at:

http://source.sakaiproject.org/maven2-snapshots/org/sakaiproject/

As a result we where getting some problems with build pulling in these
artefacts. As a result we have cleaned up this folder. Jenkins is busy
rebuilding a whole bunch of 2.8.x and contrib projects that should
repopulate the repo with current projects. If you build depends on an
artefact thats no longer there please let me know.

Regards

David



________________________________
From: sakai-dev-bounces at collab.sakaiproject.org<mailto:sakai-dev-bounces at collab.sakaiproject.org> [sakai-dev-bounces at collab.sakaiproject.org<mailto:sakai-dev-bounces at collab.sakaiproject.org>] on behalf of Gast, Cynthia (cmw6s) [cmw6s at eservices.virginia.edu<mailto:cmw6s at eservices.virginia.edu>]
Sent: Friday, October 26, 2012 3:09 PM
To: sakai-dev at collab.sakaiproject.org<mailto:sakai-dev at collab.sakaiproject.org>
Subject: [Building Sakai] missing build artifact 'kernel-1.3.0-SNAPSHOT.pom' ?

Hello:
We just attempted a full build of our 2.8.1 source on a clean machine, and the Lessons tool build failed because "kernel-1.3.0-SNAPSHOT.pom" was not found to download to our maven repository.  i.e., "POM 'org.sakaiproject:kernel' not found in repository: Unable to download the artifact from any repository"

Is this artifact still available?  I don't see it here, for example: http://source.sakaiproject.org/maven2-snapshots/org/sakaiproject/kernel/


Here is the Lessons (lessonbuilder) build failure output, for "Building sakai-lessonbuildertool-tool":

[...]
Downloading: http://www2.caret.cam.ac.uk/maven2/org/sakaiproject/kernel/1.3.0-SNAPSHOT/kernel-1.3.0-SNAPSHOT.pom
[INFO] Unable to find resource 'org.sakaiproject:kernel:pom:1.3.0-SNAPSHOT' in repository CARET-Maven2 (http://www2.caret.cam.ac.uk/maven2)
Downloading: https://source.sakaiproject.org/maven2/org/sakaiproject/kernel/1.3.0-SNAPSHOT/kernel-1.3.0-SNAPSHOT.pom
[INFO] Unable to find resource 'org.sakaiproject:kernel:pom:1.3.0-SNAPSHOT' in repository Sakaiproject-Maven2 (https://source.sakaiproject.org/maven2)
Downloading: http://source.sakaiproject.org/maven2-snapshots/org/sakaiproject/kernel/1.3.0-SNAPSHOT/kernel-1.3.0-SNAPSHOT.pom
[INFO] Unable to find resource 'org.sakaiproject:kernel:pom:1.3.0-SNAPSHOT' in repository sakai-maven2-snapshots (http://source.sakaiproject.org/maven2-snapshots)
Downloading: https://oss.sonatype.org/content/repositories/snapshots/org/sakaiproject/kernel/1.3.0-SNAPSHOT/kernel-1.3.0-SNAPSHOT.pom
[INFO] Unable to find resource 'org.sakaiproject:kernel:pom:1.3.0-SNAPSHOT' in repository sonatype-nexus-snapshots (https://oss.sonatype.org/content/repositories/snapshots)
[WARNING] Skipping jpp repository file:///usr/share/maven2/repository in vanilla mode
Downloading: file:///usr/share/maven/repository/JPP/maven2/default_poms/org.sakaiproject-kernel.pom
[INFO] Unable to find resource 'org.sakaiproject:kernel:pom:1.3.0-SNAPSHOT' in repository __jpp_repo2__ (file:///usr/share/maven/repository)
Downloading: file:///usr/share/maven-poms/JPP/maven2/default_poms/org.sakaiproject-kernel.pom
[INFO] Unable to find resource 'org.sakaiproject:kernel:pom:1.3.0-SNAPSHOT' in repository __jpp_pom_repo__ (file:///usr/share/maven-poms)
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).


Project ID: org.sakaiproject:kernel

Reason: POM 'org.sakaiproject:kernel' not found in repository: Unable to download the artifact from any repository

  org.sakaiproject:kernel:pom:1.3.0-SNAPSHOT

from the specified remote repositories:
  default (http://repo1.maven.org/maven2),
  sakai-maven2-snapshots (http://source.sakaiproject.org/maven2-snapshots),
  CARET-Maven2 (http://www2.caret.cam.ac.uk/maven2),
  central (http://repo1.maven.org/maven2),
  __jpp_pom_repo__ (file:///usr/share/maven-poms),
  sonatype-nexus-snapshots (https://oss.sonatype.org/content/repositories/snapshots),
  __jpp_repo2__ (file:///usr/share/maven/repository),
  Sakaiproject-Maven2 (https://source.sakaiproject.org/maven2),
  __jpp_repo__ (file:///usr/share/maven2/repository),
  sakai-maven2 (http://source.sakaiproject.org/maven2)

 for project org.sakaiproject:kernel


Thanks for any feedback,
Cynthia Gast, UVa


_______________________________________________
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"



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20121026/97cb0a05/attachment.html 


More information about the sakai-dev mailing list