[seam-commits] Seam SVN: r14210 - in branches/community/Seam_2_3: distribution/src/main/assembly and 12 other directories.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Mon Sep 26 18:10:07 EDT 2011


Author: manaRH
Date: 2011-09-26 18:10:06 -0400 (Mon, 26 Sep 2011)
New Revision: 14210

Modified:
   branches/community/Seam_2_3/distribution/pom.xml
   branches/community/Seam_2_3/distribution/src/main/assembly/assembly.xml
   branches/community/Seam_2_3/jboss-seam-debug/pom.xml
   branches/community/Seam_2_3/jboss-seam-excel/pom.xml
   branches/community/Seam_2_3/jboss-seam-flex/pom.xml
   branches/community/Seam_2_3/jboss-seam-ioc/pom.xml
   branches/community/Seam_2_3/jboss-seam-mail/pom.xml
   branches/community/Seam_2_3/jboss-seam-pdf/pom.xml
   branches/community/Seam_2_3/jboss-seam-remoting/pom.xml
   branches/community/Seam_2_3/jboss-seam-resteasy/pom.xml
   branches/community/Seam_2_3/jboss-seam-rss/pom.xml
   branches/community/Seam_2_3/jboss-seam-ui/pom.xml
   branches/community/Seam_2_3/jboss-seam-wicket/pom.xml
   branches/community/Seam_2_3/jboss-seam/pom.xml
Log:
fixed distribution issues with missing jars in lib directory

Modified: branches/community/Seam_2_3/distribution/pom.xml
===================================================================
--- branches/community/Seam_2_3/distribution/pom.xml	2011-09-26 22:08:57 UTC (rev 14209)
+++ branches/community/Seam_2_3/distribution/pom.xml	2011-09-26 22:10:06 UTC (rev 14210)
@@ -25,6 +25,7 @@
 							<goal>single</goal>
 						</goals>
 						<configuration>
+                            <finalName>jboss-seam-${project.version}</finalName>
 							<descriptors>
 								<descriptor>src/main/assembly/assembly.xml</descriptor>
 							</descriptors>	

Modified: branches/community/Seam_2_3/distribution/src/main/assembly/assembly.xml
===================================================================
--- branches/community/Seam_2_3/distribution/src/main/assembly/assembly.xml	2011-09-26 22:08:57 UTC (rev 14209)
+++ branches/community/Seam_2_3/distribution/src/main/assembly/assembly.xml	2011-09-26 22:10:06 UTC (rev 14210)
@@ -5,7 +5,7 @@
 
    <id>distribution</id>
    <formats>
-   <!--     <format>dir</format> -->
+<!--        <format>dir</format> -->
        <format>zip</format>
        <format>tar.gz</format>
    </formats>
@@ -75,6 +75,15 @@
             <include>jboss-seam-wls-compatible-sources.jar</include>
         </includes>
       </fileSet>
+      <!--  all jars from jboss-seam module dependencies 
+       (done this way due needs to have all scopes except test there) -->
+      <fileSet>
+        <directory>../jar-dependencies</directory>
+        <outputDirectory>./lib</outputDirectory>
+        <includes>
+            <include>*.jar</include>
+        </includes>
+      </fileSet>
    </fileSets>    
 
    <dependencySets>
@@ -117,25 +126,26 @@
          <outputFileNameMapping>${artifact.artifactId}-sources.${artifact.extension}</outputFileNameMapping>
       </dependencySet>
       
-    <!-- Add necessary dependencies -->
+    <!-- Add jboss-seam jars into lib folder -->
       <dependencySet>
          <outputDirectory>lib</outputDirectory>
-         <useProjectArtifact>false</useProjectArtifact>
-         <useTransitiveDependencies>true</useTransitiveDependencies>
-         <useTransitiveFiltering>true</useTransitiveFiltering>
-         <useStrictFiltering>true</useStrictFiltering>
-         <scope>compile</scope>
+         <useProjectArtifact>false</useProjectArtifact>                  
+         <useStrictFiltering>true</useStrictFiltering>         
          <includes>
