Skip to content

Commit

Permalink
Added BOM module with Arquillian Testing dependencies (#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
radcortez authored Nov 23, 2022
1 parent 6aaa656 commit 78d0430
Show file tree
Hide file tree
Showing 5 changed files with 191 additions and 6 deletions.
65 changes: 65 additions & 0 deletions bom/tck/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
<?xml version="1.0" encoding="UTF-8"?>
<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>
<groupId>io.smallrye.testing</groupId>
<artifactId>smallrye-testing-parent</artifactId>
<version>1.0.1-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>

<packaging>pom</packaging>
<artifactId>smallrye-testing-bom-tck</artifactId>
<name>SmallRye Testing: BOM TCK</name>

<properties>
<version.arquillian>1.6.0.Final</version.arquillian>
<version.arquillian.weld-embedded>2.1.0.Final</version.arquillian.weld-embedded>
<version.arquillian.wildfly>3.0.1.Final</version.arquillian.wildfly>
</properties>

<dependencyManagement>
<dependencies>
<dependency>
<groupId>io.smallrye.testing</groupId>
<artifactId>smallrye-testing-bom</artifactId>
<version>${project.version}</version>
<scope>import</scope>
<type>pom</type>
</dependency>

<!-- Arquillian -->
<dependency>
<groupId>org.jboss.arquillian</groupId>
<artifactId>arquillian-bom</artifactId>
<version>${version.arquillian}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>org.jboss.arquillian.testng</groupId>
<artifactId>arquillian-testng-container</artifactId>
<version>${version.arquillian}</version>
<scope>test</scope>
</dependency>

<!-- Arquillian with Weld -->
<dependency>
<groupId>org.jboss.arquillian.container</groupId>
<artifactId>arquillian-weld-embedded</artifactId>
<version>${version.arquillian.weld-embedded}</version>
<scope>test</scope>
</dependency>

<!-- Arquillian with Wildfly Managed -->
<dependency>
<groupId>org.wildfly.arquillian</groupId>
<artifactId>wildfly-arquillian-container-managed</artifactId>
<version>${version.arquillian.wildfly}</version>
<scope>test</scope>
</dependency>
</dependencies>
</dependencyManagement>

</project>
120 changes: 120 additions & 0 deletions bom/test/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,120 @@
<?xml version="1.0" encoding="UTF-8"?>
<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>
<groupId>io.smallrye.testing</groupId>
<artifactId>smallrye-testing-parent</artifactId>
<version>1.0.1-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>

<packaging>pom</packaging>
<artifactId>smallrye-testing-bom</artifactId>
<name>SmallRye Testing: BOM</name>

<properties>
<version.junit5>5.9.1</version.junit5>
<version.testng>6.14.3</version.testng>
<version.assertj>3.23.1</version.assertj>
<version.awaitility>4.2.0</version.awaitility>

<version.rest-assured>4.5.1</version.rest-assured>
<version.testcontainers>1.17.6</version.testcontainers>

<version.weld.api>3.1.Final</version.weld.api>
<version.weld.core>3.1.7.SP1</version.weld.core>
<version.weld.junit>2.0.2.Final</version.weld.junit>
</properties>

<dependencyManagement>
<dependencies>
<dependency>
<groupId>io.smallrye.testing</groupId>
<artifactId>smallrye-testing-utilities</artifactId>
<version>${project.version}</version>
<scope>test</scope>
</dependency>

<!-- JUnit -->
<dependency>
<groupId>org.junit</groupId>
<artifactId>junit-bom</artifactId>
<version>${version.junit5}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId>
<version>${version.junit5}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.vintage</groupId>
<artifactId>junit-vintage-engine</artifactId>
<version>${version.junit5}</version>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
<version>${version.testng}</version>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
<version>${version.assertj}</version>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.awaitility</groupId>
<artifactId>awaitility</artifactId>
<version>${version.awaitility}</version>
<scope>test</scope>
</dependency>

<dependency>
<groupId>io.rest-assured</groupId>
<artifactId>rest-assured</artifactId>
<version>${version.rest-assured}</version>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>testcontainers</artifactId>
<version>${version.testcontainers}</version>
<scope>test</scope>
</dependency>

<!-- CDI - Weld -->
<dependency>
<groupId>org.jboss.weld</groupId>
<artifactId>weld-spi</artifactId>
<version>${version.weld.api}</version>
</dependency>
<dependency>
<groupId>org.jboss.weld</groupId>
<artifactId>weld-api</artifactId>
<version>${version.weld.api}</version>
</dependency>
<dependency>
<groupId>org.jboss.weld</groupId>
<artifactId>weld-core-impl</artifactId>
<version>${version.weld.core}</version>
</dependency>
<dependency>
<groupId>org.jboss.weld</groupId>
<artifactId>weld-junit5</artifactId>
<version>${version.weld.junit}</version>
<scope>test</scope>
</dependency>
</dependencies>
</dependencyManagement>

</project>
2 changes: 1 addition & 1 deletion coverage/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<artifactId>smallrye-testing-coverage</artifactId>
<packaging>pom</packaging>

<name>SmallRye: Testing Coverage</name>
<name>SmallRye Testing: Coverage</name>

<dependencies>
<dependency>
Expand Down
7 changes: 4 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>

<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>

Expand All @@ -14,11 +13,11 @@
<version>1.0.1-SNAPSHOT</version>

<packaging>pom</packaging>
<name>SmallRye: Testing Parent</name>
<name>SmallRye Testing: Parent</name>
<url>http://smallrye.io</url>

<properties>
<version.smallrye.common>1.13.0</version.smallrye.common>
<version.smallrye.common>1.13.2</version.smallrye.common>

<version.jboss.logmanager>2.1.19.Final</version.jboss.logmanager>
</properties>
Expand All @@ -44,6 +43,8 @@

<modules>
<module>utilities</module>
<module>bom/test</module>
<module>bom/tck</module>
</modules>

<dependencyManagement>
Expand Down
3 changes: 1 addition & 2 deletions utilities/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@
</parent>

<artifactId>smallrye-testing-utilities</artifactId>

<name>SmallRye: Testing Utilities</name>
<name>SmallRye Testing: Utilities</name>

<dependencies>
<dependency>
Expand Down

0 comments on commit 78d0430

Please sign in to comment.