[gatein-commits] gatein SVN: r8522 - in portal/trunk/packaging/jboss-as7: pkg and 1 other directory.

do-not-reply at jboss.org do-not-reply at jboss.org
Thu Mar 1 08:36:26 EST 2012


Author: mstruk
Date: 2012-03-01 08:36:26 -0500 (Thu, 01 Mar 2012)
New Revision: 8522

Modified:
   portal/trunk/packaging/jboss-as7/README.txt
   portal/trunk/packaging/jboss-as7/pkg/pom.xml
Log:
GTNPORTAL-2154 Support for JBoss AS7
 - Added 'bundle' profile
 - Minor README.txt changes

Modified: portal/trunk/packaging/jboss-as7/README.txt
===================================================================
--- portal/trunk/packaging/jboss-as7/README.txt	2012-03-01 13:15:17 UTC (rev 8521)
+++ portal/trunk/packaging/jboss-as7/README.txt	2012-03-01 13:36:26 UTC (rev 8522)
@@ -45,8 +45,8 @@
 
 Checkout the dependencies sources from sandbox:
 
-svn co http://anonsvn.jboss.org/repos/gatein/sandbox/as7_support/tags/AS7-Beta03
-cd AS7-Beta03
+svn co http://anonsvn.jboss.org/repos/gatein/sandbox/as7_support/tags/AS7-Beta03 gatein-sandbox-AS7-Beta03
+cd gatein-sandbox-AS7-Beta03
 
 This will checkout specific versions of wci and exo.kernel.container, and a new gatein-naming component.
 
@@ -73,7 +73,8 @@
 mvn clean install
 
 
-Set CONTAINERS_DIR env variable to point to a directory containing your application servers (i.e. export CONTAINERS_DIR=$HOME/devel/containers). If you already have ‘jboss-as-7.1.0.Final’ in your CONTAINERS_DIR, then remove ‘,download’ from the next command:
+Set CONTAINERS_DIR env variable to point to a directory containing your application servers (i.e. export CONTAINERS_DIR=$HOME/devel/containers).
+If you already have ‘jboss-as-7.1.0.Final’ in your CONTAINERS_DIR, then remove ‘,download’ from the next command:
 
 cd packaging/jboss-as7
 mvn clean install -Ppkg-jbossas7,download -Dexo.projects.directory.dependencies=$CONTAINERS_DIR
@@ -86,7 +87,12 @@
 ./standalone.sh
 
 
+Access default portal at: http://localhost:8080/portal
 
+Access sample portal at: http://localhost:8080/sample-portal
+
+
+
 Customizing
 ===========
 

Modified: portal/trunk/packaging/jboss-as7/pkg/pom.xml
===================================================================
--- portal/trunk/packaging/jboss-as7/pkg/pom.xml	2012-03-01 13:15:17 UTC (rev 8521)
+++ portal/trunk/packaging/jboss-as7/pkg/pom.xml	2012-03-01 13:36:26 UTC (rev 8522)
@@ -418,5 +418,35 @@
             </plugins>
          </build>
       </profile>
+      <profile>
+         <id>bundle</id>
+         <properties>
+            <release.version>3.3.0.Alpha01</release.version>
+         </properties>
+         <build>
+            <plugins>
+               <plugin>
+                  <groupId>org.apache.maven.plugins</groupId>
+                  <artifactId>maven-antrun-plugin</artifactId>
+                  <version>1.6</version>
+                  <executions>
+                     <execution>
+                        <id>package</id>
+                        <phase>package</phase>
+                        <goals>
+                           <goal>run</goal>
+                        </goals>
+                        <configuration>
+                           <target>
+                              <zip destfile="${project.build.directory}/GateIn-${release.version}-jbossas7-preview.zip" basedir="${jbossas.target.dir}" />
+                              <attachartifact file="${project.build.directory}/GateIn-${release.version}-jbossas7-preview.zip" classifier="bundle" type="zip" />
+                           </target>
+                        </configuration>
+                     </execution>
+                  </executions>
+               </plugin>
+            </plugins>
+         </build>
+      </profile>
    </profiles>
 </project>



More information about the gatein-commits mailing list