Author: sohil.shah(a)jboss.com
Date: 2009-11-17 15:57:59 -0500 (Tue, 17 Nov 2009)
New Revision: 13842
Modified:
jbossexo/modules/sso/trunk/packaging/cas/pom.xml
jbossexo/modules/sso/trunk/packaging/profiles.xml
jbossexo/modules/sso/trunk/pom.xml
Log:
packaging and deployment
Modified: jbossexo/modules/sso/trunk/packaging/cas/pom.xml
===================================================================
--- jbossexo/modules/sso/trunk/packaging/cas/pom.xml 2009-11-17 18:46:02 UTC (rev 13841)
+++ jbossexo/modules/sso/trunk/packaging/cas/pom.xml 2009-11-17 20:57:59 UTC (rev 13842)
@@ -11,11 +11,44 @@
<artifactId>cas-pkg</artifactId>
<packaging>jar</packaging>
<name>CAS Agent and Server Packages</name>
+
+ <dependencies>
+ <!-- gatein installation dependencies -->
+ <!-- -
+ <dependency>
+ <groupId>org.gatein.sso</groupId>
+ <artifactId>auth-callback</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.gatein.sso</groupId>
+ <artifactId>agent</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.jasig.cas</groupId>
+ <artifactId>cas-client-core</artifactId>
+ </dependency>
+ -->
+
+ <!-- cas server plugin installation dependencies -->
+ <!--
+ <dependency>
+ <groupId>org.gatein.sso</groupId>
+ <artifactId>gatein-cas-plugin</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>commons-httpclient</groupId>
+ <artifactId>commons-httpclient</artifactId>
+ </dependency>
+ -->
+ </dependencies>
<profiles>
<!-- Install the CAS Agent into the Gatein Server -->
<profile>
- <id>gatein-install</id>
+ <id>gatein-cas-install</id>
<build>
<plugins>
<plugin>
@@ -33,7 +66,7 @@
<delete dir="${basedir}/target/gatein"/>
<mkdir dir="${basedir}/target/gatein"/>
- <unjar
src="${settings.localRepository}/org/exoplatform/portal/exo.portal.web.portal/${org.exoplatform.portal.version}/exo.portal.web.portal-${org.exoplatform.portal.version}.war"
+ <unjar
src="${gatein.location}/deploy/gatein.ear/02portal.war"
dest="${basedir}/target/gatein/portal.war"
overwrite="true"/>
<!-- override the core artifacts -->
@@ -92,7 +125,7 @@
<!-- Install the CAS Plugin into a CAS Server -->
<profile>
- <id>plugin-install</id>
+ <id>plugin-cas-install</id>
<build>
<plugins>
<plugin>
@@ -141,10 +174,10 @@
<jar destfile="${basedir}/target/plugin.jar"
basedir="${basedir}/target/plugin"/>
<!-- explode the jar to install the plugin -->
- <unjar src="${basedir}/target/plugin.jar"
dest="${tomcat60.cas.location}" overwrite="true"/>
+ <unjar src="${basedir}/target/plugin.jar"
dest="${tomcat60.location}" overwrite="true"/>
<!-- cleanup -->
- <delete dir="${tomcat60.cas.location}/META-INF"/>
+ <delete dir="${tomcat60.location}/META-INF"/>
</tasks>
</configuration>
<goals>
Modified: jbossexo/modules/sso/trunk/packaging/profiles.xml
===================================================================
--- jbossexo/modules/sso/trunk/packaging/profiles.xml 2009-11-17 18:46:02 UTC (rev 13841)
+++ jbossexo/modules/sso/trunk/packaging/profiles.xml 2009-11-17 20:57:59 UTC (rev 13842)
@@ -18,27 +18,50 @@
02110-1301 USA, or see the FSF site:
http://www.fsf.org.
-->
-
<profilesXml>
<profiles>
<profile>
- <id>gatein-install</id>
+ <id>gatein-cas-install</id>
<properties>
<!-- ChangeMe to your specific local environment -->
<gatein.location>/home/soshah/projects/gatein/runtime/jboss/server/default</gatein.location>
</properties>
</profile>
<profile>
- <id>plugin-install</id>
+ <id>plugin-cas-install</id>
<properties>
<!-- ChangeMe to your specific local environment -->
-
<tomcat60.cas.location>/home/soshah/projects/gatein/runtime/tomcat-cas-3.3.4</tomcat60.cas.location>
-
+
<tomcat60.location>/home/soshah/projects/gatein/runtime/tomcat-cas-3.3.4</tomcat60.location>
+ </properties>
+ </profile>
+
+ <profile>
+ <id>gatein-josso-install</id>
+ <properties>
+ <!-- ChangeMe to your specific local environment -->
+
<gatein.location>/home/soshah/projects/gatein/runtime/jboss/server/default</gatein.location>
+ </properties>
+ </profile>
+ <profile>
+ <id>plugin-josso-install</id>
+ <properties>
<!-- ChangeMe to your specific local environment -->
-
<tomcat60.josso.location>/home/soshah/projects/gatein/runtime/tomcat-josso-1.8.1</tomcat60.josso.location>
-
+
<tomcat60.location>/home/soshah/projects/gatein/runtime/tomcat-josso-1.8.1</tomcat60.location>
+ </properties>
+ </profile>
+
+ <profile>
+ <id>gatein-opensso-install</id>
+ <properties>
+ <!-- ChangeMe to your specific local environment -->
+
<gatein.location>/home/soshah/projects/gatein/runtime/jboss/server/default</gatein.location>
+ </properties>
+ </profile>
+ <profile>
+ <id>plugin-opensso-install</id>
+ <properties>
<!-- ChangeMe to your specific local environment -->
-
<tomcat60.opensso.location>/home/soshah/projects/gatein/runtime/tomcat-opensso-8.0</tomcat60.opensso.location>
+
<tomcat60.location>/home/soshah/projects/gatein/runtime/tomcat-opensso-8.0</tomcat60.location>
</properties>
</profile>
</profiles>
Modified: jbossexo/modules/sso/trunk/pom.xml
===================================================================
--- jbossexo/modules/sso/trunk/pom.xml 2009-11-17 18:46:02 UTC (rev 13841)
+++ jbossexo/modules/sso/trunk/pom.xml 2009-11-17 20:57:59 UTC (rev 13842)
@@ -25,7 +25,7 @@
<module>auth-callback</module>
<module>gatein-cas-plugin</module>
<module>gatein-josso-plugin</module>
- <module>gatein-opensso-plugin</module>
+ <!-- <module>gatein-opensso-plugin</module> -->
<module>packaging</module>
</modules>
@@ -188,7 +188,7 @@
<groupId>org.exoplatform.portal</groupId>
<artifactId>exo.portal.component.web</artifactId>
<version>${org.exoplatform.portal.version}</version>
- </dependency>
+ </dependency>
<!-- servlet-api -->