[embjopr-commits] EMBJOPR SVN: r293 - in trunk: core and 2 other directories.

embjopr-commits at lists.jboss.org embjopr-commits at lists.jboss.org
Wed Apr 15 21:28:08 EDT 2009


Author: ips
Date: 2009-04-15 21:28:08 -0400 (Wed, 15 Apr 2009)
New Revision: 293

Modified:
   trunk/core/pom.xml
   trunk/jbas4/pom.xml
   trunk/jbas5/pom.xml
   trunk/pom.xml
Log:
[maven-release-plugin] prepare release EmbJopr_1_2_0_CR1

Modified: trunk/core/pom.xml
===================================================================
--- trunk/core/pom.xml	2009-04-16 01:21:34 UTC (rev 292)
+++ trunk/core/pom.xml	2009-04-16 01:28:08 UTC (rev 293)
@@ -1,400 +1,400 @@
-<!--
-  ~ Embedded Jopr Project
-  ~ Copyright (C) 2006-2008 Red Hat, Inc.
-  ~ All rights reserved.
-  ~
-  ~ This program is free software; you can redistribute it and/or modify
-  ~ it under the terms of the GNU Lesser General Public License as
-  ~ published by the Free Software Foundation; either version 2.1 of
-  ~ the License, or (at your option) any later version.
-  ~
-  ~ This program is distributed in the hope that it will be useful,
-  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
-  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-  ~ Lesser General Public License for more details.
-  ~
-  ~ You should have received a copy of the GNU Lesser General Public
-  ~ License along with this program; if not, write to the Free Software
-  ~ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-  -->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
-	<modelVersion>4.0.0</modelVersion>
-    
-   <parent>
-        <groupId>org.jboss.jopr</groupId>
-        <artifactId>jopr-embedded-parent</artifactId>
-        <version>1.2.0-SNAPSHOT</version>
-   </parent>
-  
-	<groupId>org.jboss.jopr</groupId>
-	<artifactId>jopr-embedded-core</artifactId>
-	<version>1.2.0-SNAPSHOT</version>
-	<packaging>war</packaging>
-	<name>Embedded Jopr Core</name>
-	<description>a web application that provides administration and monitoring of the app server instance to which it is deployed</description>
-		
-    <scm>
-		<connection>scm:svn:http://svn.jboss.org/repos/embjopr/trunk/core/</connection>
-		<developerConnection>scm:svn:https://svn.jboss.org/repos/embjopr/trunk/core/</developerConnection>
-	</scm>
-	    
-	<properties>
-      <war.dir>${basedir}/target/${project.build.finalName}</war.dir>		
-      <product.name>${project.name}</product.name>        
-      <product.version>${project.version}</product.version>    
-	</properties>
-            		
-	<dependencies>
-		<!-- == RHQ Core Dependencies ================ -->
-		<dependency>
-			<groupId>${rhq.groupId}</groupId>
-			<artifactId>rhq-core-client-api</artifactId>
-			<version>${rhq.version}</version>			
-		</dependency>
-		<dependency>
-			<groupId>${rhq.groupId}</groupId>
-			<artifactId>rhq-core-domain</artifactId>
-			<version>${rhq.version}</version>			
-		</dependency>
-		<dependency>
-			<groupId>${rhq.groupId}</groupId>
-			<artifactId>rhq-core-gui</artifactId>
-			<version>${rhq.version}</version>
-		</dependency>
-		<dependency>
-			<groupId>${rhq.groupId}</groupId>
-			<artifactId>rhq-core-plugin-container</artifactId>
-			<version>${rhq.version}</version>
-            <exclusions>
-                <exclusion>
-                    <groupId>org.hyperic</groupId>
-                    <artifactId>sigar</artifactId>
-                </exclusion>
-            </exclusions>
-		</dependency>
-		<dependency>
-			<groupId>${rhq.groupId}</groupId>
-			<artifactId>rhq-core-util</artifactId>
-			<version>${rhq.version}</version>			
-		</dependency>
-
-		<!-- == Seam Related Dependencies ================ -->
-		<dependency>
-			<groupId>${seam.groupId}</groupId>
-			<artifactId>jboss-seam</artifactId>
-			<version>${seam.version}</version>
-			<exclusions>
-			    <exclusion>
-			      <groupId>xml-apis</groupId>
-			      <artifactId>xml-apis</artifactId>     
-			    </exclusion>
-			</exclusions>
-		</dependency>
-		<dependency>
-			<groupId>${seam.groupId}</groupId>
-			<artifactId>jboss-seam-ui</artifactId>
-			<version>${seam.version}</version>
-		</dependency>
-		<!-- third party dependencies needed when running tests with Seam -->
-		<dependency>
-			<groupId>${seam.embedded.groupId}</groupId>
-			<artifactId>jboss-embedded-all</artifactId>
-			<version>${seam.embedded.version}</version>
-			<scope>test</scope>
-		</dependency>
-		<dependency>
-			<groupId>${seam.embedded.groupId}</groupId>
-			<artifactId>thirdparty-all</artifactId>
-			<version>${seam.embedded.version}</version>
-			<scope>test</scope>
-		</dependency>
-		<!--  needed because the version of javassist pulled in by Seam (3.3.GA)
-			isn't compatible with the current version of jboss embedded (beta3) -->
-		<dependency>
-			<groupId>javassist</groupId>
-			<artifactId>javassist</artifactId>
-			<version>3.5.0.GA</version>
-			<scope>test</scope>
-		</dependency>
-		<!--
-			these next two jars need to be a compile time dependency in order
-			to include the annotations used by the domain classes, but are not needed at runtime.
-			Without these in the classpath you get exceptions like this from javac:
-			com.sun.tools.javac.code.Symbol$CompletionFailure: file org\hibernate\annotations\Cascade.class not found
-			
-			IIRC this is fixed in jdk6. -->
-		<dependency>
-			<groupId>javax.persistence</groupId>
-			<artifactId>persistence-api</artifactId>
-			<version>1.0</version>
-			<scope>provided</scope>
-		</dependency>
-		<dependency>
-			<groupId>org.hibernate</groupId>
-			<artifactId>hibernate-annotations</artifactId>
-			<version>3.3.0.ga</version>
-			<scope>provided</scope>
-		</dependency>
-		<!-- don't know why this is required if you dont have it you get:
-			file org\hibernate\validator\InvalidValue.class not found
-			facesMessages.add(new FacesMessage(FacesMessage.SEVERITY_ERROR, errorMessage, null));
-		-->
-		<dependency>
-			<groupId>org.hibernate</groupId>
-			<artifactId>hibernate-validator</artifactId>
-			<version>3.0.0.ga</version>
-			<scope>provided</scope>
-			<!-- (not required at runtime) -->
-		</dependency>
-		<!-- TODO: remove this before we release -->
-		<dependency>
-			<groupId>${seam.groupId}</groupId>
-			<artifactId>jboss-seam-debug</artifactId>
-			<version>${seam.version}</version>
-			<!-- should be pulling this in directly ourselves, not relying
-				jboss-seam-debug to provide it -->
-			<exclusions>
-				<exclusion>
-					<groupId>com.sun.facelets</groupId>
-					<artifactId>jsf-facelets</artifactId>
-				</exclusion>
-			</exclusions>
-            <scope>runtime</scope>
-		</dependency>
-                
-        <dependency>
-            <groupId>javax.faces</groupId>
-            <artifactId>jsf-api</artifactId>
-            <version>1.2_10</version>
-            <scope>provided</scope>
-        </dependency>
-
-		<!-- Provided in 5.0 -->
-		<dependency>
-			<groupId>javax.el</groupId>
-			<artifactId>el-api</artifactId>
-			<version>1.0</version>
-			<scope>provided</scope>
-		</dependency>
-		<dependency>
-			<groupId>com.sun.facelets</groupId>
-			<artifactId>jsf-facelets</artifactId>
-			<version>${facelets.version}</version>
-            <scope>runtime</scope>
-		</dependency>
-        
-        <!-- ===== RichFaces ===== -->
-		<dependency>
-			<groupId>org.richfaces.framework</groupId>
-			<artifactId>richfaces-api</artifactId>
-			<version>${richfaces.version}</version>            
-		</dependency>
-		<dependency>
-			<groupId>org.richfaces.framework</groupId>
-			<artifactId>richfaces-impl</artifactId>
-			<version>${richfaces.version}</version>            
-		</dependency>
-		<dependency>
-			<groupId>org.richfaces.ui</groupId>
-			<artifactId>richfaces-ui</artifactId>
-			<version>${richfaces.version}</version>            
-		</dependency>
-                
-		<!-- == 3rd Party Provided Dependencies ================ -->
-		<dependency>
-			<groupId>javax.servlet</groupId>
-			<artifactId>servlet-api</artifactId>
-			<version>2.4</version>
-			<scope>provided</scope>
-			<!-- by JBossAS -->
-		</dependency>
-		<dependency>
-			<groupId>javax.servlet</groupId>
-			<artifactId>jsp-api</artifactId>
-			<version>2.0</version>
-			<scope>provided</scope>
-			<!-- by JBossAS -->
-		</dependency>
-		<!-- Provided in 5.0 -->
-		<dependency>
-			<groupId>javax.xml.bind</groupId>
-			<artifactId>jaxb-api</artifactId>
-			<version>${jaxb-api.version}</version>
-			<scope>provided</scope>
-		</dependency>
-		<!-- Provided in 5.0 -->
-		<dependency>
-			<groupId>com.sun.xml.bind</groupId>
-			<artifactId>jaxb-impl</artifactId>
-			<version>${jaxb-impl.version}</version>
-			<scope>provided</scope>
-		</dependency>
-	</dependencies>
-    
-	<build>		
-		<plugins>
-        
-           <plugin>
-                <artifactId>maven-dependency-plugin</artifactId>
-                <version>2.0</version>
-                <executions>
-                    <execution>
-                        <id>copy-dist-plugins</id>
-                        <phase>process-resources</phase>
-                        <goals>
-                            <goal>copy</goal>
-                        </goals>
-                        <configuration>
-                            <outputDirectory>${war.dir}/plugins</outputDirectory>
-                            <artifactItems>
-                                <artifactItem>
-                                    <groupId>
-                                        ${rhq.groupId}
-                                    </groupId>
-                                    <artifactId>
-                                        rhq-platform-plugin
-                                    </artifactId>
-                                    <version>
-                                        ${rhq.version}
-                                    </version>
-                                </artifactItem>
-                            </artifactItems>
-                        </configuration>
-                    </execution>
-                </executions>
-            </plugin>
-                                
-			<plugin>
-				<artifactId>maven-war-plugin</artifactId>
-				<configuration>
-					<useCache>false</useCache>
-					<webResources>						
-						<resource>
-							<filtering>true</filtering>
-							<directory>
-								${basedir}/src/main/webapp
-							</directory>
-						</resource>
-						<resource>
-							<directory>
-								${basedir}/src/main/webappBinary
-							</directory>
-						</resource>
-					</webResources>  
-                      <archive>
-                        <manifest>
-                           <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
-                           <addDefaultImplementationEntries>true</addDefaultImplementationEntries>              
-                        </manifest>
-                        <manifestEntries>
-                           <!-- TODO: This isn't working, because the build number plugin hasn't run yet
-                                      at the time the buildNumber prop below is resolved. -->
-                           <Build-Number>${buildNumber}</Build-Number>
-                        </manifestEntries>
-                      </archive>                    
-				</configuration>
-			</plugin>
-            
-			<plugin>
-				<artifactId>maven-surefire-plugin</artifactId>				
-				<configuration>
-					<argLine>-Djava.library.path=target/itest/lib</argLine>
-					<trimStackTrace>false</trimStackTrace>
-				</configuration>
-			</plugin>
-            
-		</plugins>
-	</build>
-        
-    <repositories>
-        <!-- If the JBoss repo is down, uncomment this to pull down the JSF jars. -->
-        <!--
-        <repository>
-            <id>java.net</id>
-            <name>java.net Maven 1 Repository</name>
-            <url>https://maven-repository.dev.java.net/repository/</url>
-            <layout>legacy</layout>
-        </repository>
-        -->
-    </repositories>
-        
-    <profiles>        
-       <profile>
-         <id>dev</id>
-
-         <properties>            
-            <jbas4.warDir>${jbas4.configDir}/deploy/${jbas4.finalName}.war</jbas4.warDir>                        
-            <jbas5.warDir>${jbas5.configDir}/deploy/${jbas5.finalName}.war</jbas5.warDir>                        
-         </properties>
-
-         <build>
-            <plugins>
-
-               <plugin>
-                 <artifactId>maven-antrun-plugin</artifactId>
-                 <version>1.1</version>
-                 <executions>
-
-                     <execution>
-                        <id>deploy-to-jbas4</id>
-                        <phase>compile</phase>
-                        <configuration>
-                          <tasks>                            
-                            <echo>*** Copying updated files from target${file.separator}classes to &lt;jbas4.warDir&gt;${file.separator}WEB-INF${file.separator}classes...</echo>
-                            <copy todir="${jbas4.warDir}/WEB-INF/classes">
-                               <fileset dir="target/classes" />
-                            </copy>                            
-                            
-                            <echo>*** Copying updated files from src${file.separator}main${file.separator}webapp${file.separator} and src${file.separator}main${file.separator}webappBinary${file.separator} to &lt;jbas4.warDir&gt;...</echo>
-                            <copy todir="${jbas4.warDir}">
-                               <fileset dir="${basedir}/src/main/webapp" />
-                               <fileset dir="${basedir}/src/main/webappBinary" />
-                            </copy>                            
-                            <!-- TODO: Also copy the files from src/main/webapp-filtered/, and then filter them ourselves. -->
-                            
-                            <echo>*** Touching &lt;jbas4.warDir&gt;/WEB-INF/web.xml to force redeploy...</echo>
-                            <touch file="${jbas4.warDir}/WEB-INF/web.xml" />                            
-                          </tasks>
-                        </configuration>
-                        <goals>
-                          <goal>run</goal>
-                        </goals>
-                     </execution>
-                     
-                     <execution>
-                        <id>deploy-to-jbas5</id>
-                        <phase>compile</phase>
-                        <configuration>
-                          <tasks>                                                                           
-                            <echo>*** Copying updated files from target${file.separator}classes to &lt;jbas5.warDir&gt;${file.separator}WEB-INF${file.separator}classes...</echo>
-                            <copy todir="${jbas5.warDir}/WEB-INF/classes">
-                               <fileset dir="target/classes" />
-                            </copy>                            
-                            
-                            <echo>*** Copying updated files from src${file.separator}main${file.separator}webapp${file.separator} and src${file.separator}main${file.separator}webappBinary${file.separator} to &lt;jbas5.warDir&gt;...</echo>
-                            <copy todir="${jbas5.warDir}">
-                               <fileset dir="${basedir}/src/main/webapp" />
-                               <fileset dir="${basedir}/src/main/webappBinary" />
-                            </copy>                            
-                            <!-- TODO: Also copy the files from src/main/webapp-filtered/, and then filter them ourselves. -->
-                            
-                            <!--                            
-                            <echo>*** Touching &lt;jbas5.warDir&gt;/WEB-INF/web.xml to force redeploy...</echo>
-                            <touch file="${jbas5.warDir}/WEB-INF/web.xml" />                                    
-                            -->
-                          </tasks>
-                        </configuration>
-                        <goals>
-                          <goal>run</goal>
-                        </goals>
-                     </execution>
-                     
-                  </executions>
-               </plugin>
-
-            </plugins>
-         </build>
-      </profile>        
-   </profiles>        
-   
-</project>
+<!--
+  ~ Embedded Jopr Project
+  ~ Copyright (C) 2006-2008 Red Hat, Inc.
+  ~ All rights reserved.
+  ~
+  ~ This program is free software; you can redistribute it and/or modify
+  ~ it under the terms of the GNU Lesser General Public License as
+  ~ published by the Free Software Foundation; either version 2.1 of
+  ~ the License, or (at your option) any later version.
+  ~
+  ~ This program is distributed in the hope that it will be useful,
+  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
+  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+  ~ Lesser General Public License for more details.
+  ~
+  ~ You should have received a copy of the GNU Lesser General Public
+  ~ License along with this program; if not, write to the Free Software
+  ~ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+  -->
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+	<modelVersion>4.0.0</modelVersion>
+    
+   <parent>
+        <groupId>org.jboss.jopr</groupId>
+        <artifactId>jopr-embedded-parent</artifactId>
+        <version>1.2.0.CR1</version>
+   </parent>
+  
+	<groupId>org.jboss.jopr</groupId>
+	<artifactId>jopr-embedded-core</artifactId>
+	<version>1.2.0.CR1</version>
+	<packaging>war</packaging>
+	<name>Embedded Jopr Core</name>
+	<description>a web application that provides administration and monitoring of the app server instance to which it is deployed</description>
+		
+    <scm>
+		<connection>scm:svn:http://svn.jboss.org/repos/embjopr/tags/EmbJopr_1_2_0_CR1/core</connection>
+		<developerConnection>scm:svn:https://svn.jboss.org/repos/embjopr/tags/EmbJopr_1_2_0_CR1/core</developerConnection>
+	</scm>
+	    
+	<properties>
+      <war.dir>${basedir}/target/${project.build.finalName}</war.dir>		
+      <product.name>${project.name}</product.name>        
+      <product.version>${project.version}</product.version>    
+	</properties>
+            		
+	<dependencies>
+		<!-- == RHQ Core Dependencies ================ -->
+		<dependency>
+			<groupId>${rhq.groupId}</groupId>
+			<artifactId>rhq-core-client-api</artifactId>
+			<version>${rhq.version}</version>			
+		</dependency>
+		<dependency>
+			<groupId>${rhq.groupId}</groupId>
+			<artifactId>rhq-core-domain</artifactId>
+			<version>${rhq.version}</version>			
+		</dependency>
+		<dependency>
+			<groupId>${rhq.groupId}</groupId>
+			<artifactId>rhq-core-gui</artifactId>
+			<version>${rhq.version}</version>
+		</dependency>
+		<dependency>
+			<groupId>${rhq.groupId}</groupId>
+			<artifactId>rhq-core-plugin-container</artifactId>
+			<version>${rhq.version}</version>
+            <exclusions>
+                <exclusion>
+                    <groupId>org.hyperic</groupId>
+                    <artifactId>sigar</artifactId>
+                </exclusion>
+            </exclusions>
+		</dependency>
+		<dependency>
+			<groupId>${rhq.groupId}</groupId>
+			<artifactId>rhq-core-util</artifactId>
+			<version>${rhq.version}</version>			
+		</dependency>
+
+		<!-- == Seam Related Dependencies ================ -->
+		<dependency>
+			<groupId>${seam.groupId}</groupId>
+			<artifactId>jboss-seam</artifactId>
+			<version>${seam.version}</version>
+			<exclusions>
+			    <exclusion>
+			      <groupId>xml-apis</groupId>
+			      <artifactId>xml-apis</artifactId>     
+			    </exclusion>
+			</exclusions>
+		</dependency>
+		<dependency>
+			<groupId>${seam.groupId}</groupId>
+			<artifactId>jboss-seam-ui</artifactId>
+			<version>${seam.version}</version>
+		</dependency>
+		<!-- third party dependencies needed when running tests with Seam -->
+		<dependency>
+			<groupId>${seam.embedded.groupId}</groupId>
+			<artifactId>jboss-embedded-all</artifactId>
+			<version>${seam.embedded.version}</version>
+			<scope>test</scope>
+		</dependency>
+		<dependency>
+			<groupId>${seam.embedded.groupId}</groupId>
+			<artifactId>thirdparty-all</artifactId>
+			<version>${seam.embedded.version}</version>
+			<scope>test</scope>
+		</dependency>
+		<!--  needed because the version of javassist pulled in by Seam (3.3.GA)
+			isn't compatible with the current version of jboss embedded (beta3) -->
+		<dependency>
+			<groupId>javassist</groupId>
+			<artifactId>javassist</artifactId>
+			<version>3.5.0.GA</version>
+			<scope>test</scope>
+		</dependency>
+		<!--
+			these next two jars need to be a compile time dependency in order
+			to include the annotations used by the domain classes, but are not needed at runtime.
+			Without these in the classpath you get exceptions like this from javac:
+			com.sun.tools.javac.code.Symbol$CompletionFailure: file org\hibernate\annotations\Cascade.class not found
+			
+			IIRC this is fixed in jdk6. -->
+		<dependency>
+			<groupId>javax.persistence</groupId>
+			<artifactId>persistence-api</artifactId>
+			<version>1.0</version>
+			<scope>provided</scope>
+		</dependency>
+		<dependency>
+			<groupId>org.hibernate</groupId>
+			<artifactId>hibernate-annotations</artifactId>
+			<version>3.3.0.ga</version>
+			<scope>provided</scope>
+		</dependency>
+		<!-- don't know why this is required if you dont have it you get:
+			file org\hibernate\validator\InvalidValue.class not found
+			facesMessages.add(new FacesMessage(FacesMessage.SEVERITY_ERROR, errorMessage, null));
+		-->
+		<dependency>
+			<groupId>org.hibernate</groupId>
+			<artifactId>hibernate-validator</artifactId>
+			<version>3.0.0.ga</version>
+			<scope>provided</scope>
+			<!-- (not required at runtime) -->
+		</dependency>
+		<!-- TODO: remove this before we release -->
+		<dependency>
+			<groupId>${seam.groupId}</groupId>
+			<artifactId>jboss-seam-debug</artifactId>
+			<version>${seam.version}</version>
+			<!-- should be pulling this in directly ourselves, not relying
+				jboss-seam-debug to provide it -->
+			<exclusions>
+				<exclusion>
+					<groupId>com.sun.facelets</groupId>
+					<artifactId>jsf-facelets</artifactId>
+				</exclusion>
+			</exclusions>
+            <scope>runtime</scope>
+		</dependency>
+                
+        <dependency>
+            <groupId>javax.faces</groupId>
+            <artifactId>jsf-api</artifactId>
+            <version>1.2_10</version>
+            <scope>provided</scope>
+        </dependency>
+
+		<!-- Provided in 5.0 -->
+		<dependency>
+			<groupId>javax.el</groupId>
+			<artifactId>el-api</artifactId>
+			<version>1.0</version>
+			<scope>provided</scope>
+		</dependency>
+		<dependency>
+			<groupId>com.sun.facelets</groupId>
+			<artifactId>jsf-facelets</artifactId>
+			<version>${facelets.version}</version>
+            <scope>runtime</scope>
+		</dependency>
+        
+        <!-- ===== RichFaces ===== -->
+		<dependency>
+			<groupId>org.richfaces.framework</groupId>
+			<artifactId>richfaces-api</artifactId>
+			<version>${richfaces.version}</version>            
+		</dependency>
+		<dependency>
+			<groupId>org.richfaces.framework</groupId>
+			<artifactId>richfaces-impl</artifactId>
+			<version>${richfaces.version}</version>            
+		</dependency>
+		<dependency>
+			<groupId>org.richfaces.ui</groupId>
+			<artifactId>richfaces-ui</artifactId>
+			<version>${richfaces.version}</version>            
+		</dependency>
+                
+		<!-- == 3rd Party Provided Dependencies ================ -->
+		<dependency>
+			<groupId>javax.servlet</groupId>
+			<artifactId>servlet-api</artifactId>
+			<version>2.4</version>
+			<scope>provided</scope>
+			<!-- by JBossAS -->
+		</dependency>
+		<dependency>
+			<groupId>javax.servlet</groupId>
+			<artifactId>jsp-api</artifactId>
+			<version>2.0</version>
+			<scope>provided</scope>
+			<!-- by JBossAS -->
+		</dependency>
+		<!-- Provided in 5.0 -->
+		<dependency>
+			<groupId>javax.xml.bind</groupId>
+			<artifactId>jaxb-api</artifactId>
+			<version>${jaxb-api.version}</version>
+			<scope>provided</scope>
+		</dependency>
+		<!-- Provided in 5.0 -->
+		<dependency>
+			<groupId>com.sun.xml.bind</groupId>
+			<artifactId>jaxb-impl</artifactId>
+			<version>${jaxb-impl.version}</version>
+			<scope>provided</scope>
+		</dependency>
+	</dependencies>
+    
+	<build>		
+		<plugins>
+        
+           <plugin>
+                <artifactId>maven-dependency-plugin</artifactId>
+                <version>2.0</version>
+                <executions>
+                    <execution>
+                        <id>copy-dist-plugins</id>
+                        <phase>process-resources</phase>
+                        <goals>
+                            <goal>copy</goal>
+                        </goals>
+                        <configuration>
+                            <outputDirectory>${war.dir}/plugins</outputDirectory>
+                            <artifactItems>
+                                <artifactItem>
+                                    <groupId>
+                                        ${rhq.groupId}
+                                    </groupId>
+                                    <artifactId>
+                                        rhq-platform-plugin
+                                    </artifactId>
+                                    <version>
+                                        ${rhq.version}
+                                    </version>
+                                </artifactItem>
+                            </artifactItems>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+                                
+			<plugin>
+				<artifactId>maven-war-plugin</artifactId>
+				<configuration>
+					<useCache>false</useCache>
+					<webResources>						
+						<resource>
+							<filtering>true</filtering>
+							<directory>
+								${basedir}/src/main/webapp
+							</directory>
+						</resource>
+						<resource>
+							<directory>
+								${basedir}/src/main/webappBinary
+							</directory>
+						</resource>
+					</webResources>  
+                      <archive>
+                        <manifest>
+                           <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
+                           <addDefaultImplementationEntries>true</addDefaultImplementationEntries>              
+                        </manifest>
+                        <manifestEntries>
+                           <!-- TODO: This isn't working, because the build number plugin hasn't run yet
+                                      at the time the buildNumber prop below is resolved. -->
+                           <Build-Number>${buildNumber}</Build-Number>
+                        </manifestEntries>
+                      </archive>                    
+				</configuration>
+			</plugin>
+            
+			<plugin>
+				<artifactId>maven-surefire-plugin</artifactId>				
+				<configuration>
+					<argLine>-Djava.library.path=target/itest/lib</argLine>
+					<trimStackTrace>false</trimStackTrace>
+				</configuration>
+			</plugin>
+            
+		</plugins>
+	</build>
+        
+    <repositories>
+        <!-- If the JBoss repo is down, uncomment this to pull down the JSF jars. -->
+        <!--
+        <repository>
+            <id>java.net</id>
+            <name>java.net Maven 1 Repository</name>
+            <url>https://maven-repository.dev.java.net/repository/</url>
+            <layout>legacy</layout>
+        </repository>
+        -->
+    </repositories>
+        
+    <profiles>        
+       <profile>
+         <id>dev</id>
+
+         <properties>            
+            <jbas4.warDir>${jbas4.configDir}/deploy/${jbas4.finalName}.war</jbas4.warDir>                        
+            <jbas5.warDir>${jbas5.configDir}/deploy/${jbas5.finalName}.war</jbas5.warDir>                        
+         </properties>
+
+         <build>
+            <plugins>
+
+               <plugin>
+                 <artifactId>maven-antrun-plugin</artifactId>
+                 <version>1.1</version>
+                 <executions>
+
+                     <execution>
+                        <id>deploy-to-jbas4</id>
+                        <phase>compile</phase>
+                        <configuration>
+                          <tasks>                            
+                            <echo>*** Copying updated files from target${file.separator}classes to &lt;jbas4.warDir&gt;${file.separator}WEB-INF${file.separator}classes...</echo>
+                            <copy todir="${jbas4.warDir}/WEB-INF/classes">
+                               <fileset dir="target/classes" />
+                            </copy>                            
+                            
+                            <echo>*** Copying updated files from src${file.separator}main${file.separator}webapp${file.separator} and src${file.separator}main${file.separator}webappBinary${file.separator} to &lt;jbas4.warDir&gt;...</echo>
+                            <copy todir="${jbas4.warDir}">
+                               <fileset dir="${basedir}/src/main/webapp" />
+                               <fileset dir="${basedir}/src/main/webappBinary" />
+                            </copy>                            
+                            <!-- TODO: Also copy the files from src/main/webapp-filtered/, and then filter them ourselves. -->
+                            
+                            <echo>*** Touching &lt;jbas4.warDir&gt;/WEB-INF/web.xml to force redeploy...</echo>
+                            <touch file="${jbas4.warDir}/WEB-INF/web.xml" />                            
+                          </tasks>
+                        </configuration>
+                        <goals>
+                          <goal>run</goal>
+                        </goals>
+                     </execution>
+                     
+                     <execution>
+                        <id>deploy-to-jbas5</id>
+                        <phase>compile</phase>
+                        <configuration>
+                          <tasks>                                                                           
+                            <echo>*** Copying updated files from target${file.separator}classes to &lt;jbas5.warDir&gt;${file.separator}WEB-INF${file.separator}classes...</echo>
+                            <copy todir="${jbas5.warDir}/WEB-INF/classes">
+                               <fileset dir="target/classes" />
+                            </copy>                            
+                            
+                            <echo>*** Copying updated files from src${file.separator}main${file.separator}webapp${file.separator} and src${file.separator}main${file.separator}webappBinary${file.separator} to &lt;jbas5.warDir&gt;...</echo>
+                            <copy todir="${jbas5.warDir}">
+                               <fileset dir="${basedir}/src/main/webapp" />
+                               <fileset dir="${basedir}/src/main/webappBinary" />
+                            </copy>                            
+                            <!-- TODO: Also copy the files from src/main/webapp-filtered/, and then filter them ourselves. -->
+                            
+                            <!--                            
+                            <echo>*** Touching &lt;jbas5.warDir&gt;/WEB-INF/web.xml to force redeploy...</echo>
+                            <touch file="${jbas5.warDir}/WEB-INF/web.xml" />                                    
+                            -->
+                          </tasks>
+                        </configuration>
+                        <goals>
+                          <goal>run</goal>
+                        </goals>
+                     </execution>
+                     
+                  </executions>
+               </plugin>
+
+            </plugins>
+         </build>
+      </profile>        
+   </profiles>        
+   
+</project>