-            <include>*:*:jar</include>
+            <include>org.jboss.seam:jboss-seam:ejb</include>
+            <include>org.jboss.seam:jboss-seam-debug:jar</include>
+            <include>org.jboss.seam:jboss-seam-ui:jar</include>
+            <include>org.jboss.seam:jboss-seam-excel:jar</include>
+            <include>org.jboss.seam:jboss-seam-pdf:jar</include>
+            <include>org.jboss.seam:jboss-seam-mail:jar</include>
+            <include>org.jboss.seam:jboss-seam-rss:jar</include>
+            <include>org.jboss.seam:jboss-seam-resteasy:jar</include>
+            <include>org.jboss.seam:jboss-seam-wicket:jar</include>
+            <include>org.jboss.seam:jboss-seam-remoting:jar</include>
+            <include>org.jboss.seam:jboss-seam-flex:jar</include>
+            <include>org.jboss.seam:jboss-seam-ioc:jar</include>
+            <include>org.jboss.seam.embedded:jboss-embedded-api:jar</include>
          </includes>
-         <excludes>
-            <exclude>org.jboss.seam:jboss-embedded-bootstrap:jar</exclude>
-            <exclude>org.jboss.seam.embedded:jboss-embedded-all:jar</exclude>
-            <exclude>org.jboss.seam.embedded:hibernate-all:jar</exclude>
-            <exclude>org.jboss.seam.embedded:thirdparty-all:jar</exclude>
-            <exclude>org.jboss.seam:jboss-seam-gen:*:*</exclude>
-            <exclude>org.jboss.seam:seam-reference-guide:*:*</exclude>
-         </excludes>
          <outputFileNameMapping>${artifact.artifactId}.${artifact.extension}</outputFileNameMapping>
       </dependencySet>
       

Modified: branches/community/Seam_2_3/jboss-seam/pom.xml
===================================================================
--- branches/community/Seam_2_3/jboss-seam/pom.xml	2011-09-26 22:08:57 UTC (rev 14209)
+++ branches/community/Seam_2_3/jboss-seam/pom.xml	2011-09-26 22:10:06 UTC (rev 14210)
@@ -492,5 +492,32 @@
                 </plugins>
             </build>
         </profile>
+        <profile>
+            <id>distribution</id>
+            <build>
+            <plugins>
+	             <plugin>
+		             <artifactId>maven-dependency-plugin</artifactId>
+		             <executions>
+		                    <execution>
+		                        <id>copy-dependencies</id>
+		                        <goals>
+		                            <goal>copy-dependencies</goal>
+		                        </goals>
+		                        <phase>package</phase>
+								<configuration>
+									<excludeGroupIds>org.jboss.seam</excludeGroupIds>
+									<excludeClassifiers>sources, project, distribution</excludeClassifiers>
+									<outputDirectory>../jar-dependencies</outputDirectory>
+									<stripVersion>true</stripVersion>
+									<type>jar</type>
+									<transitive>true</transitive>
+								</configuration>
+		                    </execution>
+		             </executions>
+	            </plugin>
+            </plugins>
+            </build>
+        </profile>
     </profiles>
 </project>

Modified: branches/community/Seam_2_3/jboss-seam-debug/pom.xml
===================================================================
--- branches/community/Seam_2_3/jboss-seam-debug/pom.xml	2011-09-26 22:08:57 UTC (rev 14209)
+++ branches/community/Seam_2_3/jboss-seam-debug/pom.xml	2011-09-26 22:10:06 UTC (rev 14210)
@@ -66,6 +66,33 @@
                 </plugins>
             </build>
         </profile>
+         <profile>
+            <id>distribution</id>
+            <build>
+            <plugins>
+                 <plugin>
+                     <artifactId>maven-dependency-plugin</artifactId>
+                     <executions>
+                            <execution>
+                                <id>copy-dependencies</id>
+                                <goals>
+                                    <goal>copy-dependencies</goal>
+                                </goals>
+                                <phase>package</phase>
+                                <configuration>
+                                    <excludeGroupIds>org.jboss.seam</excludeGroupIds>
+                                    <excludeClassifiers>sources, project, distribution</excludeClassifiers>
+                                    <outputDirectory>../jar-dependencies</outputDirectory>
+                                    <stripVersion>true</stripVersion>
+                                    <type>jar</type>
+                                    <transitive>true</transitive>
+                                </configuration>
+                            </execution>
+                     </executions>
+                </plugin>
+            </plugins>
+            </build>
+        </profile>
     </profiles>
     
 </project>

Modified: branches/community/Seam_2_3/jboss-seam-excel/pom.xml
===================================================================
--- branches/community/Seam_2_3/jboss-seam-excel/pom.xml	2011-09-26 22:08:57 UTC (rev 14209)
+++ branches/community/Seam_2_3/jboss-seam-excel/pom.xml	2011-09-26 22:10:06 UTC (rev 14210)
@@ -98,5 +98,32 @@
                 </plugins>
             </build>
         </profile>
