Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save tjayr/6740889 to your computer and use it in GitHub Desktop.

Select an option

Save tjayr/6740889 to your computer and use it in GitHub Desktop.

Revisions

  1. tjayr renamed this gist Sep 28, 2013. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  2. tjayr created this gist Sep 28, 2013.
    122 changes: 122 additions & 0 deletions pom.xml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,122 @@
    <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>
    <artifactId>test</artifactId>

    <properties>
    <jboss.version>7.2.0.Alpha1-redhat-4</jboss.version>
    </properties>

    <repositories>
    <repository>
    <id>jboss-eap</id>
    <url>http://maven.repository.redhat.com/techpreview/eap6/6.1.0.Alpha1/maven-repository/</url>
    <releases>
    <enabled>true</enabled>
    </releases>
    <snapshots>
    <enabled>false</enabled>
    </snapshots>
    </repository>
    </repositories>

    <dependencies>
    <dependency>
    <groupId>org.jboss.arquillian.junit</groupId>
    <artifactId>arquillian-junit-container</artifactId>
    <version>1.1.1.Final</version>
    <scope>test</scope>
    </dependency>

    <dependency>
    <groupId>org.jboss.shrinkwrap.resolver</groupId>
    <artifactId>shrinkwrap-resolver-impl-maven</artifactId>
    <version>2.0.0</version>
    </dependency>

    </dependencies>
    <profiles>

    <profile>
    <id>jboss</id>
    <activation>
    <activeByDefault>false</activeByDefault>
    </activation>
    <properties>
    <jboss.home>target/jboss-as-dist-${jboss.version}</jboss.home>
    </properties>
    <!-- Profile dependencies -->

    <dependencies>
    <dependency>
    <groupId>org.jboss.as</groupId>
    <artifactId>jboss-as-arquillian-container-managed</artifactId>
    <version>7.1.3.Final</version>
    <scope>test</scope>
    </dependency>
    <dependency>
    <groupId>org.jboss.spec</groupId>
    <artifactId>jboss-javaee-6.0</artifactId>
    <version>1.0.0.Final</version>
    <type>pom</type>
    <scope>provided</scope>
    </dependency>
    <dependency>
    <groupId>org.jboss.arquillian.protocol</groupId>
    <artifactId>arquillian-protocol-servlet</artifactId>
    <version>1.1.1.Final</version>
    <scope>test</scope>
    </dependency>
    </dependencies>
    <build>
    <plugins>
    <plugin>
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-dependency-plugin</artifactId>
    <executions>
    <execution>
    <id>unpack</id>
    <phase>generate-sources</phase>
    <goals>
    <goal>unpack</goal>
    </goals>
    </execution>
    </executions>
    <configuration>
    <ignoreDirect>false</ignoreDirect>
    <artifactItems>
    <artifactItem>
    <groupId>org.jboss.as</groupId>
    <artifactId>jboss-as-dist</artifactId>
    <version>${jboss.version}</version>
    <type>zip</type>
    <overWrite>false</overWrite>
    <outputDirectory>target/</outputDirectory>
    </artifactItem>
    </artifactItems>
    </configuration>
    </plugin>
    </plugins>
    </build>
    </profile>

    </profiles>

    </project>