Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

2. Confirm that taglib profile is included.

Code Block
xml
xml

<profile>
       	<id>taglib</id>
          	  <modules>
		
                <module>gradebook/app/ui</module>
		
                <module>help/help-tool</module>
		 <module>jsf/widgets</module> 		 <module>mailtool/mailtool</module>
		             <!-- <module>jsf/jsf-widgets</module> -->
                <module>metaobj/metaobj-util/tool-lib</module>
 		 <module>msgcntr/messageforums-app</module> 		 <module>osp/common/tool-lib</module>
		 <module>osp/glossary             <!-- <module>msgcntr/messageforums-app</module> -->
                <module>osp/common/tool-lib</module>
		 <module>osp/jsf/widgets</module>
		                <module>osp/presentationglossary/tool-lib</module>
		 <module>podcasts/podcasts-app</module>
		 <module>postem/postem-app</module>
		 <module>profile/profile-app</module>
		 <module>roster/roster-app</module>
		 <module>rwiki/rwiki-tool/tool</module>
		 <module>sam/samigo-app</module>
		 <module>sections/sections-app</module>
		 <module>sections/sections-app-util</module>
		 <module>syllabus/syllabus-app</module>

                <module>osp/jsf/widgets</module>
                <module>osp/presentation/tool-lib</module>
                <module>podcasts/podcasts-app</module>
                <module>postem/postem-app</module>
                <!-- <module>profile/profile-app</module> -->
     	</modules> <profile>
Copy sakaiartifactgenerator.sh to local 2.7.1 branch checkout folder and run
No Format

sh sakaiartifactgenerator.sh 2.7.1 storepass keystore

The artifactgenerator script performs the following steps

1. clean out previous builds
2. clean out target, m2-target, bin
3. clean out /tmp/maven2

4. updates <version> (M2 to 2.7.1) in
all pom.xml
all .classpath
all runconversion.sh, also content-runconversion.sh

The script pauses to allow the changes to be committed. Once the commits are completed, update the .externals file (all projects) to r52308 in preparation for cutting the final release tag.

No Format

sed -e "s/ -r [0-9]*/ -r 52308/" <.externals >.externals.tmp
cp .externals.tmp .externals
rm -f .externals.tmp

svn propset -F .externals svn:externals .
svn propget svn:externals
svn commit -m "tag prep for next release"

Resume script run.

5. tar up the source code (samigo-audio jar is not signed)

The script then pauses to allow a manual modification of samigo-audio pom.xml to uncomment the jar sign execution goal. Uncomment the maven-jar-plugin. Comment out <keystore>, <alias> and <storepass>.

WARNING DO NOT COMMIT this change to the samigo-audio pom.xml file.

No Format


    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>

        <artifactId>maven-jar-plugin</artifactId>
        <executions>
           <execution>
              <goals>
                 <goal>sign</goal>
              </goals>
           </execution>
        </executions>
        <configuration>
<!--
           <keystore>/somepath/your.keystore</keystore>
           <alias>youralias</alias>
           <storepass>yourpassword</storepass>
-->
           <verify>true</verify>
        </configuration>
      </plugin>
    </plugins>
          <module>roster/roster-app</module>
                <module>rwiki/rwiki-tool/tool</module>
                <!-- <module>sam/samigo-app</module> -->
                <module>sections/sections-app</module>
                <module>sections/sections-app-util</module>
                <module>syllabus/syllabus-app</module>
            </modules>
</profile>
Copy sakaiartifactgenerator.sh to local 2.7.1 branch checkout folder and run
No Format

sh sakaiartifactgenerator.sh 2.7.1 storepass keystore

The artifactgenerator script performs the following steps

1. clean out previous builds
2. clean out target, m2-target, bin
3. clean out /tmp/maven2

4. updates <version> (M2 to 2.7.1) in
all pom.xml
all .classpath
all runconversion.sh, also content-runconversion.sh

The script pauses to allow the changes to be committed. Once the commits are completed, update the .externals file (all projects) to r52308 in preparation for cutting the final release tag.

No Format

sed -e "s/ -r [0-9]*/ -r 52308/" <.externals >.externals.tmp
cp .externals.tmp .externals
rm -f .externals.tmp

svn propset -F .externals svn:externals .
svn propget svn:externals
svn commit -m "tag prep for next release"

Resume script run.

5. tar up the source code

6. perform the following mvn actions:

...

WARNING do not issue clean and install goals or local repo will get wiped prematurely (Sakai maven2 repo has yet to be updated).to be updated).

No Format

cd master
mvn install
cd ..
mvn -o -Dmaven.test.skip=true sakai:deploy

1.1 Fix bin artifacts

The ant task fails to create the archives correctly, including a parent folder. Fix as follows:

No Format
cdtar master
mvn install
cd ..
mvn -o -Dmaven.test.skip=true sakai:deploy-czvf sakai-bin-2.7.1.tgz ECLv2.text common components licenses server shared webapps

2. Run the demo artifact.

...

No Format
bash sakaitagbuilder-2.67.bash [JIRA ISSUE] sakai-2.7.1 tags 2.7.1

...