+         <profile>
+            <id>distribution</id>
+            <build>
+            <plugins>
+                 <plugin>
+                     <artifactId>maven-dependency-plugin</artifactId>
+                     <executions>
+                            <execution>
+                                <id>copy-dependencies</id>
+                                <goals>
+                                    <goal>copy-dependencies</goal>
+                                </goals>
+                                <phase>package</phase>
+                                <configuration>
+                                    <excludeGroupIds>org.jboss.seam</excludeGroupIds>
+                                    <excludeClassifiers>sources, project, distribution</excludeClassifiers>
+                                    <outputDirectory>../jar-dependencies</outputDirectory>
+                                    <stripVersion>true</stripVersion>
+                                    <type>jar</type>
+                                    <transitive>true</transitive>
+                                </configuration>
+                            </execution>
+                     </executions>
+                </plugin>
+            </plugins>
+            </build>
+        </profile>
     </profiles>
 </project>

Modified: branches/community/Seam_2_3/jboss-seam-flex/pom.xml
===================================================================
--- branches/community/Seam_2_3/jboss-seam-flex/pom.xml	2011-09-26 22:08:57 UTC (rev 14209)
+++ branches/community/Seam_2_3/jboss-seam-flex/pom.xml	2011-09-26 22:10:06 UTC (rev 14210)
@@ -81,6 +81,33 @@
                 </plugins>
             </build>
         </profile>
+         <profile>
+            <id>distribution</id>
+            <build>
+            <plugins>
+                 <plugin>
+                     <artifactId>maven-dependency-plugin</artifactId>
+                     <executions>
+                            <execution>
+                                <id>copy-dependencies</id>
+                                <goals>
+                                    <goal>copy-dependencies</goal>
+                                </goals>
+                                <phase>package</phase>
+                                <configuration>
+                                    <excludeGroupIds>org.jboss.seam</excludeGroupIds>
+                                    <excludeClassifiers>sources, project, distribution</excludeClassifiers>
+                                    <outputDirectory>../jar-dependencies</outputDirectory>
+                                    <stripVersion>true</stripVersion>
+                                    <type>jar</type>
+                                    <transitive>true</transitive>
+                                </configuration>
+                            </execution>
+                     </executions>
+                </plugin>
+            </plugins>
+            </build>
+        </profile>
     </profiles>
 
 </project>

Modified: branches/community/Seam_2_3/jboss-seam-ioc/pom.xml
===================================================================
--- branches/community/Seam_2_3/jboss-seam-ioc/pom.xml	2011-09-26 22:08:57 UTC (rev 14209)
+++ branches/community/Seam_2_3/jboss-seam-ioc/pom.xml	2011-09-26 22:10:06 UTC (rev 14210)
@@ -98,6 +98,33 @@
                 </plugins>
             </build>
         </profile>
+         <profile>
+            <id>distribution</id>
+            <build>
+            <plugins>
+                 <plugin>
+                     <artifactId>maven-dependency-plugin</artifactId>
+                     <executions>
+                            <execution>
+                                <id>copy-dependencies</id>
+                                <goals>
+                                    <goal>copy-dependencies</goal>
+                                </goals>
+                                <phase>package</phase>
+                                <configuration>
+                                    <excludeGroupIds>org.jboss.seam</excludeGroupIds>
+                                    <excludeClassifiers>sources, project, distribution</excludeClassifiers>
+                                    <outputDirectory>../jar-dependencies</outputDirectory>
+                                    <stripVersion>true</stripVersion>
+                                    <type>jar</type>
+                                    <transitive>true</transitive>
+                                </configuration>
+                            </execution>
+                     </executions>
+                </plugin>
+            </plugins>
+            </build>
+        </profile>
     </profiles>
     
 </project>

Modified: branches/community/Seam_2_3/jboss-seam-mail/pom.xml
===================================================================
--- branches/community/Seam_2_3/jboss-seam-mail/pom.xml	2011-09-26 22:08:57 UTC (rev 14209)
+++ branches/community/Seam_2_3/jboss-seam-mail/pom.xml	2011-09-26 22:10:06 UTC (rev 14210)
@@ -94,6 +94,33 @@
                 </plugins>
             </build>
         </profile>