Modified: trunk/jbas4/pom.xml
===================================================================
--- trunk/jbas4/pom.xml	2009-04-16 01:21:34 UTC (rev 292)
+++ trunk/jbas4/pom.xml	2009-04-16 01:28:08 UTC (rev 293)
@@ -5,7 +5,7 @@
    <parent>
         <groupId>org.jboss.jopr</groupId>
         <artifactId>jopr-embedded-parent</artifactId>
-        <version>1.2.0-SNAPSHOT</version>
+        <version>1.2.0.CR1</version>
    </parent>
    
 	<groupId>org.jboss.jopr</groupId>
@@ -14,8 +14,8 @@
 	<name>JBossAS 4.x Administration Console</name>
 
     <scm>
-		<connection>scm:svn:http://svn.jboss.org/repos/embjopr/trunk/jbas4/</connection>
-		<developerConnection>scm:svn:https://svn.jboss.org/repos/embjopr/trunk/jbas4/</developerConnection>
+		<connection>scm:svn:http://svn.jboss.org/repos/embjopr/tags/EmbJopr_1_2_0_CR1/jbas4</connection>
+		<developerConnection>scm:svn:https://svn.jboss.org/repos/embjopr/tags/EmbJopr_1_2_0_CR1/jbas4</developerConnection>
 	</scm>
     
    <properties>       
