Author: paristote
Date: 2011-11-16 23:12:35 -0500 (Wed, 16 Nov 2011)
New Revision: 5194
Added:
kernel/branches/2.2.x/patch/2.2.11-GA/KER-176/
kernel/branches/2.2.x/patch/2.2.11-GA/KER-176/KER-176.patch
kernel/branches/2.2.x/patch/2.2.11-GA/KER-176/readme.txt
Modified:
kernel/branches/2.2.x/pom.xml
Log:
PLF-1747 KER-176
What is the problem to fix?
Platform source distribution. Create a Zip archive with all projects sources.
How is the problem fixed?
Add a maven plugin to generate the Zip automatically during the release.
Added: kernel/branches/2.2.x/patch/2.2.11-GA/KER-176/KER-176.patch
===================================================================
--- kernel/branches/2.2.x/patch/2.2.11-GA/KER-176/KER-176.patch
(rev 0)
+++ kernel/branches/2.2.x/patch/2.2.11-GA/KER-176/KER-176.patch 2011-11-17 04:12:35 UTC
(rev 5194)
@@ -0,0 +1,53 @@
+Index: pom.xml
+===================================================================
+--- pom.xml (revision 5193)
++++ pom.xml (working copy)
+@@ -40,6 +40,7 @@
+ <exo.product.specification>2.2</exo.product.specification>
+
<org.exoplatform.framework.junit.version>1.2.1-GA</org.exoplatform.framework.junit.version>
+ <forkMode>always</forkMode>
++ <version.assembly.plugin>2.2.1</version.assembly.plugin>
+ </properties>
+
+ <scm>
+@@ -211,5 +212,39 @@
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+-
++<profiles>
++ <profile>
++ <id>release</id>
++ <build>
++ <plugins>
++ <plugin>
++ <artifactId>maven-assembly-plugin</artifactId>
++ <dependencies>
++ <dependency>
++ <groupId>org.apache.apache.resources</groupId>
++
<artifactId>apache-source-release-assembly-descriptor</artifactId>
++ <version>1.0.2</version>
++ </dependency>
++ </dependencies>
++ <executions>
++ <execution>
++ <id>source-release-assembly</id>
++ <phase>package</phase>
++ <goals>
++ <goal>single</goal>
++ </goals>
++ <configuration>
++ <runOnlyAtExecutionRoot>true</runOnlyAtExecutionRoot>
++ <descriptorRefs>
++ <descriptorRef>source-release</descriptorRef>
++ </descriptorRefs>
++ <tarLongFileFormat>gnu</tarLongFileFormat>
++ </configuration>
++ </execution>
++ </executions>
++ </plugin>
++ </plugins>
++ </build>
++ </profile>
++ </profiles>
+ </project>
Added: kernel/branches/2.2.x/patch/2.2.11-GA/KER-176/readme.txt
===================================================================
--- kernel/branches/2.2.x/patch/2.2.11-GA/KER-176/readme.txt (rev
0)
+++ kernel/branches/2.2.x/patch/2.2.11-GA/KER-176/readme.txt 2011-11-17 04:12:35 UTC (rev
5194)
@@ -0,0 +1,63 @@
+Summary
+
+ Status: Platform Source distribution
+ CCP Issue: N/A, Product Jira Issue: PLF-1747.
+ Complexity: N/A
+
+The Proposal
+Problem description
+
+What is the problem to fix?
+ Platform source distribution. Create a Zip archive with all projects sources.
+
+Fix description
+
+How is the problem fixed?
+ Add a maven plugin to generate the Zip automatically during the release.
+
+Patch information:
+Patch files: KER-176.patch
+
+Tests to perform
+
+Reproduction test
+ none
+
+Tests performed at DevLevel
+ mvn clean install -Prelease to make sure the project still builds successfully
+
+Tests performed at QA/Support Level
+ none
+
+Documentation changes
+
+Documentation changes:
+ none
+
+Configuration changes
+
+Configuration changes:
+ none
+
+Will previous configuration continue to work?
+ yes
+
+Risks and impacts
+
+Can this bug fix have any side effects on current client projects?
+ none
+
+Is there a performance risk/cost?
+ none
+
+Validation (PM/Support/QA)
+
+PM Comment
+* PL review: Patch validated
+
+Support Comment
+* Support review: Patch validated
+
+QA Feedbacks
+*
+
Modified: kernel/branches/2.2.x/pom.xml
===================================================================
--- kernel/branches/2.2.x/pom.xml 2011-11-16 10:27:24 UTC (rev 5193)
+++ kernel/branches/2.2.x/pom.xml 2011-11-17 04:12:35 UTC (rev 5194)
@@ -40,6 +40,7 @@
<exo.product.specification>2.2</exo.product.specification>
<org.exoplatform.framework.junit.version>1.2.1-GA</org.exoplatform.framework.junit.version>
<forkMode>always</forkMode>
+ <version.assembly.plugin>2.2.1</version.assembly.plugin>
</properties>
<scm>
@@ -211,5 +212,39 @@
<scope>test</scope>
</dependency>
</dependencies>
-
+<profiles>
+ <profile>
+ <id>release</id>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-assembly-plugin</artifactId>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.apache.resources</groupId>
+
<artifactId>apache-source-release-assembly-descriptor</artifactId>
+ <version>1.0.2</version>
+ </dependency>
+ </dependencies>
+ <executions>
+ <execution>
+ <id>source-release-assembly</id>
+ <phase>package</phase>
+ <goals>
+ <goal>single</goal>
+ </goals>
+ <configuration>
+ <runOnlyAtExecutionRoot>true</runOnlyAtExecutionRoot>
+ <descriptorRefs>
+ <descriptorRef>source-release</descriptorRef>
+ </descriptorRefs>
+ <tarLongFileFormat>gnu</tarLongFileFormat>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
</project>
Show replies by date