+         <profile>
+            <id>distribution</id>
+            <build>
+            <plugins>
+                 <plugin>
+                     <artifactId>maven-dependency-plugin</artifactId>
+                     <executions>
+                            <execution>
+                                <id>copy-dependencies</id>
+                                <goals>
+                                    <goal>copy-dependencies</goal>
+                                </goals>
+                                <phase>package</phase>
+                                <configuration>
+                                    <excludeGroupIds>org.jboss.seam</excludeGroupIds>
+                                    <excludeClassifiers>sources, project, distribution</excludeClassifiers>
+                                    <outputDirectory>../jar-dependencies</outputDirectory>
+                                    <stripVersion>true</stripVersion>
+                                    <type>jar</type>
+                                    <transitive>true</transitive>
+                                </configuration>
+                            </execution>
+                     </executions>
+                </plugin>
+            </plugins>
+            </build>
+        </profile>
     </profiles>
     
 </project>

Modified: branches/community/Seam_2_3/jboss-seam-pdf/pom.xml
===================================================================
--- branches/community/Seam_2_3/jboss-seam-pdf/pom.xml	2011-09-26 22:08:57 UTC (rev 14209)
+++ branches/community/Seam_2_3/jboss-seam-pdf/pom.xml	2011-09-26 22:10:06 UTC (rev 14210)
@@ -79,6 +79,33 @@
                 </plugins>
             </build>
         </profile>
+         <profile>
+            <id>distribution</id>
+            <build>
+            <plugins>
+                 <plugin>
+                     <artifactId>maven-dependency-plugin</artifactId>
+                     <executions>
+                            <execution>
+                                <id>copy-dependencies</id>
+                                <goals>
+                                    <goal>copy-dependencies</goal>
+                                </goals>
+                                <phase>package</phase>
+                                <configuration>
+                                    <excludeGroupIds>org.jboss.seam</excludeGroupIds>
+                                    <excludeClassifiers>sources, project, distribution</excludeClassifiers>
+                                    <outputDirectory>../jar-dependencies</outputDirectory>
+                                    <stripVersion>true</stripVersion>
+                                    <type>jar</type>
+                                    <transitive>true</transitive>
+                                </configuration>
+                            </execution>
+                     </executions>
+                </plugin>
+            </plugins>
+            </build>
+        </profile>
     </profiles>
 
 </project>

Modified: branches/community/Seam_2_3/jboss-seam-remoting/pom.xml
===================================================================
--- branches/community/Seam_2_3/jboss-seam-remoting/pom.xml	2011-09-26 22:08:57 UTC (rev 14209)
+++ branches/community/Seam_2_3/jboss-seam-remoting/pom.xml	2011-09-26 22:10:06 UTC (rev 14210)
@@ -112,6 +112,33 @@
                 </plugins>
             </build>
         </profile>
+         <profile>
+            <id>distribution</id>
+            <build>
+            <plugins>
+                 <plugin>
+                     <artifactId>maven-dependency-plugin</artifactId>
+                     <executions>
+                            <execution>
+                                <id>copy-dependencies</id>
+                                <goals>
+                                    <goal>copy-dependencies</goal>
+                                </goals>
+                                <phase>package</phase>
+                                <configuration>
+                                    <excludeGroupIds>org.jboss.seam</excludeGroupIds>
+                                    <excludeClassifiers>sources, project, distribution</excludeClassifiers>
+                                    <outputDirectory>../jar-dependencies</outputDirectory>
+                                    <stripVersion>true</stripVersion>
+                                    <type>jar</type>
+                                    <transitive>true</transitive>
+                                </configuration>
+                            </execution>
+                     </executions>
+                </plugin>
+            </plugins>
+            </build>
+        </profile>
     </profiles>
    
 </project>

Modified: branches/community/Seam_2_3/jboss-seam-resteasy/pom.xml
===================================================================
--- branches/community/Seam_2_3/jboss-seam-resteasy/pom.xml	2011-09-26 22:08:57 UTC (rev 14209)
+++ branches/community/Seam_2_3/jboss-seam-resteasy/pom.xml	2011-09-26 22:10:06 UTC (rev 14210)
@@ -94,6 +94,33 @@
                 </plugins>
             </build>
         </profile>
+         <profile>
+            <id>distribution</id>
+            <build>
+            <plugins>
+                 <plugin>
+                     <artifactId>maven-dependency-plugin</artifactId>
+                     <executions>
+                            <execution>
+                                <id>copy-dependencies</id>
+                                <goals>
+                                    <goal>copy-dependencies</goal>
+                                </goals>
+                                <phase>package</phase>
+                                <configuration>
+                                    <excludeGroupIds>org.jboss.seam</excludeGroupIds>
+                                    <excludeClassifiers>sources, project, distribution</excludeClassifiers>
+                                    <outputDirectory>../jar-dependencies</outputDirectory>
+                                    <stripVersion>true</stripVersion>
+                                    <type>jar</type>
+                                    <transitive>true</transitive>
+                                </configuration>
+                            </execution>
+                     </executions>
+                </plugin>
+            </plugins>
+            </build>
+        </profile>
     </profiles>
 
 </project>