@@ -119,8 +119,7 @@
                             <echo>*** Overlaying messages...</echo>
          				    <replace file="${warDir}/WEB-INF/classes/messages.properties" token="default.windowTitle=JBoss Application Server Console" value="default.windowTitle=JBoss Administration Console for ESB" />
                                   
-                            <zip destfile="${warFile}" basedir="${warDir}" includes="WEB-INF/classes/messages.properties"
-                                 update="true" />  
+                            <zip destfile="${warFile}" basedir="${warDir}" includes="WEB-INF/classes/messages.properties" update="true" />  
          				</tasks>
       				</configuration>
       				<goals>

Modified: trunk/jbas5/pom.xml
===================================================================
--- trunk/jbas5/pom.xml	2009-04-16 01:21:34 UTC (rev 292)
+++ trunk/jbas5/pom.xml	2009-04-16 01:28:08 UTC (rev 293)
@@ -5,7 +5,7 @@
    <parent>
         <groupId>org.jboss.jopr</groupId>
         <artifactId>jopr-embedded-parent</artifactId>
-        <version>1.2.0-SNAPSHOT</version>
+        <version>1.2.0.CR1</version>
    </parent>
    
 	<groupId>org.jboss.jopr</groupId>
@@ -14,8 +14,8 @@
 	<name>JBossAS 5.x Administration Console</name>
 
     <scm>
