Skip to content

Commit

Permalink
security-idmconsole migrated
Browse files Browse the repository at this point in the history
  • Loading branch information
jharting committed Sep 29, 2011
1 parent 8c1e3b9 commit 4afc2d0
Show file tree
Hide file tree
Showing 2 changed files with 328 additions and 168 deletions.
258 changes: 191 additions & 67 deletions examples/idmconsole/pom.xml
Expand Up @@ -75,7 +75,6 @@
<dependency>
<groupId>org.jboss.seam.solder</groupId>
<artifactId>seam-solder</artifactId>
<version>3.1.0-SNAPSHOT</version>
</dependency>

<!-- CDI (JSR-299) -->
Expand Down Expand Up @@ -115,70 +114,60 @@
<scope>provided</scope>
</dependency>

<!-- Optional, but highly recommended. -->
<!-- Test dependencies -->
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
<version>5.10</version>
<groupId>org.jboss.arquillian.junit</groupId>
<artifactId>arquillian-junit-container</artifactId>
<scope>test</scope>
<classifier>jdk15</classifier>
</dependency>

<!-- Needed on JBoss AS as EL is out of date -->
<!-- Arquillian Drone support in Arquillian tests -->
<dependency>
<groupId>org.glassfish.web</groupId>
<artifactId>el-impl</artifactId>
<scope>runtime</scope>
<!-- FIXME this version should be in the Weld API BOM -->
<version>2.1.2-b04</version>
<exclusions>
<exclusion>
<groupId>javax.el</groupId>
<artifactId>el-api</artifactId>
</exclusion>
</exclusions>
<groupId>org.jboss.arquillian.extension</groupId>
<artifactId>arquillian-drone-impl</artifactId>
<scope>test</scope>
</dependency>

<!-- Functional test dependencies -->
<!-- Support for Selenium in Arquillian Drone -->
<dependency>
<groupId>org.seleniumhq.selenium.client-drivers</groupId>
<artifactId>selenium-java-client-driver</artifactId>
<groupId>org.jboss.arquillian.extension</groupId>
<artifactId>arquillian-drone-selenium</artifactId>
<scope>test</scope>
</dependency>

<!-- Support for Selenium Server in Arquillian Drone -->
<!-- Required only if you want Arquillian to control Selenium Server life cycle -->
<dependency>
<groupId>org.jboss.test</groupId>
<artifactId>richfaces-selenium</artifactId>
<groupId>org.jboss.arquillian.extension</groupId>
<artifactId>arquillian-drone-selenium-server</artifactId>
<scope>test</scope>
</dependency>

</dependencies>
<!-- Selenium -->
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-java</artifactId>
<scope>test</scope>
</dependency>

<!-- Selenium Server -->
<!-- Required only if you want Arquillian to control Selenium Server life cycle -->
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-server</artifactId>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.jboss.arquillian.ajocado</groupId>
<artifactId>arquillian-ajocado-junit</artifactId>
<type>pom</type>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<finalName>security-idmconsole</finalName>
<plugins>
<!-- Compiler plugin enforces Java 1.6 compatibility -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.6</source>
<target>1.6</target>
</configuration>
</plugin>

<!-- Configure the JBoss AS Maven deploy plugin -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>jboss-maven-plugin</artifactId>
<configuration>
<jbossHome>${jboss.home}</jbossHome>
<serverName>${jboss.domain}</serverName>
<fileNames>
<fileName>${project.build.directory}/${project.build.finalName}.${project.packaging}</fileName>
</fileNames>
</configuration>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
Expand All @@ -191,24 +180,39 @@

<profiles>
<profile>
<id>distribution</id>
<id>jbossas6</id>
<activation>
<property>
<name>release</name>
<name>arquillian</name>
<value>jbossas-managed-6</value>
</property>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<artifactId>maven-war-plugin</artifactId>
<configuration>
<webResources>
<resource>
<directory>src/main/resources-jbossas6</directory>
</resource>
</webResources>
</configuration>
</plugin>
</plugins>
</build>
</profile>

