[seam-commits] Seam SVN: r14200 - branches/community/Seam_2_3/jboss-seam.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Mon Sep 26 11:53:32 EDT 2011


Author: manaRH
Date: 2011-09-26 11:53:31 -0400 (Mon, 26 Sep 2011)
New Revision: 14200

Modified:
   branches/community/Seam_2_3/jboss-seam/pom.xml
Log:
added creation of jboss-seam-wls-compatible jars for Weblogic

Modified: branches/community/Seam_2_3/jboss-seam/pom.xml
===================================================================
--- branches/community/Seam_2_3/jboss-seam/pom.xml	2011-09-26 15:53:12 UTC (rev 14199)
+++ branches/community/Seam_2_3/jboss-seam/pom.xml	2011-09-26 15:53:31 UTC (rev 14200)
@@ -57,6 +57,40 @@
                       </execution>
                   </executions>
              </plugin>
+             <plugin>
+                 <artifactId>maven-antrun-plugin</artifactId>
+                 <version>1.6</version>
+                  <configuration>
+                     <target>
+	                     <jar destfile="${project.build.directory}/jboss-seam-wls-compatible.jar">
+						    <zipfileset includes="**/*" excludes="org/jboss/seam/async/TimerServiceDispatcher*" src="${project.build.directory}/jboss-seam.jar"/>
+						    <manifest>
+								<attribute name="Built-By" value="${user.name}"/>
+								<attribute name="Implementation-Vendor" value="${project.organization.name}"/>
+								<attribute name="Implementation-Title" value="JBoss Seam Weblogic compatible"/>
+								<attribute name="Implementation-Version" value="${project.version}"/>
+						    </manifest>
+						  </jar>
+						  <jar destfile="${project.build.directory}/jboss-seam-wls-compatible-sources.jar">
+                            <zipfileset includes="**/*" excludes="org/jboss/seam/async/TimerServiceDispatcher.java" src="${project.build.directory}/jboss-seam-sources.jar"/>
+                            <manifest>
+                                <attribute name="Built-By" value="${user.name}"/>
+                                <attribute name="Implementation-Vendor" value="${project.organization.name}"/>
+                                <attribute name="Implementation-Title" value="JBoss Seam Weblogic compatible"/>
+                                <attribute name="Implementation-Version" value="${project.version}"/>
+                            </manifest>
+                          </jar>
+                     </target>
+                 </configuration>
+                 <executions>
+                      <execution>
+                          <phase>package</phase>
+                          <goals>
+                              <goal>run</goal>
+                          </goals>
+                      </execution>
+                  </executions>
+             </plugin>
 		</plugins>
 	</build>
 



More information about the seam-commits mailing list