[cle-release-team] setup of a test project?
Anthony Whyte
arwhyte at umich.edu
Fri Sep 23 11:44:49 PDT 2011
Nice.
http://source.sakaiproject.org/maven2/org/sakaiproject/sample/sample-release/
Now add an assembly and include it in the release. It's mostly a boilerplate operation.
http://maven.apache.org/plugins/maven-assembly-plugin/
Example (among many): https://source.sakaiproject.org/svn/polls/trunk/assembly/
1. Create sample-release/trunk/assembly
2. Create assembly pom: name it: <artifactId>sample-release-assembly</artifactId>
Include dependencies destined for /components, /shared/lib and /webapps. Note the <scope> and the <type> for each. Cut-and-past <build> from polls assembly pom.
2. Create a deploy.xml file that maps the target locations for each dependency. Note the path: sample-release/trunk/assembly/src/main/assembly/deploy.xml.
Example: https://source.sakaiproject.org/svn/polls/trunk/assembly/src/main/assembly/deploy.xml
3. Make sure you add the new module to your base pom.
<module>assembly</assembly>
4. Test: mvn assembly:single (mvn assembly:assembly has been deprecated).
Crack open the zip and make sure all dependencies are included and in the right folders.
5. Perform a full build
6. Do a new release.
Cheers,
Anth
On Sep 23, 2011, at 2:12 PM, Maurer, Christopher Wayne wrote:
> Looks like it boiled down to missing a server setting for <id>sakai-site</id>
> Then, it apparently just hangs at the point of trying to connect to upload the site.
>
> Chris
>
> From: Anthony Whyte <arwhyte at umich.edu>
> Date: Fri, 23 Sep 2011 14:07:04 -0400
> To: Chris Maurer <chmaurer at iupui.edu>
> Cc: "cle-release-team at collab.sakaiproject.org" <cle-release-team at collab.sakaiproject.org>
> Subject: Re: [cle-release-team] setup of a test project?
>
> What was the problem that prevented a successful release earlier?
>
> Anth
>
> On Sep 23, 2011, at 1:24 PM, Maurer, Christopher Wayne wrote:
>
>> FYI, I did finally get a project to release from both of my computers.
>>
>> Chris
>>
>> From: Chris Maurer <chmaurer at iupui.edu>
>> Date: Thu, 22 Sep 2011 15:53:36 -0400
>> To: Chris Maurer <chmaurer at iupui.edu>, Anthony Whyte <arwhyte at umich.edu>
>> Cc: "cle-release-team at collab.sakaiproject.org" <cle-release-team at collab.sakaiproject.org>
>> Subject: Re: [cle-release-team] setup of a test project?
>>
>> Ah, found it here:
>> https://source/sakaiproject.org/contrib/whyte/scripts/sakai_release/sakaitagbuilder-2.8.bash
>>
>> Chris
>>
>>
>> From: Chris Maurer <chmaurer at iupui.edu>
>> Date: Thu, 22 Sep 2011 19:41:10 +0000
>> To: Anthony Whyte <arwhyte at umich.edu>
>> Cc: "cle-release-team at collab.sakaiproject.org" <cle-release-team at collab.sakaiproject.org>
>> Subject: Re: [cle-release-team] setup of a test project?
>>
>> I started to get a project setup here:
>> https://source.sakaiproject.org/svn//msub/iu.edu/sample-release/trunk
>>
>> I just used the maven archetype to generate it and am trying to tweak the poms accordingly.
>> I think what we may also be missing is your script to create the .x branch? Did that exist in svn somewhere?
>>
>> Chris
>>
>> From: Anthony Whyte <arwhyte at umich.edu>
>> Date: Thu, 22 Sep 2011 14:49:02 -0400
>> To: Chris Maurer <chmaurer at iupui.edu>
>> Cc: "cle-release-team at collab.sakaiproject.org" <cle-release-team at collab.sakaiproject.org>
>> Subject: Re: [cle-release-team] setup of a test project?
>>
>> It is high on my list of priorities but my new OAE duties have forced a slowdown for which I apologize. I should have time tomorrow.
>>
>> Anth
>>
>>
>>
>> On Sep 22, 2011, at 2:44 PM, Maurer, Christopher Wayne wrote:
>>
>>> Anthony,
>>> Last week when you were here at IU you mentioned setting up a test project so we could practice releases (or troubleshoot any issues)…have you had a change to get that going? I just want to make sure that I can get all the way through the process so I can actually do a release of something!
>>> Others may have the same concern as well.
>>>
>>> Chris
>>> _______________________________________________
>>> cle-release-team mailing list
>>> cle-release-team at collab.sakaiproject.org
>>> http://collab.sakaiproject.org/mailman/listinfo/cle-release-team
>>
>> _______________________________________________ cle-release-team mailing list cle-release-team at collab.sakaiproject.org http://collab.sakaiproject.org/mailman/listinfo/cle-release-team
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/cle-release-team/attachments/20110923/155ec357/attachment-0006.html
More information about the cle-release-team
mailing list