-		<connection>scm:svn:http://svn.jboss.org/repos/embjopr/trunk/jbas5/</connection>
-		<developerConnection>scm:svn:https://svn.jboss.org/repos/embjopr/trunk/jbas5/</developerConnection>
+		<connection>scm:svn:http://svn.jboss.org/repos/embjopr/tags/EmbJopr_1_2_0_CR1/jbas5</connection>
+		<developerConnection>scm:svn:https://svn.jboss.org/repos/embjopr/tags/EmbJopr_1_2_0_CR1/jbas5</developerConnection>
 	</scm>
     
    <properties>       
@@ -97,8 +97,7 @@
                             <echo>*** Overlaying messages...</echo>
          				    <replace file="${warDir}/WEB-INF/classes/messages.properties" token="default.windowTitle=JBoss Application Server Console" value="default.windowTitle=JBoss Administration Console for ESB" />
                                   
-                            <zip destfile="${warFile}" basedir="${warDir}" includes="WEB-INF/classes/messages.properties"
-                                 update="true" />  
+                            <zip destfile="${warFile}" basedir="${warDir}" includes="WEB-INF/classes/messages.properties" update="true" />  
          				</tasks>
       				</configuration>
       				<goals>

Modified: trunk/pom.xml
===================================================================
--- trunk/pom.xml	2009-04-16 01:21:34 UTC (rev 292)
+++ trunk/pom.xml	2009-04-16 01:28:08 UTC (rev 293)
@@ -25,12 +25,12 @@
     <parent>
         <groupId>org.rhq</groupId>
         <artifactId>rhq-parent</artifactId>
