Picketlink SVN: r1522 - in social/trunk: openid/src/main/java/org/picketlink/social/openid/auth and 1 other directory.
by picketlink-commits@lists.jboss.org
Author: anil.saldhana(a)jboss.com
Date: 2012-03-19 11:56:46 -0400 (Mon, 19 Mar 2012)
New Revision: 1522
Modified:
social/trunk/facebook/src/main/java/org/picketlink/social/facebook/FacebookProcessor.java
social/trunk/facebook/src/main/java/org/picketlink/social/facebook/SecurityActions.java
social/trunk/openid/src/main/java/org/picketlink/social/openid/auth/OpenIDProcessor.java
social/trunk/openid/src/main/java/org/picketlink/social/openid/auth/SecurityActions.java
Log:
fix jboss detection
Modified: social/trunk/facebook/src/main/java/org/picketlink/social/facebook/FacebookProcessor.java
===================================================================
--- social/trunk/facebook/src/main/java/org/picketlink/social/facebook/FacebookProcessor.java 2012-03-15 01:28:49 UTC (rev 1521)
+++ social/trunk/facebook/src/main/java/org/picketlink/social/facebook/FacebookProcessor.java 2012-03-19 15:56:46 UTC (rev 1522)
@@ -234,15 +234,9 @@
private boolean isJBossEnv()
{
- ClassLoader tcl = SecurityActions.getContextClassLoader();
- Class<?> clazz = null;
- try
- {
- clazz = tcl.loadClass("org.jboss.system.Service");
- }
- catch (ClassNotFoundException e)
- {
- }
+ Class<?> clazz = SecurityActions.loadClass(getClass(), "org.jboss.as.web.WebServer");
+ if(clazz == null)
+ clazz = SecurityActions.loadClass(getClass(), "org.jboss.system.Service");
if( clazz != null )
return true;
return false;
Modified: social/trunk/facebook/src/main/java/org/picketlink/social/facebook/SecurityActions.java
===================================================================
--- social/trunk/facebook/src/main/java/org/picketlink/social/facebook/SecurityActions.java 2012-03-15 01:28:49 UTC (rev 1521)
+++ social/trunk/facebook/src/main/java/org/picketlink/social/facebook/SecurityActions.java 2012-03-19 15:56:46 UTC (rev 1522)
@@ -133,4 +133,33 @@
}
});
}
+
+ /**
+ * Using the caller class, try to load a class using its classloader. If unsuccessful, use the TCCL
+ * @param theAskingClass
+ * @param fqn
+ * @return
+ */
+ static Class<?> loadClass(final Class<?> theAskingClass, final String fqn)
+ {
+ return AccessController.doPrivileged(new PrivilegedAction<Class<?>>()
+ {
+ public Class<?> run()
+ {
+ try
+ {
+ ClassLoader tcl = theAskingClass.getClassLoader();
+ return tcl.loadClass(fqn);
+ }
+ catch (Exception e)
+ {
+ try {
+ return Thread.currentThread().getContextClassLoader().loadClass(fqn);
+ } catch (ClassNotFoundException e1) {
+ return null;
+ }
+ }
+ }
+ });
+ }
}
\ No newline at end of file
Modified: social/trunk/openid/src/main/java/org/picketlink/social/openid/auth/OpenIDProcessor.java
===================================================================
--- social/trunk/openid/src/main/java/org/picketlink/social/openid/auth/OpenIDProcessor.java 2012-03-15 01:28:49 UTC (rev 1521)
+++ social/trunk/openid/src/main/java/org/picketlink/social/openid/auth/OpenIDProcessor.java 2012-03-19 15:56:46 UTC (rev 1522)
@@ -300,15 +300,9 @@
private boolean isJBossEnv()
{
- ClassLoader tcl = SecurityActions.getContextClassLoader();
- Class<?> clazz = null;
- try
- {
- clazz = tcl.loadClass("org.jboss.system.Service");
- }
- catch (ClassNotFoundException e)
- {
- }
+ Class<?> clazz = SecurityActions.loadClass(getClass(), "org.jboss.as.web.WebServer");
+ if(clazz == null)
+ clazz = SecurityActions.loadClass(getClass(), "org.jboss.system.Service");
if( clazz != null )
return true;
return false;
Modified: social/trunk/openid/src/main/java/org/picketlink/social/openid/auth/SecurityActions.java
===================================================================
--- social/trunk/openid/src/main/java/org/picketlink/social/openid/auth/SecurityActions.java 2012-03-15 01:28:49 UTC (rev 1521)
+++ social/trunk/openid/src/main/java/org/picketlink/social/openid/auth/SecurityActions.java 2012-03-19 15:56:46 UTC (rev 1522)
@@ -117,5 +117,34 @@
}
});
}
+
+ /**
+ * Using the caller class, try to load a class using its classloader. If unsuccessful, use the TCCL
+ * @param theAskingClass
+ * @param fqn
+ * @return
+ */
+ static Class<?> loadClass(final Class<?> theAskingClass, final String fqn)
+ {
+ return AccessController.doPrivileged(new PrivilegedAction<Class<?>>()
+ {
+ public Class<?> run()
+ {
+ try
+ {
+ ClassLoader tcl = theAskingClass.getClassLoader();
+ return tcl.loadClass(fqn);
+ }
+ catch (Exception e)
+ {
+ try {
+ return Thread.currentThread().getContextClassLoader().loadClass(fqn);
+ } catch (ClassNotFoundException e1) {
+ return null;
+ }
+ }
+ }
+ });
+ }
}
\ No newline at end of file
12 years, 9 months
Picketlink SVN: r1521 - console/trunk.
by picketlink-commits@lists.jboss.org
Author: pcraveiro
Date: 2012-03-14 21:28:49 -0400 (Wed, 14 Mar 2012)
New Revision: 1521
Modified:
console/trunk/
Log:
Initial import.
Property changes on: console/trunk
___________________________________________________________________
Modified: svn:ignore
- .settings
+ .settings
.project
12 years, 9 months
Picketlink SVN: r1520 - console/trunk.
by picketlink-commits@lists.jboss.org
Author: pcraveiro
Date: 2012-03-14 21:28:35 -0400 (Wed, 14 Mar 2012)
New Revision: 1520
Modified:
console/trunk/
Log:
Initial import.
Property changes on: console/trunk
___________________________________________________________________
Added: svn:ignore
+ .settings
12 years, 9 months
Picketlink SVN: r1519 - console/trunk/gui.
by picketlink-commits@lists.jboss.org
Author: pcraveiro
Date: 2012-03-14 21:27:41 -0400 (Wed, 14 Mar 2012)
New Revision: 1519
Modified:
console/trunk/gui/
Log:
Initial import.
Property changes on: console/trunk/gui
___________________________________________________________________
Modified: svn:ignore
- .classpath
.project
+ .classpath
.project
.settings
12 years, 9 months
Picketlink SVN: r1518 - console/trunk/gui.
by picketlink-commits@lists.jboss.org
Author: pcraveiro
Date: 2012-03-14 21:27:23 -0400 (Wed, 14 Mar 2012)
New Revision: 1518
Modified:
console/trunk/gui/
Log:
Initial import.
Property changes on: console/trunk/gui
___________________________________________________________________
Added: svn:ignore
+ .classpath
.project
12 years, 9 months
Picketlink SVN: r1517 - console/trunk/app.
by picketlink-commits@lists.jboss.org
Author: pcraveiro
Date: 2012-03-14 21:26:56 -0400 (Wed, 14 Mar 2012)
New Revision: 1517
Modified:
console/trunk/app/
Log:
Initial import.
Property changes on: console/trunk/app
___________________________________________________________________
Modified: svn:ignore
- .classpath
.project
.gwt
+ .classpath
.project
.gwt
.settings
12 years, 9 months
Picketlink SVN: r1516 - console/trunk/app.
by picketlink-commits@lists.jboss.org
Author: pcraveiro
Date: 2012-03-14 21:26:41 -0400 (Wed, 14 Mar 2012)
New Revision: 1516
Modified:
console/trunk/app/
Log:
Initial import.
Property changes on: console/trunk/app
___________________________________________________________________
Modified: svn:ignore
- .classpath
.project
+ .classpath
.project
.gwt
12 years, 9 months
Picketlink SVN: r1515 - console/trunk/app.
by picketlink-commits@lists.jboss.org
Author: pcraveiro
Date: 2012-03-14 21:26:24 -0400 (Wed, 14 Mar 2012)
New Revision: 1515
Modified:
console/trunk/app/
Log:
Initial import.
Property changes on: console/trunk/app
___________________________________________________________________
Added: svn:ignore
+ .classpath
.project
12 years, 9 months
Picketlink SVN: r1514 - in console/trunk: gui and 1 other directory.
by picketlink-commits@lists.jboss.org
Author: pcraveiro
Date: 2012-03-14 21:24:28 -0400 (Wed, 14 Mar 2012)
New Revision: 1514
Added:
console/trunk/app/pom.xml
console/trunk/gui/pom.xml
Log:
Initial import.
Added: console/trunk/app/pom.xml
===================================================================
--- console/trunk/app/pom.xml (rev 0)
+++ console/trunk/app/pom.xml 2012-03-15 01:24:28 UTC (rev 1514)
@@ -0,0 +1,274 @@
+<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/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <artifactId>picketlink-console-parent</artifactId>
+ <groupId>org.picketlink.as</groupId>
+ <version>1.0.0-SNAPSHOT</version>
+ <relativePath>..</relativePath>
+ </parent>
+ <name>PicketLink: Management Console Application</name>
+ <description>Integrated AS7 console application, which includes the PicketLink extension.</description>
+ <packaging>war</packaging>
+ <artifactId>picketlink-console-application</artifactId>
+
+ <organization>
+ <name>JBoss, a division of Red Hat</name>
+ <url>http://www.jboss.org</url>
+ </organization>
+
+ <licenses>
+ <license>
+ <name>lgpl</name>
+ <url>http://repository.jboss.org/licenses/lgpl-2.1.txt</url>
+ <distribution>repo</distribution>
+ </license>
+ </licenses>
+
+ <properties>
+ <webappDirectory>${project.build.directory}/${project.build.finalName}</webappDirectory>
+ </properties>
+
+ <dependencies>
+
+ <dependency>
+ <groupId>org.picketlink.as</groupId>
+ <artifactId>picketlink-console-extension</artifactId>
+ <scope>provided</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>org.jboss.ballroom</groupId>
+ <artifactId>widgets</artifactId>
+ <scope>provided</scope>
+ </dependency>
+
+ <!-- Need to include the source files for GWT compilation. -->
+ <dependency>
+ <groupId>org.switchyard.console</groupId>
+ <artifactId>switchyard-console-as7-core</artifactId>
+ <classifier>sources</classifier>
+ <scope>provided</scope>
+ </dependency>
+
+ <!-- XXX: replace with proper AS dependency once console includes extension
+ support. -->
+ <dependency>
+ <groupId>org.switchyard.console</groupId>
+ <artifactId>switchyard-console-as7-core</artifactId>
+ <scope>provided</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>com.google.gwt</groupId>
+ <artifactId>gwt-servlet</artifactId>
+ <scope>runtime</scope>
+ </dependency>
+ <dependency>
+ <groupId>com.google.gwt</groupId>
+ <artifactId>gwt-user</artifactId>
+ <scope>provided</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>com.google.code</groupId>
+ <artifactId>gwt-visualization</artifactId>
+ <scope>provided</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>com.google.code.gwt-log</groupId>
+ <artifactId>gwt-log</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>com.gwtplatform</groupId>
+ <artifactId>gwtp-mvp-client</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>com.google.inject</groupId>
+ <artifactId>guice</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>com.google.inject.extensions</groupId>
+ <artifactId>guice-assistedinject</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>com.google.gwt.inject</groupId>
+ <artifactId>gin</artifactId>
+ </dependency>
+
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>com.google.gwt</groupId>
+ <artifactId>gwt-dev</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ </dependencies>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>gwt-maven-plugin</artifactId>
+ <version>2.3.0</version>
+ <executions>
+ <execution>
+ <goals>
+ <goal>compile</goal>
+ <goal>test</goal>
+ </goals>
+ </execution>
+ </executions>
+ <!-- Plugin configuration. There are many available options, see gwt-maven-plugin
+ documentation at codehaus.org -->
+ <configuration>
+ <compileReport>false</compileReport>
+ <hostedWebapp>${webappDirectory}</hostedWebapp>
+ <htmlunit>FF3,IE7</htmlunit>
+ <logLevel>TRACE</logLevel>
+ <mode>htmlunit</mode>
+ <runTarget>App.html</runTarget>
+ <module>org.picketlink.as.console.application.App</module>
+ <extraJvmArgs>-Xmx512m</extraJvmArgs>
+ <localWorkers>2</localWorkers>
+ </configuration>
+ </plugin>
+ <!-- Copy static web files before executing gwt:run -->
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-war-plugin</artifactId>
+ <executions>
+ <execution>
+ <phase>compile</phase>
+ <goals>
+ <goal>exploded</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <failOnMissingWebXml>false</failOnMissingWebXml>
+ <packagingExcludes>WEB-INF/**</packagingExcludes>
+ <overlays>
+ <overlay>
+ <id>core-web-resources</id>
+ <groupId>org.switchyard.console</groupId>
+ <artifactId>switchyard-console-as7-core</artifactId>
+ <type>jar</type>
+ <includes>
+ <include>images/**</include>
+ <include>*.html</include>
+ </includes>
+ </overlay>
+ </overlays>
+ </configuration>
+ </plugin>
+ </plugins>
+ <pluginManagement>
+ <plugins>
+ <!--This plugin's configuration is used to store Eclipse m2e settings
+ only. It has no influence on the Maven build itself. -->
+ <plugin>
+ <groupId>org.eclipse.m2e</groupId>
+ <artifactId>lifecycle-mapping</artifactId>
+ <version>1.0.0</version>
+ <configuration>
+ <lifecycleMappingMetadata>
+ <pluginExecutions>
+ <pluginExecution>
+ <pluginExecutionFilter>
+ <groupId>
+ org.apache.maven.plugins
+ </groupId>
+ <artifactId>
+ maven-war-plugin
+ </artifactId>
+ <versionRange>
+ [2.1.1,)
+ </versionRange>
+ <goals>
+ <goal>exploded</goal>
+ </goals>
+ </pluginExecutionFilter>
+ <action>
+ <ignore></ignore>
+ </action>
+ </pluginExecution>
+ </pluginExecutions>
+ </lifecycleMappingMetadata>
+ </configuration>
+ </plugin>
+ </plugins>
+ </pluginManagement>
+ </build>
+
+ <profiles>
+ <profile>
+ <id>dev</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>gwt-maven-plugin</artifactId>
+ <version>2.3.0</version>
+ <executions>
+ <execution>
+ <goals>
+ <goal>compile</goal>
+ <goal>test</goal>
+ </goals>
+ </execution>
+ </executions>
+ <!-- Plugin configuration. There are many available options, see gwt-maven-plugin
+ documentation at codehaus.org -->
+ <configuration>
+ <compileReport>false</compileReport>
+ <hostedWebapp>${webappDirectory}</hostedWebapp>
+ <htmlunit>FF3,IE7</htmlunit>
+ <logLevel>TRACE</logLevel>
+ <mode>htmlunit</mode>
+ <runTarget>App.html</runTarget>
+ <module>org.picketlink.as.console.application.Development</module>
+ <extraJvmArgs>-Xmx512m</extraJvmArgs>
+ <localWorkers>2</localWorkers>
+ </configuration>
+ </plugin>
+ <!-- Copy static web files before executing gwt:run -->
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-war-plugin</artifactId>
+ <executions>
+ <execution>
+ <phase>compile</phase>
+ <goals>
+ <goal>exploded</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <failOnMissingWebXml>false</failOnMissingWebXml>
+ <packagingExcludes>WEB-INF/**</packagingExcludes>
+ <overlays>
+ <overlay>
+ <id>core-web-resources</id>
+ <groupId>org.switchyard.console</groupId>
+ <artifactId>switchyard-console-as7-core</artifactId>
+ <type>jar</type>
+ <includes>
+ <include>images/**</include>
+ <include>*.html</include>
+ </includes>
+ </overlay>
+ </overlays>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
+
+</project>
\ No newline at end of file
Added: console/trunk/gui/pom.xml
===================================================================
--- console/trunk/gui/pom.xml (rev 0)
+++ console/trunk/gui/pom.xml 2012-03-15 01:24:28 UTC (rev 1514)
@@ -0,0 +1,166 @@
+<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/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <artifactId>picketlink-console-parent</artifactId>
+ <groupId>org.picketlink.as</groupId>
+ <version>1.0.0-SNAPSHOT</version>
+ <relativePath>..</relativePath>
+ </parent>
+ <artifactId>picketlink-console-extension</artifactId>
+
+ <packaging>jar</packaging>
+
+ <organization>
+ <name>JBoss, a division of Red Hat</name>
+ <url>http://www.jboss.org</url>
+ </organization>
+
+ <licenses>
+ <license>
+ <name>lgpl</name>
+ <url>http://repository.jboss.org/licenses/lgpl-2.1.txt</url>
+ <distribution>repo</distribution>
+ </license>
+ </licenses>
+
+ <dependencies>
+
+ <dependency>
+ <groupId>org.jboss.ballroom</groupId>
+ <artifactId>widgets</artifactId>
+ <scope>provided</scope>
+ </dependency>
+
+ <!-- XXX: replace with proper AS dependency once console includes extension
+ support. -->
+ <dependency>
+ <groupId>org.switchyard.console</groupId>
+ <artifactId>switchyard-console-as7-core</artifactId>
+ <scope>provided</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>com.google.gwt</groupId>
+ <artifactId>gwt-servlet</artifactId>
+ <scope>runtime</scope>
+ </dependency>
+ <dependency>
+ <groupId>com.google.gwt</groupId>
+ <artifactId>gwt-user</artifactId>
+ <scope>provided</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>com.google.code</groupId>
+ <artifactId>gwt-visualization</artifactId>
+ <scope>provided</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>com.google.code.gwt-log</groupId>
+ <artifactId>gwt-log</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>com.gwtplatform</groupId>
+ <artifactId>gwtp-mvp-client</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>com.google.inject</groupId>
+ <artifactId>guice</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>com.google.inject.extensions</groupId>
+ <artifactId>guice-assistedinject</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>com.google.gwt.inject</groupId>
+ <artifactId>gin</artifactId>
+ </dependency>
+
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>com.google.gwt</groupId>
+ <artifactId>gwt-dev</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ </dependencies>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>gwt-maven-plugin</artifactId>
+ <version>2.3.0</version>
+ <executions>
+ <execution>
+ <goals>
+ <goal>resources</goal>
+ <goal>test</goal>
+ </goals>
+ </execution>
+ </executions>
+ <!-- Plugin configuration. There are many available options, see gwt-maven-plugin
+ documentation at codehaus.org -->
+ <configuration>
+ <htmlunit>FF3,IE7</htmlunit>
+ <logLevel>TRACE</logLevel>
+ <mode>htmlunit</mode>
+ <extraJvmArgs>-Xmx512m</extraJvmArgs>
+ <localWorkers>2</localWorkers>
+ </configuration>
+ </plugin>
+
+ <!-- Remove GWT tests -->
+ <plugin>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <excludes>
+ <exclude>**/GwtTest*.java</exclude>
+ </excludes>
+ </configuration>
+ </plugin>
+ </plugins>
+ <pluginManagement>
+ <plugins>
+ <!--This plugin's configuration is used to store Eclipse m2e settings
+ only. It has no influence on the Maven build itself. -->
+ <plugin>
+ <groupId>org.eclipse.m2e</groupId>
+ <artifactId>lifecycle-mapping</artifactId>
+ <version>1.0.0</version>
+ <configuration>
+ <lifecycleMappingMetadata>
+ <pluginExecutions>
+ <pluginExecution>
+ <pluginExecutionFilter>
+ <groupId>
+ org.codehaus.mojo
+ </groupId>
+ <artifactId>
+ gwt-maven-plugin
+ </artifactId>
+ <versionRange>
+ [2.3.0,)
+ </versionRange>
+ <goals>
+ <goal>resources</goal>
+ </goals>
+ </pluginExecutionFilter>
+ <action>
+ <ignore></ignore>
+ </action>
+ </pluginExecution>
+ </pluginExecutions>
+ </lifecycleMappingMetadata>
+ </configuration>
+ </plugin>
+ </plugins>
+ </pluginManagement>
+ </build>
+</project>
\ No newline at end of file
12 years, 9 months
Picketlink SVN: r1513 - console/trunk.
by picketlink-commits@lists.jboss.org
Author: pcraveiro
Date: 2012-03-14 21:24:12 -0400 (Wed, 14 Mar 2012)
New Revision: 1513
Added:
console/trunk/README.md
console/trunk/pom.xml
Log:
Initial import.
Added: console/trunk/README.md
===================================================================
--- console/trunk/README.md (rev 0)
+++ console/trunk/README.md 2012-03-15 01:24:12 UTC (rev 1513)
@@ -0,0 +1 @@
+Document profiles dev vs production
\ No newline at end of file
Added: console/trunk/pom.xml
===================================================================
--- console/trunk/pom.xml (rev 0)
+++ console/trunk/pom.xml 2012-03-15 01:24:12 UTC (rev 1513)
@@ -0,0 +1,253 @@
+<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/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.picketlink.as</groupId>
+ <artifactId>picketlink-console-parent</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
+ <packaging>pom</packaging>
+ <name>PicketLink AS7 Console Parent</name>
+
+ <organization>
+ <name>JBoss, a division of Red Hat</name>
+ <url>http://www.jboss.org</url>
+ </organization>
+
+ <licenses>
+ <license>
+ <name>lgpl</name>
+ <url>http://repository.jboss.org/licenses/lgpl-2.1.txt</url>
+ <distribution>repo</distribution>
+ </license>
+ </licenses>
+
+ <modules>
+ <module>gui</module>
+ <module>app</module>
+ </modules>
+ <properties>
+ <gwt.version>2.3.0</gwt.version>
+ <gwtp.version>0.6</gwtp.version>
+ <gin.version>1.5_past22</gin.version>
+ <gwt-log.version>3.1.3</gwt-log.version>
+ <gwt-vis.version>1.1.1</gwt-vis.version>
+ <guice.version>3.0</guice.version>
+ <ballroom.version>1.1.0-SNAPSHOT</ballroom.version>
+ </properties>
+
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.picketlink.as</groupId>
+ <artifactId>picketlink-console-extension</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
+ <scope>provided</scope>
+ </dependency>
+
+ <!-- GWT Common Dependencies -->
+ <dependency>
+ <groupId>com.google.gwt</groupId>
+ <artifactId>gwt-user</artifactId>
+ <version>${gwt.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>com.google.gwt</groupId>
+ <artifactId>gwt-servlet</artifactId>
+ <version>${gwt.version}</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>com.google.gwt</groupId>
+ <artifactId>gwt-dev</artifactId>
+ <version>${gwt.version}</version>
+ </dependency>
+
+ <!-- GWTP Dependencies -->
+ <dependency>
+ <groupId>com.gwtplatform</groupId>
+ <artifactId>gwtp-mvp-client</artifactId>
+ <version>${gwtp.version}</version>
+ <scope>provided</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>com.gwtplatform</groupId>
+ <artifactId>gwtp-dispatch-server</artifactId>
+ <version>${gwtp.version}</version>
+ </dependency>
+
+ <dependency>
+ <groupId>com.gwtplatform</groupId>
+ <artifactId>gwtp-dispatch-server-guice</artifactId>
+ <version>${gwtp.version}</version>
+ </dependency>
+
+ <dependency>
+ <groupId>com.gwtplatform</groupId>
+ <artifactId>gwtp-dispatch-client</artifactId>
+ <version>${gwtp.version}</version>
+ <scope>provided</scope> <!-- Remove for GWTP 0.5.1 and earlier -->
+ </dependency>
+
+
+ <!-- GWT DI Dependencies -->
+ <dependency>
+ <groupId>com.google.inject</groupId>
+ <artifactId>guice</artifactId>
+ <version>${guice.version}</version>
+ </dependency>
+
+ <dependency>
+ <groupId>com.google.inject.extensions</groupId>
+ <artifactId>guice-servlet</artifactId>
+ <version>${guice.version}</version>
+ </dependency>
+
+ <dependency>
+ <groupId>com.google.inject.extensions</groupId>
+ <artifactId>guice-persist</artifactId>
+ <version>${guice.version}</version>
+ </dependency>
+
+ <dependency>
+ <groupId>com.google.inject.extensions</groupId>
+ <artifactId>guice-assistedinject</artifactId>
+ <version>${guice.version}</version>
+ </dependency>
+
+ <dependency>
+ <groupId>com.google.gwt.inject</groupId>
+ <artifactId>gin</artifactId>
+ <version>${gin.version}</version>
+ </dependency>
+
+ <dependency>
+ <groupId>com.google.code</groupId>
+ <artifactId>gwt-visualization</artifactId>
+ <version>${gwt-vis.version}</version>
+ </dependency>
+
+ <dependency>
+ <groupId>com.google.code.gwt-log</groupId>
+ <artifactId>gwt-log</artifactId>
+ <version>${gwt-log.version}</version>
+ </dependency>
+
+ <!-- JBoss Ballroom Dependencies -->
+ <dependency>
+ <groupId>org.jboss.ballroom</groupId>
+ <artifactId>widgets</artifactId>
+ <version>${ballroom.version}</version>
+ </dependency>
+
+ <!-- SY AS7 Extension Dependency -->
+ <dependency>
+ <groupId>org.switchyard.console</groupId>
+ <artifactId>switchyard-console-as7-core</artifactId>
+ <version>0.4.0-SNAPSHOT</version>
+ <scope>compile</scope>
+ </dependency>
+ <!-- Need to include the source files for GWT compilation. -->
+ <dependency>
+ <groupId>org.switchyard.console</groupId>
+ <artifactId>switchyard-console-as7-core</artifactId>
+ <version>0.4.0-SNAPSHOT</version>
+ <classifier>sources</classifier>
+ <scope>provided</scope>
+ </dependency>
+
+ <!-- Testing dependencies -->
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>4.8.2</version>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <configuration>
+ <source>1.6</source>
+ <target>1.6</target>
+ <showDeprecation>false</showDeprecation>
+ <showWarnings>true</showWarnings>
+ <optimize>true</optimize>
+ </configuration>
+ </plugin>
+ <plugin>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <skipTests>true</skipTests>
+ <failIfNoTests>false</failIfNoTests>
+ <trimStackTrace>false</trimStackTrace>
+ <systemProperties>
+ <property>
+ <name>log4j.output.dir</name>
+ <value>${project.build.directory}</value>
+ </property>
+ </systemProperties>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-release-plugin</artifactId>
+ <version>2.1</version>
+ <configuration>
+ <tagBase>https://svn.jboss.org/repos/picketlink/console/trunk/tags</tagBase>
+ <connectionUrl>scm:svn:https://svn.jboss.org/repos/picketlink/console/trunk</connectionUrl>
+ </configuration>
+ </plugin>
+ <plugin>
+ <artifactId>maven-source-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>attach-sources</id>
+ <goals>
+ <goal>jar</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+
+ <!-- Repositories -->
+ <repositories>
+ <repository>
+ <id>jboss-public-repository-group</id>
+ <name>JBoss Public Maven Repository Group</name>
+ <url>https://repository.jboss.org/nexus/content/groups/public/</url>
+ <layout>default</layout>
+ <releases>
+ <updatePolicy>never</updatePolicy>
+ </releases>
+ <snapshots>
+ <updatePolicy>never</updatePolicy>
+ </snapshots>
+ </repository>
+ </repositories>
+
+ <pluginRepositories>
+ <pluginRepository>
+ <id>jboss-public-repository-group</id>
+ <name>JBoss Public Maven Repository Group</name>
+ <url>https://repository.jboss.org/nexus/content/groups/public/</url>
+ <layout>default</layout>
+ <releases>
+ <updatePolicy>never</updatePolicy>
+ </releases>
+ <snapshots>
+ <updatePolicy>never</updatePolicy>
+ </snapshots>
+ </pluginRepository>
+ <pluginRepository>
+ <id>gwtplatform.plugin</id>
+ <name>Gwtplatform custom plugin repository</name>
+ <url>http://maven.gwt-platform.googlecode.com/hg/</url>
+ <layout>default</layout>
+ </pluginRepository>
+ </pluginRepositories>
+</project>
\ No newline at end of file
12 years, 9 months