AssertJ fluent assertions.
Rich and fluent assertions for testing.
Here is the list of declaration for assertj-core. If you use Maven you can use the following code to add the dependency for this POM file.
<dependency> <groupId>org.assertj</groupId> <artifactId>assertj-core</artifactId> <version>1.6.0</version> </dependency>
If you think this Maven repository POM file listing for assertj-core is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
The assertj-core-1.6.0 has 1 dependencies.The most popular ones are listed in the following table along with their categories and number of artifacts depending on them.
Category | Artifact | Depended By Count |
---|---|---|
Byte Code | cglib-nodep 2.2.2 Code generation library with shaded ASM dependecies | 60 |
The following plugins are used in the assertj-core-1.6.0.jar
The following packages are defined in the assertj-core-1.6.0.jar
org.assertj.core.api org.assertj.core.api.filter org.assertj.core.condition org.assertj.core.data org.assertj.core.description org.assertj.core.error org.assertj.core.groups org.assertj.core.internal org.assertj.core.internal.cglib.asm org.assertj.core.internal.cglib.core org.assertj.core.internal.cglib.proxy org.assertj.core.internal.cglib.reflect org.assertj.core.presentation org.assertj.core.util org.assertj.core.util.introspection org.assertj.core.util.xml
Here is the content of the POM file.
<?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/maven-v4_0_0.xsd "> <modelVersion>4.0.0</modelVersion> <artifactId>assertj-core</artifactId> <version>1.6.0</version> <packaging>bundle</packaging> <name>AssertJ fluent assertions</name> <description>Rich and fluent assertions for testing</description> <inceptionYear>2013</inceptionYear> <parent> <groupId>org.assertj</groupId> <artifactId>assertj-parent-pom</artifactId> <version>1.2.2</version> </parent> <mailingLists> <mailingList> <name>AssertJ Group</name> <post>http://groups.google.com/group/assertj</post> <subscribe>http://groups.google.com/group/assertj</subscribe> <unsubscribe>http://groups.google.com/group/assertj</unsubscribe> </mailingList> </mailingLists> <scm> <developerConnection>scm:git:git@github.com:joel-costigliola/assertj-core.git</developerConnection> <connection>scm:git:git@github.com:joel-costigliola/assertj-core.git</connection> <url>git@github.com:joel-costigliola/assertj-core</url> </scm> <issueManagement> <system>github</system> <url>https://github.com/joel-costigliola/assertj-core/issues</url> </issueManagement> <dependencies> <dependency> <groupId>org.mockito</groupId> <artifactId>mockito-all</artifactId> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <scope>provided</scope> </dependency> <dependency> <groupId>cglib</groupId> <artifactId>cglib-nodep</artifactId> <version>2.2.2</version> <optional>true</optional> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>org.apache.felix</groupId> <artifactId>maven-bundle-plugin</artifactId> <version>2.3.7</version> <extensions>true</extensions> <configuration> <instructions> <Export-Package> !org.assertj.core.internal, org.assertj.core.api.*, org.assertj.core.condition.* </Export-Package> <Bundle-RequiredExecutionEnvironment>JavaSE-1.6</Bundle-RequiredExecutionEnvironment> <_removeheaders>Bnd-LastModified</_removeheaders> </instructions> </configuration> </plugin> <!-- generate jacoco report --> <plugin> <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId> <executions> <execution> <id>check</id> <goals> <goal>check</goal> </goals> <configuration> <check> <classRatio>99</classRatio> </check> </configuration> </execution> </executions> </plugin> <!-- to get jacoco report we need to set argLine in surefire, without this snippet the jacoco argLine is lost --> <plugin> <artifactId>maven-surefire-plugin</artifactId> <configuration> <argLine>${argLine}</argLine> </configuration> </plugin> <plugin> <groupId>org.sonatype.plugins</groupId> <artifactId>jarjar-maven-plugin</artifactId> <version>1.8</version> <executions> <execution> <phase>package</phase> <goals> <goal>jarjar</goal> </goals> <configuration> <includes> <include>cglib:cglib-nodep</include> </includes> <rules> <rule> <pattern>net.sf.cglib.**</pattern> <result>org.assertj.core.internal.cglib.@1</result> </rule> <keep> <pattern>org.assertj.core.**</pattern> </keep> </rules> </configuration> </execution> </executions> </plugin> </plugins> </build> </project>