-        <version>1.2.0-SNAPSHOT</version>
+        <version>1.2.0.EmbJopr_1_2_0-1</version>
     </parent>
 
     <groupId>org.jboss.jopr</groupId>
     <artifactId>jopr-embedded-parent</artifactId>
-    <version>1.2.0-SNAPSHOT</version>
+    <version>1.2.0.CR1</version>
     <packaging>pom</packaging>
     <name>Embedded Jopr</name>
     <description>a web application that provides administration and monitoring of the app server instance to which it is deployed</description>
@@ -42,8 +42,8 @@
     </organization>
     
     <scm>
-        <connection>scm:svn:http://svn.jboss.org/repos/embjopr/trunk/</connection>
-        <developerConnection>scm:svn:https://svn.jboss.org/repos/embjopr/trunk/</developerConnection>
+        <connection>scm:svn:http://svn.jboss.org/repos/embjopr/tags/EmbJopr_1_2_0_CR1</connection>
+        <developerConnection>scm:svn:https://svn.jboss.org/repos/embjopr/tags/EmbJopr_1_2_0_CR1</developerConnection>
     </scm>
     
     <issueManagement>
@@ -64,9 +64,9 @@
         <!-- dependency versions -->
         <jaxb-api.version>2.1</jaxb-api.version>
         <jaxb-impl.version>2.1.6</jaxb-impl.version>
-        <jon.version>2.2.0-SNAPSHOT</jon.version>
+        <jon.version>2.2.0.EmbJopr_1_2_0-1</jon.version>
         <richfaces.version>3.3.0.GA</richfaces.version>
-        <rhq.version>1.2.0-SNAPSHOT</rhq.version>
+        <rhq.version>1.2.0.EmbJopr_1_2_0-1</rhq.version>
         <seam.version>2.1.0.SP1</seam.version>
         <seam.embedded.version>beta3.SP3</seam.embedded.version>
         <!-- This is a special patched version of not-yet-released Facelets 1.1.15,




More information about the embjopr-commits mailing list