You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@syncope.apache.org by il...@apache.org on 2013/11/25 10:28:28 UTC
svn commit: r1545187 - in /syncope/trunk: ./ console/pom.xml core/pom.xml
pom.xml src/site/site.xml src/site/xdoc/building.xml
src/site/xdoc/integration.xml src/site/xdoc/release-process.xml
src/site/xdoc/source-repository.xml
Author: ilgrosso
Date: Mon Nov 25 09:28:27 2013
New Revision: 1545187
URL: http://svn.apache.org/r1545187
Log:
[SYNCOPE-448] Merge from 1_1_X
Added:
syncope/trunk/src/site/xdoc/building.xml
- copied unchanged from r1545186, syncope/branches/1_1_X/src/site/xdoc/building.xml
syncope/trunk/src/site/xdoc/integration.xml
- copied unchanged from r1545186, syncope/branches/1_1_X/src/site/xdoc/integration.xml
syncope/trunk/src/site/xdoc/source-repository.xml
- copied unchanged from r1545186, syncope/branches/1_1_X/src/site/xdoc/source-repository.xml
Modified:
syncope/trunk/ (props changed)
syncope/trunk/console/pom.xml
syncope/trunk/core/pom.xml
syncope/trunk/pom.xml
syncope/trunk/src/site/site.xml
syncope/trunk/src/site/xdoc/release-process.xml
Propchange: syncope/trunk/
------------------------------------------------------------------------------
Merged /syncope/branches/1_1_X:r1544554-1545186
Modified: syncope/trunk/console/pom.xml
URL: http://svn.apache.org/viewvc/syncope/trunk/console/pom.xml?rev=1545187&r1=1545186&r2=1545187&view=diff
==============================================================================
--- syncope/trunk/console/pom.xml (original)
+++ syncope/trunk/console/pom.xml Mon Nov 25 09:28:27 2013
@@ -242,12 +242,12 @@ under the License.
<phase>pre-integration-test</phase>
<configuration>
<target>
- <unzip src="${basedir}/../core/target/syncope.war" dest="${cargo.run.dir}" />
- <copy file="${project.build.directory}/test-classes/db.jsp" todir="${cargo.run.dir}" />
+ <unzip src="${basedir}/../core/target/syncope.war" dest="${cargo.run.dir}"/>
+ <copy file="${project.build.directory}/test-classes/db.jsp" todir="${cargo.run.dir}"/>
<copy todir="${cargo.run.dir}/WEB-INF/classes" includeEmptyDirs="false">
<fileset dir="${project.build.directory}/test-classes">
- <exclude name="**/*.class" />
- <exclude name="restClientContext.xml" />
+ <exclude name="**/*.class"/>
+ <exclude name="restClientContext.xml"/>
</fileset>
</copy>
</target>
@@ -261,7 +261,7 @@ under the License.
<phase>pre-integration-test</phase>
<configuration>
<target>
- <copy file="${project.build.directory}/test-classes/test.csv" todir="${test.csvdir.path}" overwrite="true" />
+ <copy file="${project.build.directory}/test-classes/test.csv" todir="${test.csvdir.path}" overwrite="true"/>
</target>
</configuration>
<goals>
@@ -293,8 +293,6 @@ under the License.
<cargo.servlet.port>${cargo.servlet.port}</cargo.servlet.port>
<cargo.tomcat.ajp.port>${cargo.tomcat.ajp.port}</cargo.tomcat.ajp.port>
<cargo.rmi.port>${cargo.rmi.port}</cargo.rmi.port>
-
- <!--<cargo.jvmargs>-Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n</cargo.jvmargs>-->
<cargo.jvmargs>-noverify ${javaagent} -Drebel.spring_plugin=true -XX:+CMSClassUnloadingEnabled -XX:+UseConcMarkSweepGC -XX:MaxPermSize=256m</cargo.jvmargs>
</properties>
<configfiles>
@@ -429,7 +427,7 @@ under the License.
<profile>
<id>skipTests</id>
<properties>
- <javaagent />
+ <javaagent/>
</properties>
<build>
@@ -499,14 +497,15 @@ under the License.
</profile>
<profile>
- <id>dev</id>
+ <id>debug</id>
+
<properties>
<skipTests>true</skipTests>
- <javaagent />
</properties>
+
<build>
<defaultGoal>clean verify cargo:run</defaultGoal>
-
+
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
@@ -515,16 +514,42 @@ under the License.
<webXml>${project.build.directory}/test-classes/web.xml</webXml>
</configuration>
</plugin>
+
+ <plugin>
+ <groupId>org.codehaus.cargo</groupId>
+ <artifactId>cargo-maven2-plugin</artifactId>
+ <inherited>true</inherited>
+ <configuration>
+ <configuration>
+ <properties>
+ <cargo.jvmargs>-Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n
+ -noverify -XX:+CMSClassUnloadingEnabled -XX:+UseConcMarkSweepGC -XX:MaxPermSize=256m</cargo.jvmargs>
+ </properties>
+ </configuration>
+ </configuration>
+ <executions>
+ <execution>
+ <id>start-container</id>
+ <phase>none</phase>
+ </execution>
+ <execution>
+ <id>stop-container</id>
+ <phase>none</phase>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</build>
</profile>
<profile>
<id>jrebel</id>
+
<properties>
<skipTests>true</skipTests>
<javaagent>-javaagent:${env.REBEL_HOME}/jrebel.jar</javaagent>
</properties>
+
<build>
<defaultGoal>clean verify cargo:run</defaultGoal>
@@ -557,9 +582,11 @@ under the License.
<profile>
<id>selenium</id>
+
<properties>
- <javaagent />
+ <javaagent/>
</properties>
+
<build>
<defaultGoal>clean verify</defaultGoal>
<plugins>
Modified: syncope/trunk/core/pom.xml
URL: http://svn.apache.org/viewvc/syncope/trunk/core/pom.xml?rev=1545187&r1=1545186&r2=1545187&view=diff
==============================================================================
--- syncope/trunk/core/pom.xml (original)
+++ syncope/trunk/core/pom.xml Mon Nov 25 09:28:27 2013
@@ -413,15 +413,15 @@ under the License.
<phase>pre-integration-test</phase>
<configuration>
<target>
- <unzip src="${project.build.directory}/${project.build.finalName}.war" dest="${cargo.run.dir}" />
+ <unzip src="${project.build.directory}/${project.build.finalName}.war" dest="${cargo.run.dir}"/>
<copy file="${project.build.directory}/test-classes/org/apache/syncope/core/sync/TestSyncActions.class"
- todir="${cargo.run.dir}/WEB-INF/classes/org/apache/syncope/core/sync" />
+ todir="${cargo.run.dir}/WEB-INF/classes/org/apache/syncope/core/sync"/>
<copy file="${project.build.directory}/test-classes/org/apache/syncope/core/sync/TestSyncRule.class"
- todir="${cargo.run.dir}/WEB-INF/classes/org/apache/syncope/core/sync" />
+ todir="${cargo.run.dir}/WEB-INF/classes/org/apache/syncope/core/sync"/>
<copy file="${project.build.directory}/test-classes/org/apache/syncope/core/rest/data/DefaultAttributableTransformer.class"
todir="${cargo.run.dir}/WEB-INF/classes/org/apache/syncope/core/rest/data"
overwrite="true"/>
- <copy file="${project.build.directory}/test-classes/db.jsp" todir="${cargo.run.dir}" />
+ <copy file="${project.build.directory}/test-classes/db.jsp" todir="${cargo.run.dir}"/>
<copy todir="${cargo.run.dir}/WEB-INF/classes" includeEmptyDirs="false">
<fileset dir="${project.build.directory}/test-classes">
<exclude name="**/*.class" />
@@ -438,7 +438,8 @@ under the License.
<phase>pre-integration-test</phase>
<configuration>
<target>
- <copy file="${project.build.directory}/test-classes/test.csv" todir="${test.csvdir.path}" overwrite="true" />
+ <copy file="${project.build.directory}/test-classes/test.csv" todir="${test.csvdir.path}"
+ overwrite="true"/>
</target>
</configuration>
<goals>
@@ -913,7 +914,8 @@ under the License.
<phase>process-test-resources</phase>
<configuration>
<target>
- <copy tofile="${project.build.directory}/classes/META-INF/orm.xml" file="${basedir}/src/main/resources/META-INF/orm.xml.oracle" overwrite="true" />
+ <copy tofile="${project.build.directory}/classes/META-INF/orm.xml"
+ file="${basedir}/src/main/resources/META-INF/orm.xml.oracle" overwrite="true"/>
</target>
</configuration>
<goals>
@@ -968,7 +970,8 @@ under the License.
<phase>process-test-resources</phase>
<configuration>
<target>
- <copy tofile="${project.build.directory}/classes/META-INF/orm.xml" file="${basedir}/src/main/resources/META-INF/orm.xml.sqlserver" overwrite="true" />
+ <copy tofile="${project.build.directory}/classes/META-INF/orm.xml"
+ file="${basedir}/src/main/resources/META-INF/orm.xml.sqlserver" overwrite="true"/>
</target>
</configuration>
<goals>
@@ -1151,9 +1154,11 @@ under the License.
<phase>pre-integration-test</phase>
<configuration>
<target>
- <unzip src="${settings.localRepository}/org/apache/syncope/syncope-build-tools/${project.version}/syncope-build-tools-${project.version}.war" dest="${project.build.directory}/syncope-build-tools-test" />
- <copy file="${project.build.outputDirectory}/META-INF/MANIFEST.MF" todir="${project.build.directory}/syncope-build-tools-test/META-INF" overwrite="true" />
- <copy file="${settings.localRepository}/com/h2database/h2/${h2.version}/h2-${h2.version}.jar" todir="${project.build.directory}/syncope-build-tools-test/WEB-INF/lib" overwrite="true" />
+ <unzip src="${settings.localRepository}/org/apache/syncope/syncope-build-tools/${project.version}/syncope-build-tools-${project.version}.war" dest="${project.build.directory}/syncope-build-tools-test"/>
+ <copy file="${project.build.outputDirectory}/META-INF/MANIFEST.MF"
+ todir="${project.build.directory}/syncope-build-tools-test/META-INF" overwrite="true"/>
+ <copy file="${settings.localRepository}/com/h2database/h2/${h2.version}/h2-${h2.version}.jar"
+ todir="${project.build.directory}/syncope-build-tools-test/WEB-INF/lib" overwrite="true"/>
</target>
</configuration>
<goals>
@@ -1294,12 +1299,14 @@ under the License.
<configuration>
<target>
<!-- Needed because WebLogic has problems in running ApacheDS from the WAR archive -->
- <unzip src="${settings.localRepository}/org/apache/syncope/syncope-build-tools/${project.version}/syncope-build-tools-${project.version}.war" dest="${project.build.directory}/syncope-build-tools-test" />
+ <unzip src="${settings.localRepository}/org/apache/syncope/syncope-build-tools/${project.version}/syncope-build-tools-${project.version}.war" dest="${project.build.directory}/syncope-build-tools-test"/>
<!-- Needed because WebLogic is installed (H2 dependency cannot be injected via cargo) -->
- <copy file="${settings.localRepository}/com/h2database/h2/${h2.version}/h2-${h2.version}.jar" todir="${project.build.directory}/syncope-build-tools-test/WEB-INF/lib" overwrite="true" />
+ <copy file="${settings.localRepository}/com/h2database/h2/${h2.version}/h2-${h2.version}.jar"
+ todir="${project.build.directory}/syncope-build-tools-test/WEB-INF/lib" overwrite="true"/>
<!-- Needed because WebLogic deploys first core then build-tools: this JSP will just ask core to
reload all connectors -->
- <copy file="${project.build.directory}/test-classes/conninstance-reload.jsp" todir="${project.build.directory}/syncope-build-tools-test" overwrite="true" />
+ <copy file="${project.build.directory}/test-classes/conninstance-reload.jsp"
+ todir="${project.build.directory}/syncope-build-tools-test" overwrite="true"/>
</target>
</configuration>
<goals>
Modified: syncope/trunk/pom.xml
URL: http://svn.apache.org/viewvc/syncope/trunk/pom.xml?rev=1545187&r1=1545186&r2=1545187&view=diff
==============================================================================
--- syncope/trunk/pom.xml (original)
+++ syncope/trunk/pom.xml Mon Nov 25 09:28:27 2013
@@ -1310,8 +1310,6 @@ under the License.
<report>index</report>
<report>mailing-list</report>
<report>project-team</report>
- <report>scm</report>
- <report>cim</report>
<report>issue-tracking</report>
<report>license</report>
</reports>
Modified: syncope/trunk/src/site/site.xml
URL: http://svn.apache.org/viewvc/syncope/trunk/src/site/site.xml?rev=1545187&r1=1545186&r2=1545187&view=diff
==============================================================================
--- syncope/trunk/src/site/site.xml (original)
+++ syncope/trunk/src/site/site.xml Mon Nov 25 09:28:27 2013
@@ -76,10 +76,11 @@ under the License.
</menu>
<menu name="Development">
+ <item name="How to contribute?" href="contributing.html"/>
<item name="Source Repository" href="source-repository.html"/>
<item name="Continuous Integration" href="integration.html"/>
<item name="Issue Tracking" href="issue-tracking.html"/>
- <item name="How to contribute?" href="contributing.html"/>
+ <item name="Building" href="building.html"/>
<item name="Release Process" href="release-process.html"/>
</menu>
Modified: syncope/trunk/src/site/xdoc/release-process.xml
URL: http://svn.apache.org/viewvc/syncope/trunk/src/site/xdoc/release-process.xml?rev=1545187&r1=1545186&r2=1545187&view=diff
==============================================================================
--- syncope/trunk/src/site/xdoc/release-process.xml (original)
+++ syncope/trunk/src/site/xdoc/release-process.xml Mon Nov 25 09:28:27 2013
@@ -49,14 +49,14 @@ under the License.
<subsection name="GPG">
<p>Install/Configure GPG - The artifacts that are deployed to the ASF central repository need to
- be signed. To do this you will need to have a public and private keypair. There is a very good
- <a href="http://www.sonatype.com/people/2010/01/how-to-generate-pgp-signatures-with-maven/">guide</a> that
- will walk you though this.</p>
+ be signed. To do this you will need to have a public and private keypair. There is a very good
+ <a href="http://www.sonatype.com/people/2010/01/how-to-generate-pgp-signatures-with-maven/">guide</a> that
+ will walk you though this.</p>
</subsection>
<subsection name="Apache Maven">
<p>Install Apache Maven 3.0.3 or higher; we strongly encourage our committers to install
- <a href="http://maven.apache.org/download.html">Apache Maven 3.0.5</a>.
+ <a href="http://maven.apache.org/download.html">Apache Maven 3.1.1</a>.
</p>
<p>Maven allows you to encrypt your servers' passwords. We highly recommend that you follow this
@@ -109,81 +109,13 @@ under the License.
<section name="Release steps">
- <subsection name="Verify DBMS and JEE containers">
+ <subsection name="Verify DBMSes and JEE containers">
<p>
- This is an optional step.<br/>
- These verifications take some time and have quite strong environment requirements. However, it is of fundamental
- importance to go through these at least once for every major release.
- </p>
- <p>
- All verifications take place in the <tt>core</tt> submodule.
- <ol>
- <li>DBMS
- <ul>
- <li>PostgreSQL
- <ul>
- <li>configure <tt>src/test/resources/postgres/persistence.properties</tt></li>
- <li>
-<source>$ mvn -P postgres-it</source>
- </li>
- </ul>
- </li>
- <li>MySQL
- <ul>
- <li>configure <tt>src/test/resources/mysql/persistence.properties</tt></li>
- <li>
-<source>$ mvn -P mysql-it</source>
- </li>
- </ul>
- </li>
- <li>Oracle database
- <ul>
- <li>configure <tt>src/test/resources/oracle/persistence.properties</tt></li>
- <li>
-<source>$ mvn -P oracle-it</source>
- </li>
- </ul>
- </li>
- <li>MS SQL Server
- <ul>
- <li>configure <tt>src/test/resources/sqlserver/persistence.properties</tt></li>
- <li>
-<source>$ mvn -P sqlserver-it</source>
- </li>
- </ul>
- </li>
- </ul>
- </li>
- <li>JEE containers
- <ul>
- <li>Glassfish
- <ul>
- <li>
-<source>$ mvn -P glassfish-it</source>
- </li>
- </ul>
- </li>
- <li>JBoss AS
- <ul>
- <li>
-<source>$ mvn -P jboss-it</source>
- </li>
- </ul>
- </li>
- <li>Oracle WebLogic
- <ul>
- <li>Put local WebLogic installation under <tt>/opt/weblogic-12.1.1</tt> or
-pass <tt>-Dweblogic.home=...</tt> to Maven
- </li>
- <li>
-<source>$ mvn -P weblogic-it</source>
- </li>
- </ul>
- </li>
- </ul>
- </li>
- </ol>
+ This is an optional step.<br/>
+ These verifications take some time and have quite strong environment requirements. However, it is of fundamental
+ importance to go through these at least once for every major release.
</p>
+ <p>For more information please take a look at <a href="building.html#core">build instructions</a>.</p>
</subsection>
<subsection name="Prepare the source for release">
@@ -193,8 +125,8 @@ pass <tt>-Dweblogic.home=...</tt> to Mav
<b>Resolved</b> issues to the <b>Closed</b> state.
</li>
<li>
- Update the <tt>CHANGES</tt> file, in a SVN working copy <u>of the branch under release</u> (currently 1_0_X
- or 1_1_X), based on the text release reports from JIRA.
+ Update the <code>CHANGES</code> file, in a SVN working copy <u>of the branch under release</u> (currently
+ 1_0_X or 1_1_X), based on the text release reports from JIRA.
</li>
<li>
Commit any changes back to SVN:
@@ -222,7 +154,7 @@ pass <tt>-Dweblogic.home=...</tt> to Mav
<subsection name="Prepare the release">
<ol>
<li>
- Do a dry run of the <tt>release:prepare</tt> step.
+ Do a dry run of the <code>release:prepare</code> step.
<source>mvn -P apache-release release:prepare -DdryRun=true</source>
The dry run will not commit any changes back to SVN and gives you the opportunity to verify that the
@@ -230,8 +162,8 @@ pass <tt>-Dweblogic.home=...</tt> to Mav
<p>
<em>If you cancel a
- <tt>release:prepare</tt> before it updates the pom.xml versions, then use the
- <tt>release:clean</tt> goal to just remove the extra files that were created.
+ <code>release:prepare</code> before it updates the pom.xml versions, then use the
+ <code>release:clean</code> goal to just remove the extra files that were created.
</em>
</p>
</li>
@@ -250,18 +182,18 @@ pass <tt>-Dweblogic.home=...</tt> to Mav
Assuming the <code>.tag</code> files look OK you may proceed and do any other validation you feel
necessary. The following list may be helpful:
<ol>
- <li>Check <tt>release.properties</tt> and make sure that the scm properties have the
+ <li>Check <code>release.properties</code> and make sure that the scm properties have the
right version. Sometimes the scm location can be the previous version not the next version.
</li>
<li>
Verify signatures: On Un*x platforms the following command can be executed:
<source>for file in `find . -type f -iname '*.asc'`
-do
- gpg --verify ${file}
-done</source>
+ do
+ gpg --verify ${file}
+ done</source>
You'll need to look at the output to ensure it contains only good signatures:
<source>gpg: Good signature from ...
-gpg: Signature made ...</source>
+ gpg: Signature made ...</source>
</li>
</ol>
</li>
@@ -272,7 +204,7 @@ gpg: Signature made ...</source>
</ol>
</li>
<li>
- Run the <tt>release:prepare</tt> step for real this time. You'll be prompted for the same version
+ Run the <code>release:prepare</code> step for real this time. You'll be prompted for the same version
information and optionally your GPG passphrase again.
<source>mvn -P apache-release release:prepare</source>
</li>
@@ -280,8 +212,8 @@ gpg: Signature made ...</source>
Backup (zip or tar) your local release candidate directory in case you need to rollback the release after
the next step is performed.
<source>cd ..
-tar -czf <version>.tar.gz <version>/
-cd <version></source>
+ tar -czf <version>.tar.gz <version>/
+ cd <version></source>
</li>
</ol>
</subsection>
@@ -292,41 +224,41 @@ cd <version></source>
<b>Staging site</b>
<ul>
<li>1_1_X
-<source>svn checkout https://svn.apache.org/repos/asf/syncope/site/ site
-svn checkout https://svn.apache.org/repos/asf/syncope/tags/syncope-<version> syncope-<version>
-cd syncope-<version>
-mvn clean install
-mvn -P site -Dsite.deploymentBaseUrl=file:///<absolute path to ../site/<version>>
-cd ../site/<version>
-rm -rf syncope-console syncope-client syncope-archetype syncope-core syncope-build-tools syncope-common syncope-standalone project-reports.html apidocs/1.html
-cd ..
-svn add <version>
-svn copy apidocs/1.0 <version>/apidocs/
-svn commit -m "Staging site for release"</source>
+ <source>svn checkout https://svn.apache.org/repos/asf/syncope/site/ site
+ svn checkout https://svn.apache.org/repos/asf/syncope/tags/syncope-<version> syncope-<version>
+ cd syncope-<version>
+ mvn clean install
+ mvn -P site -Dsite.deploymentBaseUrl=file:///<absolute path to ../site/<version>>
+ cd ../site/<version>
+ rm -rf syncope-console syncope-client syncope-archetype syncope-core syncope-build-tools syncope-common syncope-standalone project-reports.html apidocs/1.html
+ cd ..
+ svn add <version>
+ svn copy apidocs/1.0 <version>/apidocs/
+ svn commit -m "Staging site for release"</source>
</li>
<li>1_0_X
-<source>svn checkout https://svn.apache.org/repos/asf/syncope/site/ site
-svn checkout https://svn.apache.org/repos/asf/syncope/tags/syncope-<version> syncope-<version>
-cd syncope-<version>
-mvn clean install
-mvn -f parent/pom.xml -P site -Dsite.deploymentBaseUrl=file:///<absolute path to ../site/<version>>
-cd ../site/<version>
-rm -rf images css syncope-console syncope-client syncope-archetype syncope-core syncope-build-tools syncope-hibernate-enhancer syncope-quality project-reports.html apidocs/1.html
-cd ../..
-svn checkout https://svn.apache.org/repos/asf/syncope/branches/1_1_X syncope-1_1_X
-cd syncope-1_1_X
-mvn -P site -Dsite.deploymentBaseUrl=file:///<absolute path to ../site/<version>>
-cd ../site/<version>
-rm -rf syncope-console syncope-client syncope-archetype syncope-core syncope-build-tools syncope-common syncope-standalone project-reports.html apidocs/1.html apidocs/1.1
-cd ..
-svn add <version>
-svn copy apidocs/1.1 <version>/apidocs/
-svn commit -m "Staging site for release"</source>
+ <source>svn checkout https://svn.apache.org/repos/asf/syncope/site/ site
+ svn checkout https://svn.apache.org/repos/asf/syncope/tags/syncope-<version> syncope-<version>
+ cd syncope-<version>
+ mvn clean install
+ mvn -f parent/pom.xml -P site -Dsite.deploymentBaseUrl=file:///<absolute path to ../site/<version>>
+ cd ../site/<version>
+ rm -rf images css syncope-console syncope-client syncope-archetype syncope-core syncope-build-tools syncope-hibernate-enhancer syncope-quality project-reports.html apidocs/1.html
+ cd ../..
+ svn checkout https://svn.apache.org/repos/asf/syncope/branches/1_1_X syncope-1_1_X
+ cd syncope-1_1_X
+ mvn -P site -Dsite.deploymentBaseUrl=file:///<absolute path to ../site/<version>>
+ cd ../site/<version>
+ rm -rf syncope-console syncope-client syncope-archetype syncope-core syncope-build-tools syncope-common syncope-standalone project-reports.html apidocs/1.html apidocs/1.1
+ cd ..
+ svn add <version>
+ svn copy apidocs/1.1 <version>/apidocs/
+ svn commit -m "Staging site for release"</source>
</li>
</ul>
</li>
<li>
- From the directory where you have launched <tt>release:prepare</tt> execute (this step will create a maven
+ From the directory where you have launched <code>release:prepare</code> execute (this step will create a maven
staging repository):
<source>mvn -P apache-release release:perform [-Duser.name=<your_apache_uid>]</source>
@@ -396,50 +328,50 @@ svn commit -m "Staging site for release"
<code>VOTE</code> email thread on
<a href="mailto:dev@syncope.apache.org">syncope-dev</a> to record votes as replies, e.g.:
<pre>To: dev@syncope.apache.org
-Subject: [VOTE] Apache Syncope <version>
+ Subject: [VOTE] Apache Syncope <version>
-I've created a <version> release, with the following artifacts up for a vote:
+ I've created a <version> release, with the following artifacts up for a vote:
-SVN source tag (r9999999):
-https://svn.apache.org/repos/asf/syncope/tags/<version>/
+ SVN source tag (r9999999):
+ https://svn.apache.org/repos/asf/syncope/tags/<version>/
-List of changes:
-https://svn.apache.org/repos/asf/syncope/tags/<version>/CHANGES
+ List of changes:
+ https://svn.apache.org/repos/asf/syncope/tags/<version>/CHANGES
-Maven staging repo:
-https://repository.apache.org/content/repositories/orgapachesyncope-YYY/
+ Maven staging repo:
+ https://repository.apache.org/content/repositories/orgapachesyncope-YYY/
-Source release (checksums and signatures are available at the same location):
-https://repository.apache.org/content/repositories/orgapachesyncope-YYY/org/apache/syncope/syncope/<version>/syncope-<version>-source-release.zip
+ Source release (checksums and signatures are available at the same location):
+ https://repository.apache.org/content/repositories/orgapachesyncope-YYY/org/apache/syncope/syncope/<version>/syncope-<version>-source-release.zip
-Staging site:
-http://syncope.apache.org/<version>/
+ Staging site:
+ http://syncope.apache.org/<version>/
-PGP release keys (signed using ABCDEFG):
-http://www.apache.org/dist/syncope/KEYS
+ PGP release keys (signed using ABCDEFG):
+ http://www.apache.org/dist/syncope/KEYS
-Vote will be open for 72 hours.
+ Vote will be open for 72 hours.
-[ ] +1 approve
-[ ] +0 no opinion
-[ ] -1 disapprove (and reason why)</pre>
+ [ ] +1 approve
+ [ ] +0 no opinion
+ [ ] -1 disapprove (and reason why)</pre>
</li>
<li>
Create a <code>DISCUSS</code> email thread on <a href="mailto:dev@syncope.apache.org">syncope-dev</a> for any vote questions, e.g.:
<pre>
-To: dev@syncope.apache.org
-Subject: [DISCUSS] Apache Syncope <version>
+ To: dev@syncope.apache.org
+ Subject: [DISCUSS] Apache Syncope <version>
-Discussion thread for vote on <version> release, with SVN source tag (r9999999).
+ Discussion thread for vote on <version> release, with SVN source tag (r9999999).
-For more information on the release process, check out http://www.apache.org/dev/release.html
+ For more information on the release process, check out http://www.apache.org/dev/release.html
-Some of the things to check before voting are:
- - does "mvn apache-rat:check" pass on the source
- - can you build the contents of source release zip and SVN tag
- - do all of the staged jars/wars/zips contain the required LICENSE and NOTICE files
- - are all of the staged jars/wars/zips signed and the signature verifiable
- - is the signing key in the project's KEYS file and on a public server (i.e. http://www.apache.org/dist/syncope/)
+ Some of the things to check before voting are:
+ - does "mvn apache-rat:check" pass on the source
+ - can you build the contents of source release zip and SVN tag
+ - do all of the staged jars/wars/zips contain the required LICENSE and NOTICE files
+ - are all of the staged jars/wars/zips signed and the signature verifiable
+ - is the signing key in the project's KEYS file and on a public server (i.e. http://www.apache.org/dist/syncope/)
</pre>
</li>
<li>
@@ -453,31 +385,31 @@ Some of the things to check before votin
<li>After the vote has been open for at least 72 hours, has at least three
+1 PMC votes and no -1 votes, then post the results to the vote thread:
<pre>To: dev@syncope.apache.org
-Subject: [RESULT] [VOTE] Apache Syncope <version>
+ Subject: [RESULT] [VOTE] Apache Syncope <version>
-Hi all,
-after 72 hours, the vote for Syncope <version> [1] *passes*
-with ... PMC + ... non-PMC votes.
+ Hi all,
+ after 72 hours, the vote for Syncope <version> [1] *passes*
+ with ... PMC + ... non-PMC votes.
-+1 (PMC / binding)
-* ...
+ +1 (PMC / binding)
+ * ...
-+1 (non binding)
- * ... (or <none>)
+ +1 (non binding)
+ * ... (or <none>)
-0
- * ... (or <none>)
+ 0
+ * ... (or <none>)
--1
- * ... (or <none>)
+ -1
+ * ... (or <none>)
-Thanks to everyone participating.
+ Thanks to everyone participating.
-I will now copy this release to Syncope' dist directory and promote the artifacts to the central Maven repository.
+ I will now copy this release to Syncope' dist directory and promote the artifacts to the central Maven repository.
-Best regards.
+ Best regards.
-[1] <link to syncope-dev ML archives for the related [VOTE] thread></pre>
+ [1] <link to syncope-dev ML archives for the related [VOTE] thread></pre>
</li>
</ol>
</subsection>
@@ -506,64 +438,64 @@ Best regards.
<code>people.apache.org</code>)
<ul>
<li>1_1_X
-<source>
-svn co https://dist.apache.org/repos/dist/dev/syncope syncope-dist-dev
-cd syncope-dist-dev
-
-wget -e robots=off -nH --cut-dirs=7 -np --no-check-certificate -m -A *.zip* -R .asc.sha1,.asc.md5 \
-https://repository.apache.org/content/repositories/releases/org/apache/syncope/syncope/<version>/
-wget -e robots=off -nH --cut-dirs=7 -np --no-check-certificate -m -A *.zip* -R .asc.sha1,.asc.md5 \
-https://repository.apache.org/content/repositories/releases/org/apache/syncope/syncope-standalone/<version>/
-
-rm <version>/syncope-*asc.asc
-
-svn add <version>
-svn commit -m "Promoting the voted release artifacts to dist-dev area"
-
-svn mv -m "Moving the voted release artifacts to dist/release (source)" \
-https://dist.apache.org/repos/dist/dev/syncope/<version>/syncope-<version>-source-release.zip \
-https://dist.apache.org/repos/dist/dev/syncope/<version>/syncope-<version>-source-release.zip.asc \
-https://dist.apache.org/repos/dist/dev/syncope/<version>/syncope-<version>-source-release.zip.md5 \
-https://dist.apache.org/repos/dist/dev/syncope/<version>/syncope-<version>-source-release.zip.sha1 \
-https://dist.apache.org/repos/dist/release/syncope/<version>
+ <source>
+ svn co https://dist.apache.org/repos/dist/dev/syncope syncope-dist-dev
+ cd syncope-dist-dev
+
+ wget -e robots=off -nH --cut-dirs=7 -np --no-check-certificate -m -A *.zip* -R .asc.sha1,.asc.md5 \
+ https://repository.apache.org/content/repositories/releases/org/apache/syncope/syncope/<version>/
+ wget -e robots=off -nH --cut-dirs=7 -np --no-check-certificate -m -A *.zip* -R .asc.sha1,.asc.md5 \
+ https://repository.apache.org/content/repositories/releases/org/apache/syncope/syncope-standalone/<version>/
+
+ rm <version>/syncope-*asc.asc
+
+ svn add <version>
+ svn commit -m "Promoting the voted release artifacts to dist-dev area"
+
+ svn mv -m "Moving the voted release artifacts to dist/release (source)" \
+ https://dist.apache.org/repos/dist/dev/syncope/<version>/syncope-<version>-source-release.zip \
+ https://dist.apache.org/repos/dist/dev/syncope/<version>/syncope-<version>-source-release.zip.asc \
+ https://dist.apache.org/repos/dist/dev/syncope/<version>/syncope-<version>-source-release.zip.md5 \
+ https://dist.apache.org/repos/dist/dev/syncope/<version>/syncope-<version>-source-release.zip.sha1 \
+ https://dist.apache.org/repos/dist/release/syncope/<version>
-svn mv -m "Moving the voted release artifacts to dist/release (standalone)" \
-https://dist.apache.org/repos/dist/dev/syncope/<version>/syncope-standalone-<version>-distribution.zip \
-https://dist.apache.org/repos/dist/dev/syncope/<version>/syncope-standalone-<version>-distribution.zip.asc \
-https://dist.apache.org/repos/dist/dev/syncope/<version>/syncope-standalone-<version>-distribution.zip.md5 \
-https://dist.apache.org/repos/dist/dev/syncope/<version>/syncope-standalone-<version>-distribution.zip.sha1 \
-https://dist.apache.org/repos/dist/release/syncope/<version>
-
-svn co https://dist.apache.org/repos/dist/release/syncope syncope-dist-release
-cd syncope-dist-release
-svn rm <any older release artifact (if present)>
-svn commit -m "Cleaning up older releases"
+ svn mv -m "Moving the voted release artifacts to dist/release (standalone)" \
+ https://dist.apache.org/repos/dist/dev/syncope/<version>/syncope-standalone-<version>-distribution.zip \
+ https://dist.apache.org/repos/dist/dev/syncope/<version>/syncope-standalone-<version>-distribution.zip.asc \
+ https://dist.apache.org/repos/dist/dev/syncope/<version>/syncope-standalone-<version>-distribution.zip.md5 \
+ https://dist.apache.org/repos/dist/dev/syncope/<version>/syncope-standalone-<version>-distribution.zip.sha1 \
+ https://dist.apache.org/repos/dist/release/syncope/<version>
+
+ svn co https://dist.apache.org/repos/dist/release/syncope syncope-dist-release
+ cd syncope-dist-release
+ svn rm <any older release artifact (if present)>
+ svn commit -m "Cleaning up older releases"
</source>
</li>
<li>1_0_X
-<source>
-svn co https://dist.apache.org/repos/dist/dev/syncope syncope-dist-dev
-cd syncope-dist-dev
-
-wget -e robots=off -nH --cut-dirs=7 -np --no-check-certificate -m -A *.zip* -R .asc.sha1,.asc.md5 \
-https://repository.apache.org/content/repositories/releases/org/apache/syncope/syncope-root/<version>/
-
-rm <version>/syncope-*asc.asc
-
-svn add <version>
-svn commit -m "Promoting the voted release artifacts to dist-dev area"
-
-svn mv -m "Moving the voted release artifacts to dist/release" \
-https://dist.apache.org/repos/dist/dev/syncope/<version>/syncope-<version>-source-release.zip \
-https://dist.apache.org/repos/dist/dev/syncope/<version>/syncope-<version>-source-release.zip.asc \
-https://dist.apache.org/repos/dist/dev/syncope/<version>/syncope-<version>-source-release.zip.md5 \
-https://dist.apache.org/repos/dist/dev/syncope/<version>/syncope-<version>-source-release.zip.sha1 \
-https://dist.apache.org/repos/dist/release/syncope/<version>
-
-svn co https://dist.apache.org/repos/dist/release/syncope syncope-dist-release
-cd syncope-dist-release
-svn rm <any older release artifact (if present)>
-svn commit -m "Cleaning up older releases"
+ <source>
+ svn co https://dist.apache.org/repos/dist/dev/syncope syncope-dist-dev
+ cd syncope-dist-dev
+
+ wget -e robots=off -nH --cut-dirs=7 -np --no-check-certificate -m -A *.zip* -R .asc.sha1,.asc.md5 \
+ https://repository.apache.org/content/repositories/releases/org/apache/syncope/syncope-root/<version>/
+
+ rm <version>/syncope-*asc.asc
+
+ svn add <version>
+ svn commit -m "Promoting the voted release artifacts to dist-dev area"
+
+ svn mv -m "Moving the voted release artifacts to dist/release" \
+ https://dist.apache.org/repos/dist/dev/syncope/<version>/syncope-<version>-source-release.zip \
+ https://dist.apache.org/repos/dist/dev/syncope/<version>/syncope-<version>-source-release.zip.asc \
+ https://dist.apache.org/repos/dist/dev/syncope/<version>/syncope-<version>-source-release.zip.md5 \
+ https://dist.apache.org/repos/dist/dev/syncope/<version>/syncope-<version>-source-release.zip.sha1 \
+ https://dist.apache.org/repos/dist/release/syncope/<version>
+
+ svn co https://dist.apache.org/repos/dist/release/syncope syncope-dist-release
+ cd syncope-dist-release
+ svn rm <any older release artifact (if present)>
+ svn commit -m "Cleaning up older releases"
</source>
</li>
</ul>
@@ -575,22 +507,22 @@ svn commit -m "Cleaning up older release
</li>
<li>
Update the <a href="https://cwiki.apache.org/confluence/display/SYNCOPE/Create+a+new+Syncope+project">Create
- new project</a> wiki page to point to the new release artifacts
+ new project</a> wiki page to point to the new release artifacts
</li>
<li>
Update the <a href="https://issues.apache.org/jira/plugins/servlet/project-config/SYNCOPE/versions">JIRA
- versions</a> page to mark the version as <strong>Released</strong>, and set the date to the date that
+ versions</a> page to mark the version as <strong>Released</strong>, and set the date to the date that
the release was approved. You may also need to make a new release entry for the next release.
</li>
<li>
Promote the staging site
<source>
-svn co https://svn.apache.org/repos/asf/syncope/site/
-cd site
-svn rm *.html apidocs css images img js
-svn mv <version>/* .
-svn rm <version>
-svn commit -m "Promoting the staging site"</source>
+ svn co https://svn.apache.org/repos/asf/syncope/site/
+ cd site
+ svn rm *.html apidocs css images img js
+ svn mv <version>/* .
+ svn rm <version>
+ svn commit -m "Promoting the staging site"</source>
</li>
</ol>
</subsection>