<profile>
<id>jboss6</id>
<id>jbossas7</id>
<activation>
<activeByDefault>true</activeByDefault>
<property>
<name>arquillian</name>
<value>jbossas-managed-7</value>
</property>
</activation>
<build>
<plugins>
<plugin>
Expand All @@ -217,7 +221,7 @@
<configuration>
<webResources>
<resource>
<directory>src/main/resources-jbossas6</directory>
<directory>src/main/resources-jbossas7</directory>
</resource>
</webResources>
</configuration>
Expand All @@ -227,12 +231,14 @@
</profile>

<profile>
<id>jboss7</id>
<id>glassfish</id>
<activation>
<activeByDefault>true</activeByDefault>
<property>
<name>arquillian</name>
<value>glassfish-remote-3.1</value>
</property>
</activation>
<dependencies>
<!-- temporary, until AS7-1314 gets fixed -->
<dependency>
<groupId>joda-time</groupId>
<artifactId>joda-time</artifactId>
Expand All @@ -246,7 +252,7 @@
<configuration>
<webResources>
<resource>
<directory>src/main/resources-jbossas7</directory>
<directory>src/main/resources-glassfish</directory>
</resource>
</webResources>
</configuration>
Expand All @@ -255,26 +261,144 @@
</build>
</profile>

<!-- Functional test profiles -->
<profile>
<id>glassfish</id>
<id>ftest</id>
<activation>
<property>
<name>arquillian</name>
</property>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<configuration>
<includes>
<include>**/*Test.java</include>
</includes>
</configuration>
<executions>
<execution>
<id>integration-test</id>
<phase>integration-test</phase>
<goals>
<goal>integration-test</goal>
</goals>
</execution>
<execution>
<id>verify</id>
<phase>verify</phase>
<goals>
<goal>verify</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>

<profile>
<id>jbossas-managed-6</id>
<activation>
<property>
<name>arquillian</name>
<value>jbossas-managed-6</value>
</property>
</activation>
<dependencies>
<dependency>
<groupId>joda-time</groupId>
<artifactId>joda-time</artifactId>
<groupId>org.jboss.seam.test</groupId>
<artifactId>jbossas-managed-6</artifactId>
<type>pom</type>
<scope>test</scope>
</dependency>
</dependencies>
</profile>

<profile>
<id>jbossas-remote-6</id>
<activation>
<property>
<name>arquillian</name>
<value>jbossas-remote-6</value>
</property>
</activation>
<dependencies>
<dependency>
<groupId>org.jboss.seam.test</groupId>
<artifactId>jbossas-remote-6</artifactId>
<type>pom</type>
<scope>test</scope>
</dependency>
</dependencies>
</profile>
<profile>
<id>jbossas-remote-7</id>
<activation>
<property>
<name>arquillian</name>
<value>jbossas-remote-7</value>
</property>
</activation>
<dependencies>
<dependency>
<groupId>org.jboss.seam.test</groupId>
<artifactId>jbossas-remote-7</artifactId>
<type>pom</type>
<scope>test</scope>
</dependency>
</dependencies>
</profile>
<profile>
<id>jbossas-managed-7</id>
<activation>
<property>
<name>arquillian</name>
<value>jbossas-managed-7</value>
</property>
</activation>
<dependencies>
<dependency>
<groupId>org.jboss.seam.test</groupId>
<artifactId>jbossas-managed-7</artifactId>
<type>pom</type>
<scope>test</scope>
</dependency>
</dependencies>
</profile>
<profile>
<id>glassfish-remote-3.1</id>
<activation>
<property>
<name>arquillian</name>
<value>glassfish-remote-3.1</value>
</property>
</activation>
<dependencies>
<dependency>
<groupId>org.jboss.seam.test</groupId>
<artifactId>glassfish-remote-3.1</artifactId>
<type>pom</type>
<scope>test</scope>
</dependency>
</dependencies>
</profile>

<profile>
<id>distribution</id>
<activation>
<property>
<name>release</name>
</property>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<configuration>
<webResources>
<resource>
<directory>src/main/resources-glassfish</directory>
</resource>
</webResources>
</configuration>
<artifactId>maven-assembly-plugin</artifactId>
</plugin>
</plugins>
</build>
Expand Down

0 comments on commit 4afc2d0

Please sign in to comment.