[exo-jcr-commits] exo-jcr SVN: r5196 - in ws/branches/2.1.x: patch/2.1.11-GA and 1 other directories.

do-not-reply at jboss.org do-not-reply at jboss.org
Wed Nov 16 23:13:35 EST 2011


Author: paristote
Date: 2011-11-16 23:13:35 -0500 (Wed, 16 Nov 2011)
New Revision: 5196

Added:
   ws/branches/2.1.x/patch/2.1.11-GA/WS-268/
   ws/branches/2.1.x/patch/2.1.11-GA/WS-268/WS-268.patch
   ws/branches/2.1.x/patch/2.1.11-GA/WS-268/readme.txt
Modified:
   ws/branches/2.1.x/pom.xml
Log:
PLF-1747 WS-268

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: ws/branches/2.1.x/patch/2.1.11-GA/WS-268/WS-268.patch
===================================================================
--- ws/branches/2.1.x/patch/2.1.11-GA/WS-268/WS-268.patch	                        (rev 0)
+++ ws/branches/2.1.x/patch/2.1.11-GA/WS-268/WS-268.patch	2011-11-17 04:13:35 UTC (rev 5196)
@@ -0,0 +1,55 @@
+Index: pom.xml
+===================================================================
+--- pom.xml	(revision 5193)
++++ pom.xml	(working copy)
+@@ -43,7 +43,7 @@
+    <properties>
+       <exo.product.name>exo-ws</exo.product.name>
+       <exo.product.specification>2.1</exo.product.specification>
+-      
++      <version.assembly.plugin>2.2.1</version.assembly.plugin>
+       <org.exoplatform.kernel.version>2.2.11-GA-SNAPSHOT</org.exoplatform.kernel.version>
+       <org.exoplatform.core.version>2.3.11-GA-SNAPSHOT</org.exoplatform.core.version>
+    </properties>
+@@ -181,5 +181,40 @@
+          <artifactId>slf4j-log4j12</artifactId>
+          <scope>test</scope>
+       </dependency>
+-   </dependencies>   
++   </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: ws/branches/2.1.x/patch/2.1.11-GA/WS-268/readme.txt
===================================================================
--- ws/branches/2.1.x/patch/2.1.11-GA/WS-268/readme.txt	                        (rev 0)
+++ ws/branches/2.1.x/patch/2.1.11-GA/WS-268/readme.txt	2011-11-17 04:13:35 UTC (rev 5196)
@@ -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: ws/branches/2.1.x/pom.xml
===================================================================
--- ws/branches/2.1.x/pom.xml	2011-11-17 04:13:03 UTC (rev 5195)
+++ ws/branches/2.1.x/pom.xml	2011-11-17 04:13:35 UTC (rev 5196)
@@ -43,7 +43,7 @@
    <properties>
       <exo.product.name>exo-ws</exo.product.name>
       <exo.product.specification>2.1</exo.product.specification>
-      
+      <version.assembly.plugin>2.2.1</version.assembly.plugin>
       <org.exoplatform.kernel.version>2.2.11-GA-SNAPSHOT</org.exoplatform.kernel.version>
       <org.exoplatform.core.version>2.3.11-GA-SNAPSHOT</org.exoplatform.core.version>
    </properties>
@@ -181,5 +181,40 @@
          <artifactId>slf4j-log4j12</artifactId>
          <scope>test</scope>
       </dependency>
-   </dependencies>   
+   </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>



More information about the exo-jcr-commits mailing list