Modified: branches/community/Seam_2_3/jboss-seam-rss/pom.xml
===================================================================
--- branches/community/Seam_2_3/jboss-seam-rss/pom.xml	2011-09-26 22:08:57 UTC (rev 14209)
+++ branches/community/Seam_2_3/jboss-seam-rss/pom.xml	2011-09-26 22:10:06 UTC (rev 14210)
@@ -74,6 +74,33 @@
                 </plugins>
             </build>
         </profile>
+         <profile>
+            <id>distribution</id>
+            <build>
+            <plugins>
+                 <plugin>
+                     <artifactId>maven-dependency-plugin</artifactId>
+                     <executions>
+                            <execution>
+                                <id>copy-dependencies</id>
+                                <goals>
+                                    <goal>copy-dependencies</goal>
+                                </goals>
+                                <phase>package</phase>
+                                <configuration>
+                                    <excludeGroupIds>org.jboss.seam</excludeGroupIds>
+                                    <excludeClassifiers>sources, project, distribution</excludeClassifiers>
+                                    <outputDirectory>../jar-dependencies</outputDirectory>
+                                    <stripVersion>true</stripVersion>
+                                    <type>jar</type>
+                                    <transitive>true</transitive>
+                                </configuration>
+                            </execution>
+                     </executions>
+                </plugin>
+            </plugins>
+            </build>
+        </profile>
     </profiles>
 
 </project>

Modified: branches/community/Seam_2_3/jboss-seam-ui/pom.xml
===================================================================
--- branches/community/Seam_2_3/jboss-seam-ui/pom.xml	2011-09-26 22:08:57 UTC (rev 14209)
+++ branches/community/Seam_2_3/jboss-seam-ui/pom.xml	2011-09-26 22:10:06 UTC (rev 14210)
@@ -265,6 +265,33 @@
                 </plugins>
             </build>
         </profile>
+         <profile>
+            <id>distribution</id>
+            <build>
+            <plugins>
+                 <plugin>
+                     <artifactId>maven-dependency-plugin</artifactId>
+                     <executions>
+                            <execution>
+                                <id>copy-dependencies</id>
+                                <goals>
+                                    <goal>copy-dependencies</goal>
+                                </goals>
+                                <phase>package</phase>
+                                <configuration>
+                                    <excludeGroupIds>org.jboss.seam</excludeGroupIds>
+                                    <excludeClassifiers>sources, project, distribution</excludeClassifiers>
+                                    <outputDirectory>../jar-dependencies</outputDirectory>
+                                    <stripVersion>true</stripVersion>
+                                    <type>jar</type>
+                                    <transitive>true</transitive>
+                                </configuration>
+                            </execution>
+                     </executions>
+                </plugin>
+            </plugins>
+            </build>
+        </profile>
     </profiles>
 		
 </project>

Modified: branches/community/Seam_2_3/jboss-seam-wicket/pom.xml
===================================================================
--- branches/community/Seam_2_3/jboss-seam-wicket/pom.xml	2011-09-26 22:08:57 UTC (rev 14209)
+++ branches/community/Seam_2_3/jboss-seam-wicket/pom.xml	2011-09-26 22:10:06 UTC (rev 14210)
@@ -102,6 +102,33 @@
                 </plugins>
             </build>
         </profile>
+         <profile>
+            <id>distribution</id>
+            <build>
+            <plugins>
+                 <plugin>
+                     <artifactId>maven-dependency-plugin</artifactId>
+                     <executions>
+                            <execution>
+                                <id>copy-dependencies</id>
+                                <goals>
+                                    <goal>copy-dependencies</goal>
+                                </goals>
+                                <phase>package</phase>
+                                <configuration>
+                                    <excludeGroupIds>org.jboss.seam</excludeGroupIds>
+                                    <excludeClassifiers>sources, project, distribution</excludeClassifiers>
+                                    <outputDirectory>../jar-dependencies</outputDirectory>
+                                    <stripVersion>true</stripVersion>
+                                    <type>jar</type>
+                                    <transitive>true</transitive>
+                                </configuration>
+                            </execution>
+                     </executions>
+                </plugin>
+            </plugins>
+            </build>
+        </profile>
     </profiles>
 
 </project>



More information about the seam-commits mailing list